sessions

Get session by ID or session_id

get/v1/sessions/{session_identifier}

Path parameters

session_identifierstring required

The session identifier: either a GlobalID or user-provided session_id string.

The session identifier: either a GlobalID or user-provided session_id string.

Response

Successful Response

Changes

Changed in 2 of the 70 revisions of this API.33

    • added the optional property data/token_count_completion to the response with the 200 status

      response-optional-property-added

    • added the optional property data/token_count_prompt to the response with the 200 status

      response-optional-property-added

    • added the optional property data/token_count_total to the response with the 200 status

      response-optional-property-added

    • removed the optional property data/token_count_completion from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/token_count_prompt from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/token_count_total from the response with the 200 status

      response-optional-property-removed

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