{
"id": "resp_example",
"object": "response",
"created_at": 1700000000,
"model": "YOUR_MODEL_ID",
"status": "queued",
"background": true,
"output": [],
"error": null,
"usage": null
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}API 参考
查询插件任务响应
读取本平台插件任务的 Responses 状态与输出。
{
"id": "resp_example",
"object": "response",
"created_at": 1700000000,
"model": "YOUR_MODEL_ID",
"status": "queued",
"background": true,
"output": [],
"error": null,
"usage": null
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"param": "<string>",
"code": "<unknown>"
}
}GET /v1/responses/{response_id}
使用 Bearer 令牌和创建请求返回的完整 response_id,无请求体。此处的 GET 含 ID,用于 JSON 快照;不含 ID 的 GET /v1/responses 是 WebSocket 升级入口。
当前查询实现读取本平台任务记录,不向普通上游代理 GET。只返回同一用户、同一项目且结果可检索的插件任务。ID 错误、不可见、结果已丢弃或插件无法解析时可能返回 404,不应自动重新提交任务。
HTTP 200 仍要检查 status 和 error。queued / in_progress 表示继续等待;completed 后再按 output 类型校验业务结果;failed 不代表成功。任务最终结果渲染失败也可能表现为失败的响应对象。
不提供 SSE 续传、input_items、REST cancel 或 delete。见后台模式与有界轮询示例。
Read in English授权
模型调用 API Key,不是控制台登录凭据 / Model API key, not console login credentials
路径参数
经过 URL 编码的完整标识 / Complete URL-encoded identifier
响应
成功结构仍需检查业务字段 / Check business fields even on HTTP success
示例:
"response"
必须检查完成状态,例如 completed、failed、incomplete / Check completion status, for example completed, failed, or incomplete
Show child attributes
Show child attributes
Show child attributes
Show child attributes