---
title: "Wait for Run output"
method: GET
path: "/threads/{thread_id}/runs/{run_id}/wait"
tags: ["Runs"]
---

# Wait for Run output

`GET /threads/{thread_id}/runs/{run_id}/wait`

Wait for a run to finish, return the final output. If the run already finished, returns its final output immediately.

## Path parameters

- `thread_id` string, uuid, required — The ID of the thread.
- `run_id` string, uuid, required — The ID of the run.

## Response `200`

Success

- unknown

## Other responses

- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.net/xpert-ai/apis/agent-protocol.md) · [All operations](https://skmtc.net/xpert-ai/apis/agent-protocol/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xpert-ai/agent-protocol/versions/ac9dbe16ea2f/schema)
