List runs
Newest first. Search run ID, name, or application; filter by status, agent, user, and time range.
/api/v2/runsAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
searchstringCase-insensitive substring search across run ID, name, and application.
statusstringrunningsucceededfailedcancelledagentIdstringuserIdstringenvironmentIdstring<uuid>Filter to one environment. API keys are already environment-scoped; this is for the session-authed dashboard viewing across environments.
startedAfterstring<date-time>startedBeforestring<date-time>limitintegeroffsetintegerX-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Runs, newest first.
successbooleanrequiredtruedataRun[]requiredShow propertiesHide properties
RunidstringrequiredPublic run id (run_xxx).
agentIdstring | nullagentVersionstring | nullenvironmentIdstring<uuid>requirednamestring | nullrequiredstatusstringrequiredrunningsucceededfailedcancelleduserIdstring | nullapplicationstring | nullinputany | nulloutputany | nullerrorobject | nulltokensinteger | nullcostnumber | nulltagsstring[] | nullmetadataobject | nullstartedAtstring<date-time>requiredendedAtstring<date-time> | nulldurationMsinteger | nullpaginationOffsetPaginationShow propertiesHide properties
totalintegerrequiredpageintegerrequiredlimitintegerrequiredtotalPagesintegerrequiredhasMorebooleanrequiredBad Request - Invalid input data
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Unauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Authenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.

