---
title: "Get Thread By ID"
method: GET
path: "/v1/omni-ai/threads/{thread_id}"
tags: ["Omni AI"]
---

# Get Thread By ID

`GET /v1/omni-ai/threads/{thread_id}`

Get a specific thread.

Returns metadata (title, timestamps) for a single thread. Does not include
messages — use `GET /omni-ai/threads/{thread_id}/messages` for conversation
history.

## Path parameters

- `thread_id` string, uuid, required

## Query parameters

- `account_id` integer, required

## Response `200`

Thread metadata

- object
  - `error` ApiError — A direct mapping of tonic::Status, for use in HTTP responses.
    - `code` integer, required — The error code is used to identify the nature of the error. It corresponds to an HTTP status code.
    - `details` object[]
    - `message` string, required — A human-readable message providing more details about the error.
  - `metadata` ResponseMetadata, required — Metadata for the response. This will always contain a request ID which can be used to identify the request to Clear Street for tracing, and optionally may include pagination data.
    - `next_page_token` string, byte, nullable — Base64URL-encoded pagination token
    - `page_number` integer, nullable — Pagination. Included if this was a GET (list) response
    - `previous_page_token` string, byte, nullable — Base64URL-encoded pagination token
    - `request_id` string, required — A unique ID for this request, generated upon ingestion of the request.
    - `total_items` integer, nullable — Total number of items available (not just in this page).
    - `total_pages` integer, nullable — Total number of pages available.
  - `data` Thread, required — Thread metadata returned by list/get thread endpoints.
    - `created_at` string, required
    - `id` string, uuid, required
    - `title` string, required
    - `updated_at` string, required

## Other responses

- `400` — Invalid query parameters
- `403` — Forbidden
- `404` — Thread not found or not owned by this user
- `500` — Internal server error

---

[API](https://skmtc.net/clear-street/apis/clear-street-trading-api.md) · [All operations](https://skmtc.net/clear-street/apis/clear-street-trading-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clear-street/clear-street-trading-api/versions/80e6fb2644e0/schema)
