Skip to main content
GET
/
api
/
orchestration
/
v2
/
instances
/
{instanceID}
/
stages
/
{number}
/
history
Get a workflow instance stage history
curl --request GET \
  --url http://localhost/api/orchestration/v2/instances/{instanceID}/stages/{number}/history \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "name": "<string>",
      "input": {
        "CreateTransaction": {
          "ledger": "<string>"
        },
        "StripeTransfer": {
          "connectorID": "<string>",
          "amount": 100,
          "asset": "USD",
          "destination": "acct_1Gqj58KZcSIg2N2q",
          "waitingValidation": false,
          "metadata": {
            "order_id": "6735"
          }
        },
        "CreditWallet": {
          "id": "<string>",
          "data": {
            "amount": {
              "asset": "USD/2",
              "amount": 100
            },
            "metadata": {
              "key": ""
            },
            "sources": []
          }
        },
        "DebitWallet": {
          "id": "<string>",
          "data": {
            "amount": {
              "asset": "USD/2",
              "amount": 100
            },
            "metadata": {
              "key": ""
            },
            "pending": true
          }
        },
        "ListWallets": {
          "name": "<string>"
        }
      },
      "terminated": true,
      "startedAt": "2023-11-07T05:31:56Z",
      "attempt": 123,
      "output": {},
      "error": "<string>",
      "terminatedAt": "2023-11-07T05:31:56Z",
      "lastFailure": "<string>",
      "nextExecution": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

instanceID
string
required

The instance id

number
integer
required

The stage number

Response

The workflow instance stage history

data
object[]
required