Create a new run (execute workflow)
Execute a workflow version. Supports input overrides, partial execution, and auto-update of nodes.
POST
/api/runsBody
workflow_version_infostringrequiredmachinesobjectrequiredfleetstringrequireduse_static_ipsbooleandefault: falsevaultstringrequiredinputsobjectsave_input_changesbooleandefault: falseworkflow_idstringrequiredagent_session_idstringpartial_execution_configobjectuse_latest_versionbooleandefault: falseRequest
curl
curl -X POST https://trickest.io/api/runs \
-H "Authorization: Token $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
201Run created successfully
idstringrequiredworkflow_idstringrequiredstatusenumrequiredOne of: PENDING, RUNNING, COMPLETED, FAILED, CANCELLED, STOPPED, ERROR, PARTIAL_SUCCESS, SCHEDULED, STOPPING
created_datestringrequiredfinished_datestringfinishedbooleancompleted_datestringfleetstringmachinesobject400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.