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

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.
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

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

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.