Execution monitoring flow
Inspect a single execution
Use:- Did the execution start
- Is it still running
- What phase is it in
- Did it complete successfully
- Is result data ready yet
Execution statuses
| Status | Meaning |
|---|---|
queued | Execution exists but work has not started yet |
running | Work is actively being processed |
paused | Execution is paused |
completed | Execution finished successfully |
failed | Execution finished with an error |
cancelled | Execution was stopped before completion |
List executions
Use:- Dashboards
- Polling workers
- Admin tooling
- Historical run inspection
Control a running execution
Task Service supports explicit runtime control actions:| Action | Endpoint |
|---|---|
| Pause | POST /api/v1/executions/:id/pause |
| Resume | POST /api/v1/executions/:id/resume |
| Stop | POST /api/v1/executions/:id/stop |
Recommended polling pattern
What to do after completion
Once an execution reachescompleted, switch from execution APIs to:
- Result metadata endpoints
- Export endpoints
- Dataset endpoints
- Media download endpoints
Troubleshooting
| Problem | Check first |
|---|---|
Execution never leaves queued | Worker capacity and scheduler health |
| Execution flips between states unexpectedly | Verify whether pause/resume logic is in use |
Execution is completed but exports fail | Result ingestion or result path timing |
Execution is failed | Inspect execution details and platform logs |