---
title: "Await Agent Run"
method: GET
path: "/v2/agents/{task_id}/await"
tags: ["agent-runs"]
---

# Await Agent Run

`GET /v2/agents/{task_id}/await`

## Path parameters

- `task_id` string, required

## Query parameters

- `timeout_s` integer

## Response `200`

Successful Response

- AgentRunAwaitResponse
  - `task_id` string, required — Opaque agent run identifier.
  - `status` string, required
  - `text` string, nullable — Markdown agent output with usable, permission-checked app links.
  - `format` 'markdown'
  - `output_truncated` boolean — Whether text omits characters from the complete agent output.
  - `output_char_count` integer, nullable — Character count of the complete agent output before truncation.
  - `references` PublicAgentRunReference[]
    - `uri` string, required
    - `entity_type` string, required
    - `entity_id` string, required
    - `url` string, required
  - `references_truncated` boolean — Whether references omits explicit references beyond its limit.
  - `error_code` string, nullable
  - `error_message` string, nullable
  - `pending_approvals` AgentRunPendingApproval[]
    - `tool_call_id` string, required
    - `tool_name` string, required
    - `tool_args_json` string, required
    - `requested_at` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/getauctor/apis/fastapi.md) · [All operations](https://skmtc.dev/getauctor/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getauctor/fastapi/revisions/aeb6faa3b8f0/schema)
