Skip to main content
POST
Run Job

Authorizations

Authorization
string
header
required

Enter your API key as the username. Leave the password field blank. Example: curl -u YOUR_API_KEY: https://api.xplenty.com/...

Headers

Accept
string
default:application/vnd.xplenty+json; version=2
required

API version header — required on all requests

Body

application/json
cluster_id
integer
required

ID of the cluster to run on

package_id
integer
required

ID of the package to execute

variables
object

Static variables for the job

dynamic_variables
object

Dynamic variables (evaluated at runtime)

Response

Job created and started

id
integer
Example:

157

status
enum<string>
Available options:
idle,
pending,
queued,
running,
completed,
failed,
pending_stoppage,
stopping,
stopped
Example:

"completed"

owner_id
integer
progress
number<double>
Required range: 0 <= x <= 1
Example:

1

outputs_count
integer
Example:

2

outputs
object[]
variables
object
dynamic_variables
object
started_at
string<date-time> | null
created_at
string<date-time>
failed_at
string<date-time> | null
updated_at
string<date-time>
cluster_id
integer
Example:

52

package_id
integer
Example:

434

errors
string
runtime_in_seconds
integer
url
string<uri>
html_url
string<uri>
log_url
string<uri> | null
creator
object
package
object
cluster
object
Last modified on July 14, 2026