Skip to main content
POST
Create

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Body

application/json
image
string
required
Required string length: 1 - 512
command
string[]
required
Required array length: 1 - 128 elements
Required string length: 1 - 4096
region
string
required
Required string length: 1 - 64
resources
object
runtime
object
env
object

Write-only environment variables supplied only to this execution.

imagePullCredentials
object

Write-only credentials used to import this execution's private OCI image. The password may be a registry token or password and is never returned.

timeoutSeconds
integer
Required range: 1 <= x <= 86400

Response

Execution accepted and starting.

id
string
required
status
enum<string>
required
Available options:
starting,
running,
succeeded,
failed,
cancelled,
timed_out
image
string
required
command
string[]
required
region
string
required
resources
object
required
runtime
object
required
timeoutSeconds
integer
required
exitCode
integer | null
required
errorCode
string | null
required
cleanupStatus
enum<string>
required
Available options:
pending,
confirmed,
attention_required
createdAt
string<date-time>
required
startedAt
string<date-time> | null
required
finishedAt
string<date-time> | null
required