# Run a workflow test ```http POST https://api.onehazel.com/workflow-engine ``` Runs a workflow with `mode` set to `test`, optionally against an unsaved graph supplied in the body. Test runs make real API calls. Section: [Workflows](./) Operation id: `postWorkflowEngine` ## Authentication Signed-in session token (`Authorization: Bearer `). ## Request body JSON object. ## Responses `200` `{ "success": true, "data": ... }` Errors return `{ "success": false, "error": { "code": "...", "message": "..." } }` with a 4xx or 5xx status. ## Example ```bash curl -X POST "https://api.onehazel.com/workflow-engine" \ -H "Authorization: Bearer YOUR_SESSION_TOKEN" \ -H "Content-Type: application/json" \ -d '{}' ``` Machine-readable: [openapi.yaml](/openapi.yaml), [openapi.json](/openapi.json).