Create Flow Run
Create a flow run. If a flow run with the same flow_id and idempotency key already exists, the existing flow run will be returned.
If no state is provided, the flow run will be created in a PENDING state.
Headers
Request body
Example request
{
"name": "my-flow-run",
"tags": [
"tag-1",
"tag-2"
]
}Response
Successful Response
Example response
{
"name": "my-flow-run",
"deployment_version": "1.0",
"flow_version": "1.0",
"context": {
"my_var": "my_val"
},
"tags": [
"tag-1",
"tag-2"
],
"work_pool_name": "my-work-pool",
"state": {
"message": "Run started"
}
}Changes
Changed in 6 of the 50 revisions of this API.17226
- ○
added the new optional request property
empirical_policy/allOf[subschema #1: FlowRunPolicy]/retry_typenew-optional-request-property
- ○
added the optional property
empirical_policy/retry_typeto the response with the200statusresponse-optional-property-added
- ○
- ○
added the optional property
deployment_versionto the response with the200statusresponse-optional-property-added
- ○
- ▲
added
FlowRunPolicyto theempirical_policyrequest propertyallOflistrequest-property-all-of-added
- ▲
added
StateDetailsto thestate/allOf[subschema #1: StateCreate]/state_detailsrequest propertyallOflistrequest-property-all-of-added
- ▲
added
StateTypeto thestate/allOf[subschema #1: StateCreate]/typerequest propertyallOflistrequest-property-all-of-added
- ▲
the request property
flow_idbecame requiredrequest-property-became-required
- ▲
the request property
state/allOf[subschema #1: StateCreate]/typebecame requiredrequest-property-became-required
- ▲
removed the enum value
CANCELLEDof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
CANCELLINGof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
COMPLETEDof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
CRASHEDof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
FAILEDof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
PAUSEDof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
PENDINGof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
RUNNINGof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
removed the enum value
SCHEDULEDof the request propertystate/allOf[subschema #1: StateCreate]/typerequest-property-enum-value-removed
- ▲
the
empirical_policyrequest property type/format changed fromobject/to/request-property-type-changed
- ▲
the
state/allOf[subschema #1: StateCreate]/state_detailsrequest property type/format changed fromobject/to/request-property-type-changed
- ▲
the
state/allOf[subschema #1: StateCreate]/typerequest property type/format changed fromstring/to/request-property-type-changed
- ●
removed the request property
empirical_policy/max_retriesrequest-property-removed
- ●
removed the request property
empirical_policy/pause_keysrequest-property-removed
- ●
removed the request property
empirical_policy/resumingrequest-property-removed
- ●
removed the request property
empirical_policy/retriesrequest-property-removed
- ●
removed the request property
empirical_policy/retry_delayrequest-property-removed
- ●
removed the request property
empirical_policy/retry_delay_secondsrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/cache_expirationrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/cache_keyrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/child_flow_run_idrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/flow_run_idrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/pause_keyrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/pause_reschedulerequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/pause_timeoutrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/refresh_cacherequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/retriablerequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/run_input_keysetrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/scheduled_timerequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/task_parameters_idrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/task_run_idrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/transition_idrequest-property-removed
- ●
removed the request property
state/allOf[subschema #1: StateCreate]/state_details/untrackable_resultrequest-property-removed
- ▲
- ○
the response property
flow_idbecame required for the status200response-property-became-required
- ○
- ●
removed the request property
job_variablesrequest-property-removed
- ●
- ○
added the new optional request property
job_variablesnew-optional-request-property
- ○
added the optional property
job_variablesto the response with the200statusresponse-optional-property-added
- ○