TypeScript
const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({requestId: 'req-12345'}) }; fetch('http://localhost:4010/v1/atlas/example-workflow', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": { "id": "<string>", "type": "<string>", "status": "<string>", "startedAt": "<string>", "triggeredFrom": "<string>", "publicAccessToken": "<string>" }, "meta": { "requestId": "<string>", "timestamp": "<string>" } }
Triggers the example workflow which runs 5 sequential steps, each taking approximately 30 seconds.
Optional request ID for tracking
Workflow triggered successfully
true
Show child attributes
Was this page helpful?