Skip to main content
GET
http://localhost:3000
/
sessions
curl http://localhost:3000/sessions \
  -H "Authorization: Bearer $ISOL8_API_KEY"
{
  "sessions": [
    {
      "id": "my-session",
      "isActive": true,
      "lastAccessedAt": "2025-06-15T12:34:56.789Z"
    },
    {
      "id": "cli-1718451234567",
      "isActive": true,
      "lastAccessedAt": "2025-06-15T12:30:00.000Z"
    }
  ]
}
Returns an array of every persistent session currently tracked by the server.
sessions
SessionInfo[]
Array of session objects.
curl http://localhost:3000/sessions \
  -H "Authorization: Bearer $ISOL8_API_KEY"
{
  "sessions": [
    {
      "id": "my-session",
      "isActive": true,
      "lastAccessedAt": "2025-06-15T12:34:56.789Z"
    },
    {
      "id": "cli-1718451234567",
      "isActive": true,
      "lastAccessedAt": "2025-06-15T12:30:00.000Z"
    }
  ]
}
Sessions that were destroyed via DELETE /session/:id no longer appear in this list.