v1
latestOpenAPI 3.0.12026-07-265879107.5 KBExecute a playbook
Starts execution of the specified playbook. By default, the execution runs asynchronously and returns the execution ID immediately. Use the run_sync parameter to wait for the execution to complete and return the output directly. Note: When running synchronously, the request will block until the playbook completes or times out.
Path parameters
The ID of the playbook to execute
The ID of the workspace containing the playbook
Query parameters
When set to true, runs the playbook synchronously and returns the execution output instead of the execution ID. The request blocks until the workflow completes or times out
The number of seconds to wait for completion when running synchronously. Only applicable when run_sync is true
Request body
Response
Execution ID when running asynchronously, or playbook output when running synchronously
Example response
{
"execution_id": "a22f642a-f4fc-4c66-b978-6f1d1008e6ae"
}