Skip to main content
GET
/
api
/
v1
/
runs
/
threads
/
{thread_id}
Error
A valid request URL is required to generate request examples
{
  "thread_id": "<string>",
  "previews": {}
}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Path Parameters

thread_id
string
required

Query Parameters

session_id
string<uuid>
required
select
enum<string>[] | null

Enum for thread messages format types.

Available options:
all_messages,
human_ai_pairs,
first_human_last_ai
variables
string[] | null

Response

Successful Response

Response to preview a thread.

thread_id
string
required
previews
Previews · object
required