API Reference v3.0
- auth.v1
- API Reference
- ledger.v1
- ledger.v2
- payments.v1
- payments.v3
- search.v1
- webhooks.v1
- wallets.v1
- orchestration.v1
- GETGet server info
- GETList triggers
- POSTCreate trigger
- GETRead trigger
- DELDelete trigger
- GETList triggers occurrences
- GETList registered workflows
- POSTCreate workflow
- GETGet a flow by id
- DELDelete a flow by id
- POSTRun workflow
- GETList instances of a workflow
- GETGet a workflow instance by id
- POSTSend an event to a running workflow
- PUTCancel a running workflow
- GETGet a workflow instance history by id
- GETGet a workflow instance stage history
- GET
- orchestration.v2
- reconciliation.v1
orchestration.v1
List triggers occurrences
List triggers occurrences
GET
/
api
/
orchestration
/
triggers
/
{triggerID}
/
occurrences
Copy
Ask AI
curl --request GET \
--url http://localhost:55001/api/orchestration/triggers/{triggerID}/occurrences \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"data": [
{
"date": "2023-11-07T05:31:56Z",
"workflowInstanceID": "<string>",
"workflowInstance": {
"workflowID": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"status": [
{
"stage": 123,
"instanceID": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"terminated": true,
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
},
"triggerID": "<string>",
"event": {},
"error": "<string>"
}
]
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The trigger id
Response
200
application/json
List of triggers occurrences
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url http://localhost:55001/api/orchestration/triggers/{triggerID}/occurrences \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"data": [
{
"date": "2023-11-07T05:31:56Z",
"workflowInstanceID": "<string>",
"workflowInstance": {
"workflowID": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"status": [
{
"stage": 123,
"instanceID": "<string>",
"startedAt": "2023-11-07T05:31:56Z",
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
}
],
"terminated": true,
"terminatedAt": "2023-11-07T05:31:56Z",
"error": "<string>"
},
"triggerID": "<string>",
"event": {},
"error": "<string>"
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.