Check task status
Two paths for this operation
This operation is available on two paths. /api/statistics/padel is the current one -
prefer it for new integrations. The shorter /api/statistics path is kept for
backwards compatibility and may be removed in a future release.
Calling this endpoint retrieves the current processing status of the task with ID: task_id.
GET
/api/statistics/padel/{task_id}/statusAuthorization
AuthorizationBearer <token>requiredBearer authentication header of the form Bearer <token>, where <token> is your auth token.
In: header
Path Parameters
task_idstring<uuid>requiredResponse Body
The current processing status of the task was returned
application/jsondataobjectoptionaltask_idstring<uuid>requiredExample
"52921d5c-eb41-45d6-96a8-f2da5616c717"video_urlstringrequiredExample
"https://example.com/video/3cab8744-fd22-4efe-a5f4-9a7fc8ad3716.mp4"task_statusstringrequiredAllowed values
"pending""in_progress""completed""failed""abandoned""canceled"task_progressnumberrequiredExample
0.45total_subtask_progressnumberoptionalExample
0.125subtask_progressobjectoptionalcurl -X GET "https://example.com/api/statistics/padel/52921d5c-eb41-45d6-96a8-f2da5616c717/status"{ "data": { "task_id": "52921d5c-eb41-45d6-96a8-f2da5616c717", "video_url": "https://example.com/video/3cab8744-fd22-4efe-a5f4-9a7fc8ad3716.mp4", "task_status": "pending", "task_progress": 0.45, "total_subtask_progress": 0.125, "subtask_progress": { "property1": 0.5, "property2": 0.5 } }}