POST /recordings endpoint is the core of the Claude Scope API. You upload a video file alongside a few metadata fields, and the endpoint synchronously runs the full dual-lane analysis pipeline — frame extraction, Vision AI analysis, Playwright ARIA inspection, and prompt synthesis — then returns the complete result. Because the endpoint runs the full pipeline before responding, requests may take several seconds to complete depending on video length and the number of URLs inspected.
This is a synchronous endpoint. It does not return until processing is fully complete. Plan your timeout settings accordingly — recordings that are close to the 100 MB limit or that inspect many URLs may take 30 seconds or more.
Endpoint
Request
The request body must bemultipart/form-data. Do not set Content-Type: application/json — let your HTTP client set the multipart boundary automatically.
Form fields
The video file to upload and analyze. Accepted MIME types:
video/webm, video/mp4, video/x-matroska. Maximum size: 100 MB.A human-readable title for the session. Displayed in the Claude Scope dashboard and included in the generated prompt. Maximum 500 characters.
The URL to inspect with the Playwright ARIA snapshot. This should be the starting URL of the flow you recorded — typically the page where the bug or interaction begins. Must include the protocol (
http:// or https://).Optional free-text context for the agent prompt. Use this to describe the bug, expected behavior, or any other detail that will help the coding agent understand the task. Maximum 2000 characters.
The AI coding agent the generated prompt is formatted for. One of:
CLAUDE_CODE, CODEX, CURSOR, RAW. Each value produces a differently structured prompt optimized for that agent’s context format. Defaults to CLAUDE_CODE when omitted.Response
The response is aProcessingResponse object. The HTTP status code is 200 OK on success.
Unique identifier for the newly created session. Use this ID with the Sessions API to retrieve or manage the session later. Example:
sess_ABC12345.Processing outcome. Always
complete on a successful response. If processing fails the endpoint returns an error status code rather than a status: "error" body.The title you submitted, echoed back in the response.
The seed URL you submitted, echoed back in the response.
The agent target used during synthesis, e.g.
CLAUDE_CODE.Size of the uploaded video file in bytes.
MIME type of the uploaded file as detected by the server, e.g.
video/webm.The generated system prompt, formatted for your chosen
agentTarget. This is the text you paste into your AI coding agent.Array of extracted frames. Each frame represents a meaningful UI change detected by SSIM differencing.
Total number of frames extracted from the video.
Array of URLs that were inspected by the Playwright lane.
Total time taken to process the upload end-to-end, in milliseconds.
Summary of the Playwright ARIA inspection run.