Retrieve an agent run
Authorizations
Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.
Headers
Optional external end-user identifier forwarded by the API gateway.
Response
Run found.
agent.run The agent configuration version this run executed against. Null for runs created before versioning.
x >= 1waiting means the run is held for one of the agent's max_concurrent_runs slots and has not been sent to the model; it can be cancelled. Terminal outcomes stay distinct: cancelled is caller-requested; incomplete means a limit or interruption stopped the run. gateway_response.incomplete_details records the reason, including max_tokens or max_tool_calls. Stored failed rows with one of these gateway outcomes are serialized with the gateway outcome, retaining any connector error and completion timestamp.
waiting, queued, submitting, completed, failed, cancelled, incomplete Arbitrary JSON value.
Arbitrary JSON value.
Arbitrary JSON value.
Arbitrary JSON value.