Missions

Update run

Updates a run's status and/or result and returns the updated run object. Typically used by executing agents to report progress or record the final outcome.

patch/ai/missions/{mission_id}/runs/{run_id}

Path parameters

mission_idstring uuid required

Unique identifier of the mission.

run_idstring uuid required

Unique identifier of the run.

Request body

errorstring
metadataobject
result_payloadobject
result_summarystring
status'pending' | 'running' | 'paused' | 'succeeded' | 'failed' | 'cancelled'

Response

Successful Response