OpenAPI 3.0.3raw.githubusercontent.com2026-08-136771,7565.2 MB

0ccc4e4f608a

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.

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