agent

Get agent run result

Get the terminal result and error state for an asynchronous agent run.

Required scope: `inference:run`

get/agent/runs/{run_id}/result

Path parameters

run_idstring required

Query parameters

principal_idstring

Scope by principal. If omitted, only a run with no principal (principal_id is null) is addressed; a run whose principal differs yields 404.

Response

Agent run result

resultobject nullable
errorobject nullable

Changes