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/functions.ts Create a cloud run record without starting execution, like function.create_run() in Python. Use this only when you need the ID before execution, then pass it to run(variables, { functionRunId }). run() otherwise creates a new run on its own.

Parameters

FunctionRunCreateOptions
Run-record settings; local defaults to false. Node execution remains cloud-only.Default:

Returns

A created run record and its ID. No function code has executed yet.

Raises

  • NotteAPIError if run creation is rejected.

Example