Create Task Run
Create a task run. If a task run with the same flow_run_id, task_key, and dynamic_key already exists, the existing task run will be returned.
If no state is provided, the task run will be created in a PENDING state.
Headers
Request body
Example request
{
"name": "my-task-run",
"tags": [
"tag-1",
"tag-2"
]
}Response
Successful Response
Example response
{
"name": "my-task-run",
"tags": [
"tag-1",
"tag-2"
],
"state": {
"message": "Run started"
}
}Changes
Changed in 2 of the 50 revisions of this API.16151
- ○
added the new optional request property
idnew-optional-request-property
- ○
- ▲
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
dynamic_keybecame requiredrequest-property-became-required
- ▲
the request property
state/allOf[subschema #1: StateCreate]/typebecame requiredrequest-property-became-required
- ▲
the request property
task_keybecame 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
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
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
- ▲