Skip to main content
POST
Summarize session recording

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Scopes

full_access
PersonalAccessTokenAuth
full_access
WorkspaceApiKeyAuth
full_access
WorkspaceApiKeyBearerAuth

Headers

Idempotency-Key
string

One key per operation, 1 to 128 characters. A retry with the same key and request within 24 hours returns the first response.

Example:

"7f3c9a2e-retry-1"

X-Active-Branch-Id
string

ID of the branch the editor shows. Used when branch_id is omitted, for users who work on protected-main branches.

Path Parameters

app_id
string
required

ID of the app.

Maximum string length: 64
Pattern: ^[a-zA-Z0-9._-]+$
session_id
string
required

ID of the recording, the session_id that List session recordings returns.

Maximum string length: 100
Pattern: ^[a-zA-Z0-9._-]+$

Query Parameters

force
boolean
default:false

true to write a new summary even when a current one is saved.

Response

The summary.

session_id
string
required

ID of the recording.

Example:

"s_1732095012_k3j9x2"

summary
Summary · object | null
required

summary, friction_points and suggested_next_steps, written by AI from the recording; null when none is saved.

cached
boolean
required

Whether the summary was saved before this request.