API reference · Playground
Read a conversation and its messages
GET/api/conversations/{id}Signed in sessionNo key
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | integer | The conversation id. |
Answer 200
The thread.
| Field | Type | What it is |
|---|---|---|
| conversation | Conversation | |
| conversation. | integer | |
| conversation. | string | |
| conversation. | string | |
| conversation. | integer | |
| conversation. | integer | |
| messages | array of ChatMessageRow | |
| messages[] | integer | |
| messages[] | integer | |
| messages[] | string | One of "user", "assistant". |
| messages[] | string | |
| messages[] | string or null | |
| messages[] | integer |
Errors
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.