Skip to main content

List LLM Sessions

GET 

/v2/auto/queries/:queryId/sessions

List LLM output sessions for a query. Only relevant for queries with actions[0].type: "llm".

Cost

Free.

Auth

Required header:

x-elfa-api-key: <api_key>

Request Example

Path parameter:

  • queryId (string)

Response Example (200)

{
"queryId": "q_123",
"sessions": [
{
"sessionId": "s_1",
"status": "completed",
"executedAt": "2026-04-01T12:00:00.000Z"
}
]
}

Best practice: store sessionId values from executions so you can fetch full analysis records only when needed.

Request

Responses

Ok