Sessions

Get session messages

Returns paginated message history with optional role filtering. This feature is enabled for selected organizations only.

get/api/v0/sessions/{sessionId}/messages

Path parameters

sessionIdstring required

Query parameters

limitstring

Maximum number of items to return (1-100)

cursorstring

Cursor for pagination

computerIdstring

Computer ID to query directly

role'user' | 'assistant' | 'tool'

Filter messages by role

Response

Response for status 200

Changes

Changed in 9 of the 34 revisions of this API.511

    • ●

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

      response-property-enum-value-added

    • ●

      added the new azure_anthropic 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

    • ○

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

      response-optional-property-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-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 new sdk enum value to the // response property for the response status

      response-property-enum-value-added

    • ○

      added subschema #2 subschema #6 to the /// response property anyOf list for the response status

      response-property-any-of-added

    • ○

      removed subschema #2 subschema #6 from the /// response property anyOf list for the response status

      response-property-any-of-removed

    • ○

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

      response-optional-property-added

    • ●

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

      response-property-enum-value-added

    • ●

      added the new microsoft-teams enum value to the // response property for the response status

      response-property-enum-value-added