---
title: "Await Task"
method: GET
path: "/api/py/a2a/tasks/{task_id}/await"
tags: ["internal-a2a"]
---

# Await Task

`GET /api/py/a2a/tasks/{task_id}/await`

## Path parameters

- `task_id` string, required

## Query parameters

- `timeout_s` integer

## Response `200`

Successful Response

- A2ATaskAwaitResponse
  - `task_id` string, required
  - `status` string, required
  - `text` string, nullable
  - `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)
