NEO Sessions
List NEO sessions
GET /sessions
GET /sessions
Returns sessions the caller participates in. With ?ticketId= and accessTechnicalEvents permission: returns all sessions on that ticket. With ?ticketId= as a plain human agent (ticket must be accessible): returns the caller's own sessions on that ticket plus the ticket's unclaimed (owner-less) cortex warm-start sessions — the discover-and-continue path, so the human agent picks up cortex's pre-work and continues the same session. costUsd/model are only included when the caller has reportAiPerformance.
Query parameters
ticketIdintegerqueryFilter sessions by ticket ID.
Responses
200 — Successful operation
Response Example
{
"sessions": [
{
"id": "string",
"ticketId": 1,
"lastActivityAt": "2026-01-01T12:00:00Z",
"createdAt": "2026-01-01T12:00:00Z",
"participants": [
{
"id": 1,
"name": "string"
}
],
"messageCount": 1,
"costUsd": 1,
"model": "string"
}
],
"success": true
}401 — Unauthorized