List agent sessions with filtering by agent, status, and pagination
GET /v1/agent-sessions
Returns a paginated list of agent sessions for the authenticated tenant. Results can be filtered by agent ID and session status. Sessions are returned in reverse chronological order (newest first).
X-API-Key header or Bearer JWT token. Tenant-scoped via X-Tenant-ID.
maip:t1234567:01HYX3KPZQ7RJGBN0WFMV8SDEH)."active", "expired", "terminated",
"handed_off".50.0.session_id, agent_id, status,
scopes, metadata, expires_at, parent_session_id, handed_off_to,
ip_address, user_agent, refreshed_at, terminated_at, created_at, and
updated_at. Token hashes are never exposed in list responses.| Status | Description |
|---|---|
active | Session is valid and accepting requests |
expired | Session TTL has elapsed; no longer valid |
terminated | Session was explicitly terminated via API |
handed_off | Session was transferred to another agent via handoff |
API key for machine-to-machine authentication
Filter sessions by agent
Filter by session status
active, terminated, expired 1 <= x <= 100x >= 0