Run a saved Job or a one-off command in an Environment. Returns the Run and Activity. Follow with activity_wait, then job_run_logs.
Arguments
| Argument |
Type |
Description |
yes |
boolean |
true once the person confirms. |
job |
string |
Saved Job id; alternative to environment. |
environment |
string |
Environment id for a one-off command; alternative to job. |
command |
string |
One-off command with default resources; alternative to data. |
data |
object |
— |
data.command |
string |
— |
data.source |
object |
Image override. |
data.size |
string |
Size override. |
data.resources |
object |
Custom size. |
data.timeout_seconds |
integer |
Default 900. |
Example