v1

latestSwagger 2.02026-07-1712167168.8 KB

Create a new execution.

post/api/v1/executions

Query parameters

show_secretsboolean

Show secrets in plain text

Headers

st2-contextstring

Additional execution context

Request body

idstring

The unique identifier for the action execution.

status'requested' | 'scheduled' | 'delayed' | 'running' | 'succeeded' | 'failed' | 'timeout' | 'abandoned' | 'canceling' | 'canceled' | 'pending' | 'pausing' | 'paused' | 'resuming'

The current status of the action execution.

start_timestampstring

The start time when the action is executed.

end_timestampstring

The timestamp when the action has finished.

actionstring required

Reference to the action to be executed.

action_is_workflowboolean

Flag indicating workflow action.

parametersobject

Input parameters for the action.

resultobject
contextobject
callbackobject
runner_infoobject
delayinteger

How long (in milliseconds) to delay the execution before scheduling.

userstring nullable

User context under which action should run (admins only)

Response

Execution being created