v57

latestOpenAPI 3.1.0Proprietaryraw.githubusercontent.com2026-07-2161198428.4 KB
Omni AI

Get Threads

List conversation threads.

Returns thread metadata ordered by most recently created first. Use page_size and page_token for pagination. Thread objects contain only metadata (title, timestamps) — use the messages endpoint for conversation history.

get/v1/omni-ai/threads

Query parameters

account_idinteger required

Account ID for the request

page_sizeinteger

The number of items to return per page. Only used when page_token is not provided.

page_tokenstring byte

Base64URL-encoded pagination token

Token for retrieving the next or previous page of results. Contains encoded pagination state; when provided, page_size is ignored.

Response

Paginated list of thread metadata

Example response

{
  "error": {
    "code": 400,
    "message": "Order quantity must be greater than zero"
  }
}