Single Session
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET |
List all single session summaries
List stored AI-generated session summaries for the team, one row per session (latest summary kept). Use to discover which sessions have been summarized and to filter for sessions with specific problems — has_exceptions=true, outcome=failure, or a custom session_ids narrowing. Returns lightweight rows without the full summary JSON; use the retrieve endpoint for the per-segment / per-action detail.
Required API key scopes
session_recording:readQuery parameters
- created_bystring
- date_fromstring
- date_tostring
- distinct_idstring
- has_exceptionsboolean
- has_visual_confirmationboolean
- limitinteger
- offsetinteger
- orderstringOne of:
"-created_at""-session_duration""-session_start_time""created_at""session_duration""session_start_time" - outcomestringOne of:
"failure""success""unknown" - session_idsstring
Response
Example request
GET /api /projects /:project_id /single_session_summariesExample response
Status 200
Retrieve single session summaries
Get the latest stored AI summary for a single session by session_id. Returns the full summary JSON (segments with named timeline, per-action abandonment / confusion / exception flags, segment outcomes, headline session_outcome, optional sentiment), the exception_event_ids array, the extra_summary_context (e.g. focus_area) used at generation time, and the run_metadata (LLM model used, whether visual confirmation was applied). 404 if no summary has been generated for this session yet — to trigger generation, use the existing session-recording-summarize flow rather than this endpoint.
Required API key scopes
session_recording:readPath parameters
- session_idstring
Response
Example request
GET /api /projects /:project_id /single_session_summaries /:session_id