跳转到主要内容
GET
查询任务状态
轮询直到终态:completed、failed、cancelled 或 timeout。 completed 时 result 为上游透传(图像 / 视频形态不同)。失败看 errorMessage / errorCode。

授权

Authorization
string
header
必填

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

查询参数

taskId
string
必填

任务ID

响应

200 - application/json
taskId
string
必填

任务 ID

status
enum<string>
必填

任务状态

可用选项:
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