v53

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

Test 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/test</span></div>

Refer to Spaces for more information.

Execute a workflow in test mode without requiring it to be saved or enabled. Provide either a workflow ID to test a saved workflow, a YAML definition to test an unsaved draft, or both to test a modified version of an existing workflow.<br/><br/>[Required authorization] Route required privileges: workflowsManagement:execute AND workflowsManagement:read.

post/api/workflows/test

Headers

kbn-xsrfstring required
Example:true

A required header to protect against CSRF attacks

Request body

inputsobject required

Key-value inputs for the test execution.

workflowIdstring

ID of an existing workflow to test.

workflowYamlstring

YAML definition to test.

Response

Indicates a successful response