v1

latestOpenAPI 3.1.02026-07-2658119246.0 KB
Public API

Get Agent Run Result

Fetch the output of a completed run. The output is type: "text" (a prose answer) or type: "json" (structured data matching the output schema), plus trust metadata with per-claim citations for the answer.

While the run is still queued or running this endpoint returns 409; if the run failed or was cancelled it returns 422 with the run and error details.

get/v2/agents/{agent_id}/runs/{run_id}/result

Path parameters

agent_idstring uuid required

Web Search Agent ID, format wsa_<uuid>.

run_idstring required

Run ID, format task_run_<uuid>.

Response

Run completed; the output is returned.

Example response

{
  "output": {
    "trust": {
      "claims": [
        {
          "citations": [
            {
              "excerpts": [
                "Acme raised a $30M Series B in June 2026."
              ],
              "url": "https://www.linkedin.com/company/acme"
            }
          ]
        }
      ]
    }
  },
  "run": {
    "id": "task_run_c0ffee00-0000-4000-8000-000000000000",
    "web_search_agent_id": "wsa_2af5b0e2-58b8-4b60-a1a4-9e57e4d33f00"
  }
}