Skip to main content
GET
Load messages for an existing chat session

Authorizations

Authorization
string
header
required

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

Path Parameters

chat_id
string
required

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)[]
required
createdAt
string<date-time> | null
required