provider single_session_summaries GET
/api/projects/{project_id}/single_session_summaries/ @utdk/posthog
/api/projects/{project_id}/single_session_summaries/ single_session_summaries_list
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.
- created_by query
- Filter to summaries triggered by a specific user, identified by `User.uuid`.
- string
- date_from query
- Inclusive lower bound on `created_at`, accepts relative shorthand like `-7d`.
- string
- date_to query
- Inclusive upper bound on `created_at`, accepts relative shorthand like `-1d`.
- string
- distinct_id query
- Filter to summaries for a single user (the session's `distinct_id`).
- string
- has_exceptions query
- When true, only summaries that surfaced one or more exception events; when false, only summaries without exceptions.
- boolean
- has_visual_confirmation query
- When true, only summaries produced via the video-based visual-confirmation workflow.
- boolean
- limit query
- Number of results to return per page.
- integer
- offset query
- The initial index from which to return the results.
- integer
- order query
- Ordering field, defaults to `-created_at` (most recent first). Allowed: `created_at`, `session_start_time`, `session_duration` (prefix with `-` for descending).
- enum: -created_at, -session_duration, -session_start_time, created_at…
- outcome query
- Filter by the summary's recorded `session_outcome.success` field. `success` for true, `failure` for false, `unknown` for summaries without an outcome.
- enum: failure, success, unknown
- project_id path required
- Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- string
- session_ids query
- Comma-separated list of session IDs to restrict the result to (uses the `(team, session_id)` index).
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.singleSessionSummariesList()