cURL
curl --request GET \ --url https://api.example.com/workflows/{workflow_id}/jobs/{job_id}/events
{ "connected": {}, "log": { "timestamp": "<string>", "message": "<string>", "sequence_num": 123, "stream": "<string>" }, "end": {}, "error": {} }
Stream real-time job logs using Server-Sent Events (SSE)
Content-Type: text/event-stream Cache-Control: no-cache Connection: keep-alive
event: connected data: {"status":"connected"}
stdout
stderr
event: end data: {"status":"stream_ended"}
event: error data: error message here
curl -N -X GET 'https://api.chronoverse.dev/workflows/wf_abc123/jobs/job_xyz789/events' \ -H 'Authorization: Bearer YOUR_API_TOKEN'
event: connected data: {"status":"connected"} event: log data: {"timestamp":"2026-03-03T10:00:05.123Z","message":"Starting workflow execution","sequence_num":1,"stream":"stdout"} event: log data: {"timestamp":"2026-03-03T10:00:06.456Z","message":"Loading configuration","sequence_num":2,"stream":"stdout"} event: log data: {"timestamp":"2026-03-03T10:00:07.789Z","message":"Warning: deprecated option used","sequence_num":3,"stream":"stderr"} event: log data: {"timestamp":"2026-03-03T10:15:30.123Z","message":"Workflow completed successfully","sequence_num":1547,"stream":"stdout"} event: end data: {"status":"stream_ended"}