For the complete documentation index, see llms.txt. This page is also available as Markdown.

Test Workflow

Run a workflow in test mode without publishing. Use this to validate the full graph execution against input parameters before promoting to production.

Checksum (required for a successful test)

The test endpoint requires the current checksum of the workflow. If the checksum you send does not match the latest checksum on the server, the API returns a checksum mismatch error and the test does not run.

Recommended flow:

  1. Call Get workflow by id (GET /dev/v1/workflow/{entity-id}) for the workflow you want to test.

  2. From the response, copy data.checksum (the exact string returned by the API).

  3. Paste that value into your test request body as checksum, together with params (keys matching your trigger node's input field names) and optional version (e.g. "draft").

Test workflow

post

Run a workflow in test mode without publishing. Validates full graph execution against given input parameters.

checksum is required and must match the server's current checksum — if not, the test is rejected. Always get the latest checksum from GET /dev/v1/workflow/{entity-id}data.checksum before testing.

params keys must match the field names defined in the trigger node's data.input map. For the example workflow: orderId (string), cartTotal (numeric), customerTier (string).

version defaults to draft if omitted.

Response data contains per-node execution output (nodeOutputs), overall workflow output, status, and executionTime.

Canonical response file: examples/test_workflow_200.json

Authorizations
Nected-API-KeystringRequired

Your Nected API key. Obtain from your workspace settings.

Path parameters
entity-idstringRequired

The workflow entity ID

Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
Header parameters
Nected-BranchstringOptional

Branch name (optional)

Body

Request body for the test endpoint

checksumstringOptional

Current checksum from Get workflow by id — must match server state

versionstringOptional

Version to test (defaults to draft)

Example: draft
Responses
200

OK — test execution result with node outputs.

application/json

Standard API response wrapper

codestringOptional
dataanyOptional

Response payload — shape varies by endpoint

messagestringOptional
pageNointegerOptional
pageSizeintegerOptional
totalCountintegerOptional
totalPagesintegerOptional
post
/dev/v1/workflow/{entity-id}/test

Request body

Example on POST /dev/v1/workflow/{entity-id}/test in openapi.yaml:

Replace "checksum" with the value from GET /dev/v1/workflow/{entity-id}data.checksum.

Last updated