Chat sessions

Read chat.session metadata and the full message transcript for a session. You can only access a session if the key owner has at least one chat.message in that session.

Session metadata

GET/users/me/chat-sessions/:sessionId
Returns one session row when the owner participates in that session.

Response

response
ResponseResponse shape
{
  "session": {
    "id", "title", "organisationId", "modelType", "createdAt", "updatedAt"
  }
}
404
Returned if the owner has no message in the session.

Session messages (transcript)

GET/users/me/chat-sessions/:sessionId/messages
All chat messages for the session in chronological order; same access rule as session detail.

Response

response
ResponseResponse shape
{
  "sessionId",
  "messages": [ ... ]
}
404
Returned if the owner cannot access the session. Useful for polling after Run models when the first response returned a sessionId and a deadline hint instead of full model output.