Skip to main content
GET
查询任务状态
All async endpoints (music, plan, video-to-music, dialogue, stems, upload) return a taskId. Use this endpoint to poll until the task reaches a terminal status (completed, failed, or timeout). GET /eleven/voices is synchronous and does not use this endpoint.

Task Status Values

Use 3-5 second polling intervals. Music generation typically takes 30-120 seconds depending on track length.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

taskId
string
required

任务ID (eleven-xxxxxxxx-...)

Response

200 - application/json

任务状态

taskId
string
required

任务 ID

status
enum<string>
required

任务状态

Available options:
pending,
ready,
assigned,
processing,
completed,
failed,
cancelled,
timeout
result
object | null

任务结果(直接透传协议层返回,类型根据任务类型不同而变化)

errorMessage
string

错误信息

errorCode
number

错误代码

finishedAt
string<date-time>

完成时间

createdAt
string<date-time>

创建时间

traceId
string

追踪 ID