Skip to main content

Documentation Index

Fetch the complete documentation index at: https://onlook.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

List sessions

GET /v1/sessions
Query parameters
ParamTypeDescription
userIdstringFilter by user
statusstringactive, dropped, stopped
fromISO dateStart of date range
toISO dateEnd of date range
limitnumberMax results (default: 20, max: 100)
Response
{
  "sessions": [
    {
      "id": "sess_8xK2mP9q",
      "userId": "alice@acme.com",
      "score": 94,
      "status": "active",
      "context": "dashboard",
      "startedAt": "2026-04-28T14:32:08Z"
    }
  ],
  "total": 128,
  "cursor": "sess_3mL7zR2x"
}

Get a session

GET /v1/sessions/:id
Response
{
  "id": "sess_8xK2mP9q",
  "userId": "alice@acme.com",
  "score": 94,
  "status": "active",
  "context": "dashboard",
  "signals": 1243,
  "interventions": 0,
  "startedAt": "2026-04-28T14:32:08Z",
  "updatedAt": "2026-04-28T14:46:21Z"
}