Monitor workflow executions
curl -X GET "http://localhost:8002/api/v1/executions?workflow=daily-report&limit=10" \ -H "X-API-Key: your-api-key"
{ "executions": [ { "id": "exec_abc123", "workflow": "daily-report", "status": "completed", "startedAt": "2025-10-31T09:00:00Z", "completedAt": "2025-10-31T09:05:23Z", "duration": "5m 23s" } ] }
curl -X GET http://localhost:8002/api/v1/executions/exec_abc123 \ -H "X-API-Key: your-api-key"
{ "id": "exec_abc123", "workflow": "daily-report", "status": "completed", "startedAt": "2025-10-31T09:00:00Z", "completedAt": "2025-10-31T09:05:23Z", "tasks": [ { "name": "generate-report", "status": "completed", "duration": "5m 20s", "output": "Report generated successfully" } ] }
curl -X GET http://localhost:8002/api/v1/executions/exec_abc123/logs \ -H "X-API-Key: your-api-key"
{ "executionId": "exec_abc123", "logs": [ { "timestamp": "2025-10-31T09:00:00Z", "level": "info", "message": "Starting workflow execution" }, { "timestamp": "2025-10-31T09:05:23Z", "level": "info", "message": "Workflow completed successfully" } ] }
curl -X POST http://localhost:8002/api/v1/executions/exec_abc123/stop \ -H "X-API-Key: your-api-key"
Was this page helpful?