TypeScript
const options = {method: 'GET'}; fetch('https://api.example.com/v1/regions/global/workflows/{id}/runs/{runId}/logs', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": [ { "timestamp": "2023-11-07T05:31:56Z", "level": "debug", "message": "<string>", "step": "<string>", "metadata": {} } ] }
Retrieve logs for a specific workflow run
Workflow identifier
Run identifier
Filter by log level
debug
info
warning
error
Workflow run logs
true
Show child attributes
Was this page helpful?