Skip to main content
GET
Query T2A Async V2 Task Status
Note: This API allows a maximum of 10 queries per second.

Authorizations

Authorization
string
header
required

HTTP: Bearer Auth

Query Parameters

task_id
integer<int64>
required

The task ID returned when the task was submitted.

Response

200 - application/json
task_id
integer<int64>

The task ID.

status
enum<string>

The current status of the task.

  • Processing: The task is still being processed
  • Success: The task has completed successfully
  • Failed: The task failed
  • Expired: The task has expired
Available options:
success,
failed,
expired,
processing
file_id
integer<int64>

The ID of the audio file generated when the task was created. Once the task is complete, you can use the file_id to download the file via the File(Retrieve) API.

This field will not be returned if the request encounters an error.

Note: The returned download URL is valid for 9 hours (32,400 seconds) from the time it is generated.

base_resp
object

Status code and details.