| Status | Description | Action |
|---|---|---|
pending | Task is waiting to be processed | Continue polling |
processing | Task is being processed | Continue polling |
completed | Task execution completed | Directly obtain results from the result array list |
failed | Task execution failed | Check code and message for details |
cancelled | Task has been cancelled | Task cancelled, exit without further processing |
curl --location --request GET 'https://api.apipod.ai/v1/images/status/' \
--header 'Authorization: Bearer <token>'{
"code": 200,
"message": "success",
"data": {
"task_id": "2f0392df-7da1-4128-8e30-7ea3d81446b3",
"status": "completed",
"result": [
"https://s.apipod.ai/images/demo.png"
],
"completed_at": 1775137415
}
}