Skip to main content
POST
Create a process

Body

application/json

Request body used to create a new process.

code
string
required

Executable source code to stage and run in the active environment (max 100 KB).

Maximum string length: 102400
ref
string

Optional reference label used for filtering and correlation.

Minimum string length: 1
timeoutMs
integer | null

API-level execution timeout in milliseconds. null disables enforcement; undefined uses the default.

Required range: x > 0
envConfig
object

Opaque per-execution environment configuration passed through to the environment module.

autorun
boolean
default:true

Whether to start execution immediately. When false, the process is created in idle state and must be started via the run signal.

Response

Process created.

Response returned after a process is created.

id
integer
required

Stable process identifier assigned to the newly created process.

Required range: x > 0
Last modified on July 9, 2026