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
access
enum<string>
required

Why you can see the run: you started it, it was shared with you, or it is in a project you belong to. Only the owner can cancel it or read its inputs.

Available options:
owner,
shared,
project
owner
object
required

Who started the run.

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 (owner only), results, outputs, files.

children
object

For engines that run each input as its own job: how many children are in each status. GET /v1/runs/{runId}/children lists them.

warnings
string[]

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