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