List recent runs for an agent
Returns Temporal-indexed run history for the agent. Supports status / timeframe / search filters and AIP-158 page-token pagination via the underlying Temporal visibility API. Requires agents:invoke.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Numeric agent id.
42
Query Parameters
Filter by run status (running / awaiting_human / completed / error / cancelled / all_executions).
Filter by run timeframe (e.g. last_hour / last_day / last_week).
Approval scope filter (mine / all). Only meaningful with status=awaiting_human.
Case-insensitive substring filter on the parent agent name.
Max items per page. Defaults to 25, clamped to 100.
1 <= x <= 100Opaque page token from a previous response's nextPageToken. Omit for the first page. AIP-158.
Response
Page of run summaries (Temporal-ordered, descending start time).
Per-status counts (all_executions / running / awaiting_human / error / completed).
{
"all_executions": 100,
"running": 1,
"awaiting_human": 0,
"error": 2,
"completed": 97
}Opaque token for the next page; null when this was the last page. Pass as pageToken on the next request. AIP-158.