---
title: "Get Run Route"
method: GET
path: "/api/threads/{thread_id}/runs/{run_id}"
tags: ["run"]
---

# Get Run Route

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

Get a run by ID.

## Path parameters

- `run_id` string, uuid, required
- `thread_id` string, uuid, required

## Response `200`

Successful Response

- Run
  - `model` 'gpt-4o'
  - `instructions` string, nullable
  - `additional_instructions` string, nullable
  - `knowledge_base_id` string, uuid, nullable
  - `thread_id` string, uuid, required
  - `assistant_id` string, uuid, required
  - `id` string, uuid, required
  - `status` 'pending' | 'in_progress' | 'completed' | 'failed' | 'canceled' | 'expired', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable
  - `usage` RunUsage
    - `completion_tokens` integer, required
    - `prompt_tokens` integer, required
    - `total_tokens` integer, required

## Other responses

- `422` — Validation Error

## Changes

- **2024-11-01** `36e7c2cdfead` — 2 warning, 1 info
  - removed the optional property `required_action` from the response with the `200` status
  - removed the optional property `tools` from the response with the `200` status
  - removed the `requires_action` enum value from the `status` response property for the response status `200`
- **2024-10-17** `855f9ee2331d` — 2 info
  - added the optional property `required_action` to the response with the `200` status
  - added the optional property `tools/anyOf[subschema #1]/items/function/parameters/anyOf[subschema #1: FunctionParameters]/additionalProperties` to the response with the `200` status
- **2024-10-16** `ef07edf2d4ac` — 1 warning, 1 info
  - added the new `requires_action` enum value to the `status` response property for the response status `200`
  - added the optional property `tools` to the response with the `200` status

[Change history](https://skmtc.dev/cleanlab/apis/agility/changes/api/threads/:thread_id/runs/:run_id/get.md)

---

[API](https://skmtc.dev/cleanlab/apis/agility.md) · [All operations](https://skmtc.dev/cleanlab/apis/agility/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleanlab/agility/revisions/36e7c2cdfead/schema)
