Chat message responses
POST /users/me/chat-sessions/message-responses returns raw chat.message_response rows from the database (SELECT *), ordered by createdAt ascending. Same session and optional message scope as Resolve chat attachments, but no Leni calls.
POST
/users/me/chat-sessions/message-responsesContent-Type: application/json.
JSON body (ChatSessionScopedBodyDto)
request| Field | Type | Required | Description |
|---|---|---|---|
| sessionId | string (UUID) | Required | The chat session to read from. You must already have at least one message in this session as the API key owner. |
| messageId | string (UUID) | Optional | Optional. When set, only message_response rows for that message are returned. The message must belong to you and exist in sessionId. Omit, or send empty or whitespace-only, to return responses for the entire session. |
Example request
{
"sessionId": "00000000-0000-0000-0000-000000000000",
"messageId": "00000000-0000-0000-0000-000000000001"
}Response
responseResponseResponse shape
{
"sessionId",
"messageId": <uuid or null>,
"messageResponses": [ /* row objects */ ]
}