Get Status
GET/api/v1/tasks/:task_id
Get the status of a Celery task.
Parameters:
task_id: Unique identifier of the Celery task
Returns: JSONResponse with:
task_id: The ID of the tasktask_status: Current status of the tasktask_result: Result of the task (if available)
Example Response: { "task_id": "abc123", "task_status": "SUCCESS", "task_result": {"some_key": "some_value"} }
Raises:
- HTTPException 500: If fetching the task status fails
Request
Responses
- 200
Successful Response