Skip to main content
POST

Authorizations

Authorization
string
header
required

An API key from the web app (Settings → Developer), sent as Authorization: Bearer rvl_live_….

Body

application/json
parameters
object
required
inputs
object
required
name
string

A name for the run, shown in the web app.

Maximum string length: 200
budget
number

Most credits the run may spend; it is stopped beyond that.

projectId
string

Add the run to this project (proj_…); needs editor or owner on it.

Response

OK

id
string
required

Run id, run_….

engine
string
required

Engine slug, e.g. revredox.

name
string | null
required
status
enum<string>
required

queued until the engine picks the run up; succeeded, failed and cancelled are final.

Available options:
queued,
running,
succeeded,
failed,
cancelled
statusReason
string | null
required

Why a cancelled run stopped: user, insufficient_credits or budget_exceeded. Null otherwise.

progress
number
required

Progress the engine reports; 0 until it reports any.

createdAt
string<date-time>
required
startedAt
string<date-time> | null
required
endedAt
string<date-time> | null
required
budget
number | null
required

Most credits the run may spend, if one was set.

creditsUsed
number
required

Credits charged to the run so far.

error
object | null
required

Set when status is failed.

Related endpoints: self, inputs, results, outputs, files.

warnings
string[]

Set when the run was created but a follow-up step, such as adding it to a project, failed.