v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
workflows

Create a workflow

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/workflows/workflow</span></div>

Refer to Spaces for more information.

Create a new workflow from a YAML definition. The YAML is validated and parsed before the workflow is saved. An optional custom ID can be provided.<br/><br/>[Required authorization] Route required privileges: workflowsManagement:create.

post/api/workflows/workflow

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

idstring
yamlstring required

Response

Indicates a successful response