Sessions

List recent task sessions (root tasks + chain summary)

Each item's root is a slim task summary by default — the full task text is replaced with a bounded taskPreview and completion/integration blobs are dropped. Pass fields=full to restore the full root AgentTask. The full root + descendant chain are on GET /api/sessions/{rootTaskId}.

get/api/sessions

Query parameters

limitinteger nullable
offsetinteger nullable
sourcestring
qstring
requestedByUserIdstring
fields'full' | 'slim'

Response

Recent sessions ordered by chain-wide last activity

totalinteger required
limitinteger required
offsetinteger required

Changes

Changed in 4 of the 104 revisions of this API.64

    • added the new acp enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new acp enum value to the //////// response property for the response status

      response-property-enum-value-added

    • added the new acp 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 new draft enum value to the // response property for the response status

      response-property-enum-value-added

    • added the new draft enum value to the /////// response property for the response status

      response-property-enum-value-added

    • added the new draft enum value to the //// response property for the response status

      response-property-enum-value-added

    • added the media type application/json for the response with the status

      response-media-type-added

    • added the media type application/json for the response with the status

      response-media-type-added