Skip to main content
GET
Load messages for a chat, newest-first window returned oldest-first

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chat_id
string<uuid>
required

Query Parameters

before
string<date-time> | null
limit
integer
default:50
Required range: 1 <= x <= 100

Response

Successful Response

id
string
required
role
enum<string>
required
Available options:
user,
assistant,
system
parts
(TextPart · object | ReasoningPart · object | ToolInvocationPart · object | FilePart · object | SourceUrlPart · object | CortexDataTablePart · object | CortexDataChartPart · object | CortexDataSuggestionsPart · object)[]
required
createdAt
string<date-time> | null
required
feedback
enum<string> | null
required
Available options:
positive,
negative
feedbackMessage
string | null
required