---
title: "Get Run Result"
method: GET
path: "/v1/task-agents/{agent_id}/runs/{run_id}/result"
tags: ["Web Search Agents (public)"]
deprecated: true
---

# Get Run Result

`GET /v1/task-agents/{agent_id}/runs/{run_id}/result`

## Request

- Base URL: `https://sdk.nimbleway.com`
- URL: `https://sdk.nimbleway.com/v1/task-agents/{agent_id}/runs/{run_id}/result`
- Auth: none declared

> **Deprecated.**

Fetch the result for a terminal run on this instance.

Mirrors the previous flat ``GET /tasks/runs/:run_id/result`` semantics:
- 404 when the run doesn't belong to the agent.
- 408 when the run is still active.
- 422 (with TaskRunFailedResult body) when the run failed or was cancelled.
- 200 (with TaskRunResult body) on success.

## Path parameters

- `agent_id` string, uuid, required
- `run_id` string, required

## Response `200`

Successful Response

- union
  - TaskRunResultPublicV1
    - `output` union, required: Output from the completed task.
      - TaskRunTextOutputPublicV1
        - `content` string, required: The final prose answer.
        - `trust` TextRunTrust, required: Trust metadata for a prose answer: run-level confidence plus per-claim citations.
          - `claims` TextClaimTrust[], required: Per-claim trust, keyed by callout markers in the answer text.
            - `callout` integer, required: Callout marker number referencing this claim in the answer text.
            - `citations` TrustCitation[], required: Citations backing this claim.
              - …
            - `confidence` 'high' | 'medium' | 'low' | 'pre_existing', required
            - `reasoning` string, required: Why this confidence level was assigned.
          - `confidence` 'high' | 'medium' | 'low' | 'pre_existing', required
          - `reasoning` string, required: Why this confidence level was assigned.
          - `sources` TrustSource[], required: Sources consulted while producing the answer.
            - `extract_template_name` string, nullable: Extract template used to read the source, when one was used.
            - `source_category` 'official' | 'news' | 'social' | 'academic' | 'aggregator' | 'other': What *kind* of source this is (classified by the compress LLM), independent of TrustSourceType (how authoritative it is for a specific claim). Deliberately uses "official" rather than "primary" so the two axes can never collide. Also doubles as the sub-question's ``source_intent`` (what kind of source a question *needs*) — the two concepts overlap enough that a single enum lets ``classify_source_importance`` compare "what we got" against "what we asked for" directly.
            - `source_intent` 'official' | 'news' | 'social' | 'academic' | 'aggregator' | 'other': What *kind* of source this is (classified by the compress LLM), independent of TrustSourceType (how authoritative it is for a specific claim). Deliberately uses "official" rather than "primary" so the two axes can never collide. Also doubles as the sub-question's ``source_intent`` (what kind of source a question *needs*) — the two concepts overlap enough that a single enum lets ``classify_source_importance`` compare "what we got" against "what we asked for" directly.
            - `title` string, nullable: Title of the source page.
            - `type` 'primary' | 'secondary', required
            - `url` string, required: URL of the source page.
        - `type` 'text': Output content type.
      - TaskRunJsonOutputPublicV1
        - `content` union, required: The final structured output.
          - object
          - unknown[]
            - unknown
        - `trust` JsonRunTrust, required: Trust metadata for a structured answer: run-level confidence plus per-value citations.
          - `claims` JsonClaimTrust[], required: Per-value trust, keyed by JSON path in the structured output.
            - `citations` TrustCitation[], required: Citations backing this value.
              - …
            - `confidence` 'high' | 'medium' | 'low' | 'pre_existing', required
            - `path` string, required: JSON path of the value in the structured output this claim refers to.
            - `reasoning` string, required: Why this confidence level was assigned.
          - `confidence` 'high' | 'medium' | 'low' | 'pre_existing', required
          - `reasoning` string, required: Why this confidence level was assigned.
          - `sources` TrustSource[], required: Sources consulted while producing the answer.
            - `extract_template_name` string, nullable: Extract template used to read the source, when one was used.
            - `source_category` 'official' | 'news' | 'social' | 'academic' | 'aggregator' | 'other': What *kind* of source this is (classified by the compress LLM), independent of TrustSourceType (how authoritative it is for a specific claim). Deliberately uses "official" rather than "primary" so the two axes can never collide. Also doubles as the sub-question's ``source_intent`` (what kind of source a question *needs*) — the two concepts overlap enough that a single enum lets ``classify_source_importance`` compare "what we got" against "what we asked for" directly.
            - `source_intent` 'official' | 'news' | 'social' | 'academic' | 'aggregator' | 'other': What *kind* of source this is (classified by the compress LLM), independent of TrustSourceType (how authoritative it is for a specific claim). Deliberately uses "official" rather than "primary" so the two axes can never collide. Also doubles as the sub-question's ``source_intent`` (what kind of source a question *needs*) — the two concepts overlap enough that a single enum lets ``classify_source_importance`` compare "what we got" against "what we asked for" directly.
            - `title` string, nullable: Title of the source page.
            - `type` 'primary' | 'secondary', required
            - `url` string, required: URL of the source page.
        - `type` 'json': Output content type.
    - `run` TaskRunResponsePublicV1, required
      - `completed_at` string, date-time, nullable: When the run completed.
      - `created_at` string, date-time, required: When the run was created.
      - `effort` 'low' | 'medium' | 'high' | 'x-high' | '5x-high' | 'max', required: Canonical effort tier names for the research graph.
      - `error` TaskRunErrorPublicV1
        - `message` string, required: Human-readable error description.
        - `ref_id` string, required: Reference ID (equals the run id).
      - `id` string, required: Run identifier, format "task_run_{uuid}".
      - `interaction_id` string, required: Interaction ID.
      - `is_active` boolean, required: True while status is 'queued' or 'running'.
      - `prompt` string, nullable: Prompt submitted for the run.
      - `started_at` string, date-time, nullable: When the run started executing.
      - `status` 'queued' | 'running' | 'completed' | 'failed' | 'cancelled', required: Lowercase status values used in API responses (distinct from the DB-level TaskRunStatus enum).
      - `web_search_agent_id` string, required: Web Search Agent instance this run belongs to.
  - TaskRunFailedResultPublicV1
    - `error` TaskRunErrorPublicV1, required
      - `message` string, required: Human-readable error description.
      - `ref_id` string, required: Reference ID (equals the run id).
    - `run` TaskRunResponsePublicV1, required
      - `completed_at` string, date-time, nullable: When the run completed.
      - `created_at` string, date-time, required: When the run was created.
      - `effort` 'low' | 'medium' | 'high' | 'x-high' | '5x-high' | 'max', required: Canonical effort tier names for the research graph.
      - `error` TaskRunErrorPublicV1
        - `message` string, required: Human-readable error description.
        - `ref_id` string, required: Reference ID (equals the run id).
      - `id` string, required: Run identifier, format "task_run_{uuid}".
      - `interaction_id` string, required: Interaction ID.
      - `is_active` boolean, required: True while status is 'queued' or 'running'.
      - `prompt` string, nullable: Prompt submitted for the run.
      - `started_at` string, date-time, nullable: When the run started executing.
      - `status` 'queued' | 'running' | 'completed' | 'failed' | 'cancelled', required: Lowercase status values used in API responses (distinct from the DB-level TaskRunStatus enum).
      - `web_search_agent_id` string, required: Web Search Agent instance this run belongs to.

