Test a workflow
Server:
https://{kibana_url}
- POST /api/workflows/test
- POST /s/{space_id}/api/workflows/test
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.
[Required authorization] Route required privileges: workflowsManagement:execute.
Request
-
inputsmap string to objectrequired -
Key-value inputs for the test execution.
-
workflowIdstring -
ID of an existing workflow to test.
-
workflowYamlstring -
YAML definition to test.
Response
200
application/json
Indicates a successful response