Skip to main content

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 task
  • task_status: Current status of the task
  • task_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

Successful Response