Base URL
Authentication
Every endpoint requires a Bearer token passed in theAuthorization header.
Obtain your access token by signing in through the Claude Scope web app. After sign-in, the token is available in your browser’s
localStorage under the key cs-auth. See Authentication for step-by-step instructions.Request and response format
All request and response bodies useapplication/json, except for POST /recordings which uses multipart/form-data because it carries a video file alongside text fields. Always include Content-Type: application/json on JSON requests; omit the header on multipart requests and let your HTTP client set the boundary automatically.
HTTP status codes
| Status | Meaning |
|---|---|
200 OK | Request succeeded. Response body contains the result. |
201 Created | Resource was created. |
204 No Content | Request succeeded. No response body (used by DELETE). |
400 Bad Request | Validation failed. Check the message field in the response body. |
401 Unauthorized | Token is missing, expired, or invalid. Re-authenticate and retry. |
404 Not Found | The requested resource does not exist or does not belong to your account. |
500 Internal Server Error | Unexpected server-side error. |
Rate limiting
Rate limiting details are not currently published. Apply standard back-off strategies — if you receive unexpected429 or 503 responses, wait before retrying.
Endpoints
| Method | Path | Description |
|---|---|---|
POST | /recordings | Upload a recording for dual-lane analysis and prompt generation |
POST | /sessions | Create a session manually |
GET | /sessions | List all sessions belonging to your account |
GET | /sessions/stats | Get aggregate statistics across your sessions |
GET | /sessions/:id | Get a single session with its extracted frames |
GET | /sessions/:id/status | Poll the processing status of a session |
PATCH | /sessions/:id | Update session fields |
DELETE | /sessions/:id | Delete a session and its frames |
GET | /settings | Get your current account settings |
PATCH | /settings | Update account settings |
GET | /auth/me | Get the currently authenticated user |
Explore the API
Authentication
Obtain and use JWT Bearer tokens to authenticate your requests.
Recordings
Upload a browser recording and receive a fully generated agent prompt.
Sessions
Create, list, update, delete, and poll sessions and their frames.
Settings
Read and update per-account preferences like default agent and screenshot inclusion.