Skip to main content
GET
获取任务状态

授权

X-API-Key
string
header
必填

API密钥认证。从您的用户设置中生成API密钥 位于https://platform.comfy.org/profile/api-keys。在X-API-Key头中传递密钥。

路径参数

job_id
string<uuid>
必填

任务的唯一ID

响应

成功:已返回任务状态

任务状态信息

id
string<uuid>
必填

任务ID

status
enum<string>
必填

当前任务状态

可用选项:
waiting_to_dispatch,
pending,
in_progress,
completed,
error,
cancelled
created_at
string<date-time>
必填

任务创建时间

updated_at
string<date-time>
必填

任务最后更新时间

last_state_update
string<date-time>

任务状态最后变更时间

assigned_inference
string | null

分配给此任务的推理实例(如有)

error_message
string | null

任务失败时的报错信息