GET /api/meta/events
List events
Returns a team's events after the event after, oldest first, for up to 30 days back. Poll with next_cursor as after, or stream instead. Needs events:read for an agent.
| Parameter | Type | Description |
|---|---|---|
team_idin query | string | The team's ID. An agent token reads its own team's stream if you don't say. |
afterin query | string | The ID of the last event that you have. The start of the stream if you don't say. |
limitin query | integer | The most items in the page, from 1 to 100. 50 if you don't say. |
Responses
200A page of events.
| Field | Type | Description |
|---|---|---|
data | array of object | |
has_more | boolean | Whether more events follow now. |
next_cursor | string or null | The ID of the last event of the page, for |
{
"data": [
{
"created_at": "2026-10-22T09:00:00.000Z",
"data": {
"agent_id": "agent_1BbA6sXxyUWHYvKqN5T3dM",
"expires_at": "2026-10-23T09:00:00Z",
"name": "reviewer",
"scopes": [
"current:*"
],
"user_id": "user_1BbA6sXxyUWHYvKqN5T3dM"
},
"id": "evt_1BbA6sXxyUWHYvKqN5T3dM",
"team_id": "team_1BbA6sXxyUWHYvKqN5T3dM",
"type": "motor.agent.started"
}
],
"has_more": false,
"next_cursor": "evt_1BbA6sXxyUWHYvKqN5T3dM"
}
401The credential is missing, unknown, revoked, or expired, or a bound session key has no valid DPoP proof.
{
"error": {
"code": "unauthorized",
"message": "The credential is unknown, revoked, or expired.",
"retryable": false
}
}
403The credential can't do this.
{
"error": {
"code": "forbidden",
"message": "Your credential can't do this.",
"retryable": false
}
}
404There is no such resource, or the credential can't see it.
{
"error": {
"code": "not_found",
"message": "There is no such resource, or you can't see it.",
"retryable": false
}
}
422A field or a parameter has a value that Motor can't accept.
{
"error": {
"code": "invalid_field",
"message": "`name` is required.",
"retryable": false
}
}