## Other responses

- `422`: Validation Error

## Changes

- **2026-08-17** `22c2a2291146`: 2 warning
  - added the new `5x-high` enum value to the `anyOf[subschema #1: TaskRunResultPublicV1]/run/effort` response property for the response status `200`
  - added the new `5x-high` enum value to the `anyOf[subschema #2: TaskRunFailedResultPublicV1]/run/effort` response property for the response status `200`
- **2026-07-20** `d4e4f170f4f4`: 4 info
  - api operation id `get_run_result_api_v2_public_web_search_agents__agent_id__runs__run_id__result_get` removed and replaced with `get_run_result_public_v1_api_v1_public_web_search_agents__agent_id__runs__run_id__result_get`
  - endpoint deprecated
  - added `#/components/schemas/TaskRunResultPublicV1, #/components/schemas/TaskRunFailedResultPublicV1` to the response body `anyOf` list for the response status `200`
  - removed `#/components/schemas/TaskRunResult, #/components/schemas/TaskRunFailedResult` from the response body `anyOf` list for the response status `200`
- **2026-07-13** `e8a97dc9fce2`: 1 breaking, 1 warning, 5 info
  - for the `path` request parameter `agent_id`, the format changed from no format to `uuid`
  - deleted the `cookie` request parameter `token`
  - api operation id `get_run_result_v2_web_search_agents__agent_id__runs__run_id__result_get` removed and replaced with `get_run_result_api_v2_public_web_search_agents__agent_id__runs__run_id__result_get`
  - api tag `Web Search Agents (public)` added
  - …3 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/nimbleway/apis/api-gateway/changes/v1/task-agents/:agent_id/runs/:run_id/result/get.md)

---

[API](https://skmtc.dev/nimbleway/apis/api-gateway.md) - [All operations](https://skmtc.dev/nimbleway/apis/api-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/nimbleway/apis/api-gateway/revisions/167c81181daa?raw)
