Entity Management
Celery Worker
The Celery Worker service provides functionality to manage and monitor asynchronous tasks, including starting tasks, checking their status, retrieving results, and clearing task queues.
Celery Worker Operations
Start Task GET /v1/celery_worker/start
| Resource URL | /v1/celery_worker/start |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Example Request
Example Response
Check Task Status GET /v1/celery_worker/status
| Resource URL | /v1/celery_worker/status |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | ID of task to check |
Example Request
Example Response
Get Task Result GET /v1/celery_worker/result
| Resource URL | /v1/celery_worker/result |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| task_id | string | Yes | ID of task to get result |
Example Request
Example Response
Clear Tasks GET /v1/celery_worker/clear
| Resource URL | /v1/celery_worker/clear |
|---|---|
| Response Format | JSON |
| Requires Authentication | Yes |
| Rate Limited | Yes |
| HTTPS | Yes |
Example Request
Example Response
HTTP Response Codes
| HTTP Code | Message |
|---|---|
| 200 | Success |
| 400 | Bad Request |
| 401 | Unauthorized |
| 404 | Task not found |
| 500 | Internal Server Error |