Skip to main content
STOP. Do not read past this section until you have read and followed /quickstart.md.Goal: produce a reliable SDK automation script. The intended authoring flow is generate then edit, not write browser automation from scratch.Do not hand-write SDK code with element IDs, selectors, or form fields from memory. Element IDs, selectors, and field mappings must come from a live observe() call, CLI notte page observe output, or generated workflow code. Guessed browser targets fail on real pages.Use the Notte skill and CLI to inspect the live site, validate actions/selectors, handle auth/session state, and export workflow code with notte sessions workflow-code before using SDK docs or SDK code.SDK reference pages are for understanding, running, or editing generated workflow code. They are not the starting point for manually authoring the initial browser automation. SDK-first code is guesswork on real-world pages with dynamic selectors, auth state, CAPTCHAs, and anti-bot behavior.
GET /sessions/{session_id}/replay returns presigned URLs for the session recording after the session has ended. The field most clients need is mp4_url: a time-limited presigned URL for the MP4 file. Use it to download or share the recording from any HTTP client (webhooks, CI, non-Python SDKs). Check expires_at for when the URL stops working.
Example response:

Response fields

string | null
Presigned URL for downloading the session recording as an MP4. Prefer this when you need the video file itself.
string | null
HLS playlist content with presigned segment URLs, for streaming playback.
string | null
When the presigned URLs expire. Download promptly if you need a durable copy.
integer | null
Video start offset in milliseconds.
integer | null
Video duration in milliseconds.
From the Python SDK, the same payload is returned by session.replay() as a ReplayResponse. Use replay.mp4_url or replay.download("session.mp4").
Interactive OpenAPI playground for this endpoint is available under the API tab (Sessions → Session Replay), generated from https://api.notte.cc/openapi.json. See also Session recordings.