createFlowTemplate
Changed onCreate a new Flow Template (V2 workflow definition).
A flow template defines the structure of a workflow including its phases, tasks, edges (connections between tasks), and trigger configuration. Once created, the template can be used to start workflow executions.
Request
- Base URLhttps://workflows-definition.sls.epilot.io
- URLhttps://workflows-definition.sls.epilot.io/v2/flows/templates
- AuthHTTP bearer
Query parameters
When true, size/count limit violations (max incoming edges per task, max branches, max entity-sync rules, ...) are enforced as 400 errors. Used by the flow-builder UI for interactive authoring. On update, pre-existing violations are tolerated as long as the request does not worsen them. When false or absent (default for API/system callers such as blueprints, configuration hub and snapshots), limit violations are accepted and returned as limit_warnings. Structural errors are always enforced regardless of this flag.
When true, the client writes loops on decision tasks and loop_id on loop back edges, and invalid ones are rejected. When false or absent, the server rebuilds both from loop_config.
Request body
Response
Success - if the flow template is created successfully
Changes
- warning
added the new
main_contextenum value to the////////////response property for the response status - warning
added the new
main_contextenum value to the/////////////response property for the response status - info
added the new optional request property
//////////// - info
added the new optional request property
//////////// - info
added the new optional request property
///////////// - info
added the new optional request property
///////////// - info
added the new
main_contextenum value to the request property//////////// - info
added the new
main_contextenum value to the request property///////////// - info
added the optional property
////////////to the response with the status - info
added the optional property
////////////to the response with the status - info
added the optional property
/////////////to the response with the status - info
added the optional property
/////////////to the response with the status
- warning
- info
added the new optional request property
/////////// - info
added the optional property
///////////to the response with the status
- info