v2
chat
chat

Get Session

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}

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

Changed in 9 of the 165 revisions of this API.518

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

  • 95db58ee813812See the full diff
    • ●

      added the new microsoft_365_copilot enum value to the / response property for the response status

      response-property-enum-value-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      the response's property default value changed from {"dry_run":false,"llm_auth_provider":"platform","kind":"normal"} to {"dry_run":false,"llm_auth_provider":"platform","llm_provider_session_ids":{},"kind":"normal"} for the status

      response-property-default-value-changed

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      the response's property default value changed from {"dry_run":false,"kind":"normal"} to {"dry_run":false,"llm_auth_provider":"platform","kind":"normal"} for the status

      response-property-default-value-changed

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      the response's property default value changed from {"dry_run":false} to {"dry_run":false,"kind":"normal"} for the status

      response-property-default-value-changed

    • ○

      added the optional property / to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

  • 8c84efcb3afb41See the full diff
    • ●

      removed the optional property from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ●

      removed the optional property / from the response with the status

      response-optional-property-removed

    • ○

      the response's property default value changed from {"dry_run":false,"kind":"normal"} to {"dry_run":false} for the status

      response-property-default-value-changed

    This revision also has 96 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog