Skip to main content
POST
/
processes
Create a process
curl --request POST \
  --url http://localhost:7687/processes \
  --header 'Content-Type: application/json' \
  --data '
{
  "code": "<string>",
  "block": true,
  "ref": "<string>",
  "timeout": 1
}
'
{
  "pid": 1
}

Documentation Index

Fetch the complete documentation index at: https://modelcontrolinterface.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

Request body used to create a new process entry.

code
string
required

Executable source code or script body to stage and run in the process environment.

block
boolean

When true, waits for the process to become idle before responding.

ref
string

Optional reference label used for filtering and correlation.

Minimum string length: 1
timeout
integer | null

Optional timeout in milliseconds. Null explicitly clears the timeout.

Required range: x > 0

Response

Process created successfully.

Response returned when a process is created.

pid
integer
required

Numeric identifier assigned to the newly created process.

Required range: x > 0
Last modified on May 14, 2026