Skip to main content
POST
Test run a workflow
Executes an isolated test run of a workflow draft without activating production trigger listeners. Steps execute for real, providing exact execution logs and output data for debugging.

Path Parameters

Request Body

cURL Example

Response Example

Authorizations

Authorization
string
header
required

Pass your API key via the Authorization header: Bearer <api-key>

Path Parameters

id
string
required

Workflow ID

Example:

"wkf_123abc"

Body

application/json
workflowId
string
required

Workflow ID to test

Example:

"wkf_123abc"

triggerPayload
object

Payload to send to trigger

Example:

Response

Test run result

runId
string
required

Test run ID

Example:

"test_run_123"

workflowId
string
required

Workflow ID

status
enum<string>
required

Workflow run status

Available options:
PENDING,
RUNNING,
COMPLETED,
FAILED,
PAUSED,
CANCELED
Example:

"COMPLETED"

output
object

Test output

logs
object[]

Execution logs

duration
number

Execution duration in ms

Example:

1500

Last modified on July 30, 2026