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-responses

Content-Type: application/json.

JSON body (ChatSessionScopedBodyDto)

request
FieldTypeRequiredDescription
sessionIdstring (UUID)
Required
The chat session to read from. You must already have at least one message in this session as the API key owner.
messageIdstring (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

response
ResponseResponse shape
{
  "sessionId",
  "messageId": <uuid or null>,
  "messageResponses": [ /* row objects */ ]
}