Chat9
APIChat

Get Session Logs Route

Get full message log for a session (read-only). JWT auth required. Returns 404 if session not found or not owner. Messages are returned as stored — the original wording. Redaction is an egress concern applied when text is sent to OpenAI or to a support inbox, not to the tenant reading back their own conversations.

GET
/chat/logs/session/{session_id}
/chat/logs/session/{session_id}

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Path Parameters

session_id
Required
Session Id

Format: "uuid"
curl -X GET "https://api.getchat9.live/chat/logs/session/497f6eca-6276-4993-bfeb-53cbbbba6f08" \
  -H "Authorization: Bearer <token>"

Successful Response

{
  "messages": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
      "role": "user",
      "content": "string",
      "created_at": "2019-08-24T14:15:22Z",
      "chat_id": "efc9fe20-a1e5-4a8c-9c48-f1b30c1e4f86"
    }
  ]
}