Status Codes
TaskStatusDescription
| Status value | Meaning | Recommended action |
|---|---|---|
queued | Task submitted, waiting to be scheduled. | Continue polling. |
in_progress | Task is running. Check the progress field for progress. | Continue polling, recommended interval: 2–5 seconds. |
success | Task completed. Result is in the result field. | Read result.url to download or display the result. |
failed | Task failed. See error.message for details. | Diagnose using the error message, fix the parameters, and resubmit. |
pending | Task status pending confirmation (transitional status). | Continue polling. |