TypeScript
const options = {method: 'GET'}; fetch('https://api.example.com/v1/regions/global/workflows/{id}/runs', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "id": "<string>", "workflowId": "<string>", "status": "pending", "createdAt": "2023-11-07T05:31:56Z", "triggeredBy": "<string>", "inputs": {}, "outputs": {}, "startedAt": "2023-11-07T05:31:56Z", "completedAt": "2023-11-07T05:31:56Z", "duration": 123 } ], "meta": { "total": 123, "limit": 123, "offset": 123 } }
List execution instances for a workflow. Use to track and monitor workflow runs.
Workflow identifier
Filter by run status
pending
running
succeeded
failed
cancelled
Maximum number of results
Number of results to skip
List of workflow runs
true
Show child attributes
Was this page helpful?