Skip to main content
Read the Notte skill and follow its setup instructions when setting up Notte or building browser automation. This is the shared source for CLI setup, authentication, and the browser-to-code workflow.
Source: node-sdk/src/client.ts Client-bound session API operations. list() retains its array return value. These operations use the configured client’s authentication and transport. Signatures below preserve positional arguments, optional parameters, and return types. See the OpenAPI schema for HTTP request and response fields.

list

steps

One page of the session’s steps ({ steps, next_cursor }), from GET /sessions/{session_id}/steps. Each step has the shape of an item of status().steps. Pass next_cursor back as cursor, as is, for the next page; it is null on the last page. A NotteAPIError with status 400 means the cursor is no longer valid: restart from the first page (no cursor).

iterSteps

Every step of the session, following next_cursor page by page. A cursor that is no longer valid stops the iteration with the 400 NotteAPIError, after the steps already yielded; start a new iteration to read them again.

act

pageAct: /sessions/{session_id}/page/act. Returns the API response body.

authReadiness

sessionAuthReadiness: /sessions/{session_id}/auth. Returns the API response body.

check

pageCheck: /sessions/{session_id}/page/check. Returns the API response body.

choose

pageChoose: /sessions/{session_id}/page/choose. Returns the API response body.

createPayment

createPayment: /sessions/{session_id}/payments. Returns the API response body.

debugInfo

sessionDebugInfo: /sessions/{session_id}/debug. Returns the API response body.

deleteSessionFile

deleteSessionFile: /sessions/{session_id}/files/{file_id}. Returns the API response body.

downloadSessionFile

downloadSessionFile: /sessions/{session_id}/files/{file_id}. Returns the API response body.

execute

pageExecute: /sessions/{session_id}/page/execute. Returns the API response body.

executeSessionFile

executeSessionFile: /sessions/{session_id}/page/execute/file. Returns the API response body.

getCookies

sessionCookiesGet: /sessions/{session_id}/cookies. Returns the API response body.

getSessionScript

getSessionScript: /sessions/{session_id}/workflow/code. Returns the API response body.

listSessionFiles

listSessionFiles: /sessions/{session_id}/files. Returns the API response body.

mouseReplay

sessionMouseReplay: /sessions/{session_id}/replay/mouse. Returns the API response body.

networkLogs

sessionNetworkLogs: /sessions/{session_id}/network/logs. Returns the API response body.

observe

pageObserve: /sessions/{session_id}/page/observe. Returns the API response body.

offset

sessionOffset: /sessions/{session_id}/offset. Returns the API response body.

pageScreenshot

pageScreenshot: /sessions/{session_id}/page/screenshot. Returns the API response body.

profilePreview

sessionProfilePreview: /sessions/{session_id}/profile-preview. Returns the API response body.

replay

sessionReplay: /sessions/{session_id}/replay. Returns the API response body.

saveProfile

sessionProfileSave: /sessions/{session_id}/profile/save. Returns the API response body.

scrape

pageScrape: /sessions/{session_id}/page/scrape. Returns the API response body.

setCookies

sessionCookiesSet: /sessions/{session_id}/cookies. Returns the API response body.

start

sessionStart: /sessions/start. Returns the API response body.

status

sessionStatus: /sessions/{session_id}. Returns the API response body.

stop

sessionStop: /sessions/{session_id}/stop. Returns the API response body.

uploadSessionFile

uploadSessionFile: /sessions/{session_id}/files. Returns the API response body.