Skip to content
GitHub Get Started
HTTP API

Run a one-shot command.

POST
/v1/processes/run

Executes a command to completion and returns its stdout, stderr, exit code, and duration. Supports configurable timeout and output size limits.

object
args
Array<string>
command
required
string
cwd
string
nullable
env
object
key
additional properties
string
maxOutputBytes
integer
nullable
timeoutMs
integer format: int64
nullable

One-off command result

object
durationMs
required
integer format: int64
exitCode
integer format: int32
nullable
stderr
required
string
stderrTruncated
required
boolean
stdout
required
string
stdoutTruncated
required
boolean
timedOut
required
boolean

Invalid request

object
detail
string
nullable
instance
string
nullable
status
required
integer format: int32
title
required
string
type
required
string
key
additional properties

Process API unsupported on this platform

object
detail
string
nullable
instance
string
nullable
status
required
integer format: int32
title
required
string
type
required
string
key
additional properties