Get Session

Retrieve a specific session by ID

GET /v2/sessions/{session_id}

Response

{
  "id": "sess_abc123",
  "agent_id": "ag_xyz789",
  "status": "active",
  "message_count": 12,
  "messages": [
    {"role": "user", "content": "Hello"},
    {"role": "assistant", "content": "Hi! How can I help?"}
  ],
  "created_at": "2026-03-25T10:00:00Z",
  "updated_at": "2026-03-25T10:05:00Z"
}

On this page