agent

List agent sessions

Lists sessions for the current user. listAgentSessions uses AgentSessionPaginationMode=cursor or an AgentSessionCursor value to return cursor pages and nextCursor; cursor mode rejects Page because mixed cursor/page requests are ambiguous, while PerPage still controls page size. Without cursor mode it uses Page and PerPage offset pagination. RemoteNode selects the target node for either pagination mode. Malformed or invalid cursor values return 400.

get/agent/sessions

Query parameters

remoteNodestring

name of the remote node

paginationMode'offset' | 'cursor'

Pagination mode. Use cursor for the agent session sidebar infinite-loading flow; omit or use offset for compatibility pagination.

cursorstring

Opaque cursor for loading the next page of older agent sessions

pageinteger

page number of items to fetch (default is 1)

perPageinteger

number of items per page (default is 30, max is 100)

Response

Paginated list of sessions

nextCursorstring

Opaque cursor for loading the next page of older sessions

Changes