curl --request GET \
--url http://localhost:55001/api/orchestration/v2/instances/{instanceID}/history \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"name": "<string>",
"input": {
"amount": {
"asset": "<string>",
"amount": 123
},
"destination": {
"wallet": {
"id": "<string>",
"balance": "<string>"
},
"account": {
"id": "<string>",
"ledger": "<string>"
},
"payment": {
"psp": "<string>"
}
},
"source": {
"wallet": {
"id": "<string>",
"balance": "<string>"
},
"account": {
"id": "<string>",
"ledger": "<string>"
},
"payment": {
"id": "<string>"
}
},
"metadata": {},
"timestamp": "2023-11-07T05:31:56Z"
},
"error": "<string>",
"terminated": true,
"startedAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z"
}
]
}
Get a workflow instance history by id
curl --request GET \
--url http://localhost:55001/api/orchestration/v2/instances/{instanceID}/history \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"name": "<string>",
"input": {
"amount": {
"asset": "<string>",
"amount": 123
},
"destination": {
"wallet": {
"id": "<string>",
"balance": "<string>"
},
"account": {
"id": "<string>",
"ledger": "<string>"
},
"payment": {
"psp": "<string>"
}
},
"source": {
"wallet": {
"id": "<string>",
"balance": "<string>"
},
"account": {
"id": "<string>",
"ledger": "<string>"
},
"payment": {
"id": "<string>"
}
},
"metadata": {},
"timestamp": "2023-11-07T05:31:56Z"
},
"error": "<string>",
"terminated": true,
"startedAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z"
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
The instance id
The workflow instance history
The response is of type object
.