Skip to main content
POST

Authorizations

Authorization
string
header
required

An API key from Settings, API Keys. A caller on this machine needs none.

Query Parameters

wait
boolean
default:false

Block until the job is built and answer 201, instead of 202 with one that is still being prepared

Body

application/json
name
string
required
Required string length: 1 - 255
steps
object[]
required
Minimum array length: 1
user_id
string | null
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

icon
string | null
description
string
default:""
thumbnail
string | null
color
string | null
tags
string[]
pool_id
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

group_id
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

storage_id
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

status
enum<string>
default:pending
Available options:
pending,
suspended,
scheduled
priority
number
default:50
Required range: 0 <= x <= 100
dependency_ids
string[]
metadata
object[]
env
object

Environment variables for every application the job starts, over the app's own. $NAME reads the value the app would have had.

Example:
notifications
object[]
cleanup
object | null
schedule_date
integer | null
assets
object[]
{key}
any

Response

The created job, staged and queueable. Only with wait=true

id
string
required
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

name
string
default:""
required
status
enum<string>
required
Available options:
working,
finishing,
pending,
preparing,
submitting,
failed,
archived,
suspended,
scheduled,
queued,
completed,
disabled,
unknown
description
string
default:""
required
tags
string[]
required
priority
number
default:50
required
steps
object[]
required
dependencies
object[]
required
metadata
object[]
required
notifications
object[]
required
cleanup
object
required
assets
object[]
required
progress
object
required
user_id
string | null
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

api_key_id
string | null

The API key that submitted it

Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

pool_id
string | null
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

group_id
string | null
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

storage_id
string | null
Pattern: ^[a-fA-F0-9]{24}$
Example:

"68b1f0c2a4d3e5f6a7b8c9d0"

icon
string | null
thumbnail
string | null
color
string | null
env
object

Environment variables for every application the job starts, over the app's own. $NAME reads the value the app would have had.

Example:
errors
object[]
schedule_date
integer | null
Example:

1785846207000

created_at
integer | null
Example:

1785846207000

started_at
integer | null
Example:

1785846207000

finished_at
integer | null
Example:

1785846207000

archived_at
integer | null
Example:

1785846207000

removed_at
integer | null
Example:

1785846207000