Automations

Run one step of the draft alone, in a dry run, in memory, on items (else what the step before it would hand it). A BankSync operation or AI step answers with its sample, marked synthetic, and says what it would do. Nothing is stored, sent or written; output is null unless the key also holds automation_outputs:read.

post/v1/automations/{automationId}/nodes/{nodeId}/tests

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Path parameters

automationId, string required

Automation ID

nodeId, string required

Node ID in the draft

Headers

Idempotency-Key, string

Makes a retry safe: the same key with the same request replays the first answer for 24 hours instead of running twice, and the same key with a different request is a 409 IDEMPOTENCY_KEY_REUSED. Refusals a retry can outlive — 408, 409, 423, 425, 429 and every 5xx — are never replayed, so retrying with the same key after the cause clears runs the request.

Request body

object required
items, Json[]

What to hand the step; else what the step before it would hand it.

Response

The test

object required
success, true required
data, object required

Changes