Skip to main content
GET
查询任务状态

授权

Authorization
string
header
必填

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

查询参数

taskId
string
必填

任务 ID(UUID 格式)

响应

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

elapsedMs
number

任务耗时(毫秒),任务达到终态(completed / failed / timeout)时写入