v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-044334120.9 KB
Sessions & Agents

Get Status

Get current active session status.

Requires management credential or loopback origin (same as other agent-lifecycle endpoints). Reads the active session from local state.

get/api/v2/status

Headers

authorizationstring nullable
X-Api-Keystring nullable

Response

Successful Response

session_idstring required
agent_idstring required
namespacestring required
started_atstring date-time required
expires_atstring date-time required
status'active' | 'expired' | 'terminated' required

Session status enum

time_remaining_secondsinteger required
pattern'support' | 'project' | 'tool'

Agent pattern types for memory organization