Get an automation run's result
Returns where one automation run stands and, once it is finished, its verdict: passed, completed, failed, needs_attention, cancelled or error, with a reason code, the graded outcome, the structured JSON result, the agent’s final message and the files its session saved. Pass waitSeconds to hold the request while the run is not finished, up to 20 seconds; repeat the request until state is finished. A finished run reads running again when its session continues: when someone acts on it, or on its own when a browser hand-off (awaiting_human) passes its deadline or credits are bought for a session paused out of credit. A run of a Slack trigger that continues a thread shares its session with the thread’s other runs and has no result of its own: it is refused with automation_run_session_shared.
Authorizations
Headers
Query Parameters
Response
Where an automation run stands and, once it is finished, its verdict, outcome, structured result, final message and saved files.
Where an automation run stands and, once it is finished, its verdict, outcome, structured result, final message and saved files.
How the run ended. Present only when state is finished. passed: the outcome was graded and met. completed: the session finished and nothing graded it. failed: the outcome was graded and not met. needs_attention: the session stopped where only a person can carry it on. cancelled: the session was cancelled. error: the run or session failed, the outcome could not be graded, or the declared result file is missing or not valid JSON.
passed, completed, failed, needs_attention, cancelled, error