v2
chat
chat

Retrieve the details of a specific chat session.

Supports cursor-based pagination via limit and before_sequence. When no pagination params are provided, returns the most recent messages.

get/api/chat/sessions/{session_id}

Request

  • The document declares no server URL.
  • Auth
    HTTP bearer

Path parameters

session_idstring required

Query parameters

limitinteger
before_sequenceinteger nullable

Response

Successful Response

idstring required
created_atstring required
updated_atstring required
user_idstring nullable required
chat_statusstring
messagesobject[] required
has_more_messagesboolean
oldest_sequenceinteger nullable
total_prompt_tokensinteger
total_completion_tokensinteger
expert_idstring nullable

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property / to the response with the status