Skip to main content
The Claude Scope REST API lets you integrate recording uploads, session management, and settings control directly into your own tools and workflows. Every endpoint is available under a single base URL, accepts JSON (or multipart for file uploads), and responds with standard HTTP status codes. All requests must include a valid JWT Bearer token — see Authentication for details.

Base URL

https://api.claudescope.ai/api
All endpoints are relative to this base URL. Include it as the prefix for every request path shown in this reference.

Authentication

Every endpoint requires a Bearer token passed in the Authorization header.
Authorization: Bearer <your-access-token>
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 use application/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

StatusMeaning
200 OKRequest succeeded. Response body contains the result.
201 CreatedResource was created.
204 No ContentRequest succeeded. No response body (used by DELETE).
400 Bad RequestValidation failed. Check the message field in the response body.
401 UnauthorizedToken is missing, expired, or invalid. Re-authenticate and retry.
404 Not FoundThe requested resource does not exist or does not belong to your account.
500 Internal Server ErrorUnexpected server-side error.

Rate limiting

Rate limiting details are not currently published. Apply standard back-off strategies — if you receive unexpected 429 or 503 responses, wait before retrying.

Endpoints

MethodPathDescription
POST/recordingsUpload a recording for dual-lane analysis and prompt generation
POST/sessionsCreate a session manually
GET/sessionsList all sessions belonging to your account
GET/sessions/statsGet aggregate statistics across your sessions
GET/sessions/:idGet a single session with its extracted frames
GET/sessions/:id/statusPoll the processing status of a session
PATCH/sessions/:idUpdate session fields
DELETE/sessions/:idDelete a session and its frames
GET/settingsGet your current account settings
PATCH/settingsUpdate account settings
GET/auth/meGet 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.