DocumentationGet Output

Get output

GET /api/v1/tasks/runs/{run_id}/output - Get run output.

Get output

GET /api/v1/tasks/runs/{run_id}/output

Returns 202 if the run is still active.

Response (200) - terminal state

json
{
  "run_id": "run_abc123...",
  "status": "succeeded",
  "output_text": "The answer is 4.",
  "output_structured": null,
  "error": null
}

Response (202) - still running

json
{
  "run_id": "run_abc123...",
  "status": "running"
}