Documentation Index
Fetch the complete documentation index at: https://taskdaemon.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
HTTP API
TaskDaemon exposes a REST API for task management.Base URL
Endpoints
Queue Task
Queue a new task for processing.Handler name (must match a handler in
handlers.toml)Task data passed to the handler
Task priority (0-100). Higher = processed first when using priority selection.
Get Task
Retrieve task details and status.| Status | Description |
|---|---|
pending | Queued, waiting for worker |
processing | Currently being processed |
completed | Successfully completed |
failed | Failed after all retries |
List Tasks
List recent tasks.Delete Task
Delete a task from the queue.204 No Content on success, 404 Not Found if task doesn’t exist.
Redrive Task
Retry a failed task.200 OK on success, 404 Not Found if task doesn’t exist or isn’t failed.
Health Check
Check service health.Metrics
Prometheus metrics endpoint.Response
API Metrics
JSON metrics summary.Swagger UI
Interactive API documentation.Error Responses
| Status Code | Description |
|---|---|
200 | Success |
204 | No Content (delete success) |
400 | Bad request |
404 | Not found |
500 | Internal server error |
Priority Tasks
When usingDAEMON_TASK_SELECTION=priority, tasks are processed in priority order:
Priority range is 0 (lowest) to 100 (highest). Default is 50 if not specified.