List recent task sessions (root tasks + chain summary)
Changed onEach 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}.
Request
- Base URLhttp://localhost:3013
- URLhttp://localhost:3013/api/sessions
- AuthHTTP bearer
Query parameters
mine: owned sessions. shared: sessions shared with me. tree: Sessions that GET /api/session-tree counts: mine plus shared with me, no ownerless roots. A bypass actor sees every root with tree scope.
Sessions v2 view, for a user viewer with tree scope. mine (default): roots the user started from a human channel (not workflow, schedule, or system) plus sessions shared with the user. all: every tree session. Lists only: access is unchanged.
Comma-separated root sources to leave out, e.g. slack,chat. Older sessions v2 clients send this; showSource replaces it.
Comma-separated root sources to keep (the sessions v2 source filter), e.g. ui,slack. Present and empty keeps none; omit to keep every source.
Response
Recent sessions ordered by chain-wide last activity
Changes
- warning
added the new
fxenum value to the///////response property for the response status - warning
added the new
fxenum value to the////////response property for the response status - warning
added the new
fxenum value to the////response property for the response status
- warning
- info
added the new optional
queryrequest parametershowSource
- info