Message
Get a message
Canonical recovery endpoint: full composed state of a message.
get/messages/{message_id}
Path parameters
message_idinteger required
ID of the message to fetch.
ID of the message to fetch.
Query parameters
cookie_namestring nullable
Response
Successful Response
Example response
{
"id": 200,
"chat_id": 42,
"parent_id": 199,
"role": "assistant",
"content": "Here is the summary you requested.",
"state": "completed",
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-01-15T10:30:05Z",
"usage": {
"completion_tokens": 80,
"prompt_tokens": 120
},
"tool_calls": [],
"files": []
}