Skip to main content
get/apps/annotation-reply/{action}/status/{job_id}
Request example
Response
get/apps/annotation-reply/{action}/status/{job_id}

Authorization

Authorizationstringheaderrequired#

每个请求都通过 API Key 认证:Authorization: Bearer {API_KEY}。应用接口使用应用 API Key,知识库接口使用知识库 API Key(快速开始)。

API Key 应保存在服务端,切勿嵌入客户端代码。缺失或无效的 Key 会返回 HTTP 401(unauthorized)。

Path parameters

actionenum<string>required#
操作类型,必须与 配置标注回复 调用中的一致。
Options:enabledisable
job_idstringrequired#
由 配置标注回复 接口返回的任务 ID。

Responses

application/json
成功获取任务状态。
error_msgstring#
描述任务失败原因的错误消息。当 job_status 不是 error 时为空字符串。
job_idstring#
来自 配置标注回复 调用的任务 ID。
job_statusstring#
当前任务状态。waiting 表示排队中,processing 表示处理中,completed 表示已完成,error 表示失败。