Get Queue Status
GET /api/queue/status
cURL
Response
Whether the queue is paused (manual OR scheduler)
Whether the queue was manually paused via API
Whether the queue was paused by the scheduler
Total items in the queue
Items waiting for cooldown to expire
Items ready to be processed
Items currently being processed
200 Success
Pause Queue
POST /api/queue/pause
Manually pause the queue. Items will continue to be enqueued but won’t be processed until resumed.
cURL
200 Success
Resume Queue
POST /api/queue/resume
Resume a manually paused queue.
cURL
200 Success
If the scheduler has also paused the queue, resuming manually won’t start processing until the scheduler conditions are also met.
List Queue Items
GET /api/queue/items
Get all items currently in the queue.
cURL
Response
200 Success
Queue Item Fields
| Field | Type | Description |
|---|---|---|
id | string | UUID of the queue item |
file_path | string | Absolute path to the file |
action | string | "index", "delete", or "move" |
status | string | "cooling_down", "ready", or "processing" |
enqueued_at | number | Unix timestamp when item was enqueued |
cooldown_expires_at | number | Unix timestamp when cooldown expires |
dest_path | string | null | Destination path for move actions |
retry_count | number | Number of failed processing attempts |
Remove Queue Item
DELETE /api/queue/items/{item_id}
Remove an item from the queue by its UUID.
cURL
200 Success
404 Not Found