Docs

Get a Run Step

Inspect one step of a run: the exact data it received and the exact data it returned.

GET

Path

Path parameters
stringrequired

The run's id, from List Runs.

stringrequired

The step instance id, from List Run Steps.

Headers

Optional headers
string

Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.

Response fields

stepInstanceIdstring

Unique id of this step execution.

stepIdstring

The step in the workflow definition.

actionIdstring

The action the step ran.

successboolean

True if the step succeeded.

ranboolean

True if the step executed. False for the first step of an If/Else branch the run did not take, shown when the other branch of that If/Else ran; a branch with no steps is a placeholder whose stepId is null.

requestobject

The exact data the step received. Its shape depends on the action. The connection it ran with appears as a reference, never its secrets: `connectionId` (for Get Connection; null when that connection no longer exists), `authenticationId`, `type` and `label`.

responseobject

The exact data the step returned: { success, message, data, meta }. data depends on the action and the provider.

  • successboolean

    True when the step succeeded.

  • messagestring

    Failed steps: what went wrong, for a person (also meta.message).

  • dataobject

    The step's records: an array whose shape depends on the action and the provider.

  • metaobject

    About the run of the step. The keys below are the runtime's; a step type or an app's response mapper may add others.

    • actionobject

      The action that ran, when the step runs one: its id, slug and operation, and the query, body and params it was called with.

      • idstring

        The action's id.

      • slugstring

        The action's slug.

      • operationstring

        read, create, update or delete.

    • requestobject

      What the step sent, redacted: the connection it ran with is a reference (connectionId for Get Connection, null when that connection is gone; authenticationId, type, label), never its secrets.

    • responseobject

      The provider's answer around the data, such as its status and headers, redacted.

    • codestring

      Failed steps: why, UPPER_SNAKE (API_RESPONSE_MAPPER_MISSING_PROPERTIES, ...).

    • messagestring

      Failed steps: what went wrong, for a person.

    • sizenumber

      Successful steps: the size of what the step returned, in MB.

    • createdOndate

      When the app step answered.

    • warningsarray

      Problems that did not fail the step, each { code }.

      • codestring

        What happened, UPPER_SNAKE.

    • paginationIgnoredstring

      Set when the step's paging settings were not applied: actionPaginationInactive, the action does not page.

    • drainStopReasonstring

      A step reading every page: why it stopped before the last one.