Skip to main content
GET

Path Parameters

session_id
string
required
The session ID from a chat response

Query Parameters

limit
integer
default:"50"
Maximum number of messages to return

Response 200

Response Fields

session_id
string
Session identifier
messages
array
Chronologically ordered message list
messages[].role
string
user or assistant
messages[].content
string
Message text
messages[].timestamp
string
ISO 8601 timestamp
messages[].usage
object
Token usage (assistant messages only)

Errors

Authorizations

Authorization
string
header
required

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

Path Parameters

session_id
string
required

Response

Successful Response