Automations

Dry-run an automation

Dry-runs the published revision (publish first; its grant need not be approved). Reads run unless the node has a fixture; everything that would send or write yields its fixture or sample, marked synthetic. Nothing is sent or written, and no state or dedupe is kept.

post/v1/automations/{automationId}/dry-runs

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

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
inputs, union

What to start it with: a manual trigger’s inputs, or for an automation that starts from an event, the event itself (else the trigger’s sample). It is handed on as ONE item (item is this value; inputs everywhere): send a list inside it ({ "rows": [...] }) and loop over it or use it in an expression.

triggerRef, string

Which trigger to start, by its ref; else the manual trigger, a schedule, or the first that starts from an event. A ref the automation has no trigger for is refused.

idempotencyKey, string

Any unique string (a UUID) you send again when you retry this call: a retry answers what the first call made and makes nothing new. Send a new one for a new call.

Response

The dry run an earlier call with the same idempotency key made (nothing new was made)

object required
success, true required
data, object required

Changes

No recorded changes to this operation across all 6 revisions of this API.