curl https://api.poixe.com/v1/recoveries/2026012919284634345521 \
-H "Authorization: Bearer $POIXE_API_KEY" \
-H "Content-Type: application/json"
{
"request_id": "2026012919284634345521",
"created_at": 1769686134,
"interrupted_reason": "context canceled",
"request": {
"body_raw": "{\"model\":\"gpt-4o-mini\",\"messages\":[{\"role\":\"user\",\"content\":\"证明费马大定理.\"}],\"stream\":false}",
"request_body_hash": "6ded87ad1c72779a"
},
"response": {
"body_raw": "{\"id\":\"chatcmpl-D3KUZpROV3MImaoGMSAtSninGzmmE\",\"object\":\"chat.completion\",\"created\":1769686127,\"model\":\"gpt-4o-mini-2024-07-18\",\"choices\":[{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"...\",\"refusal\":null,\"annotations\":[]},\"logprobs\":null,\"finish_reason\":\"stop\"}],\"usage\":{\"prompt_tokens\":14,\"completion_tokens\":448,\"total_tokens\":462}}",
"response_body_size": 2245
}
}
GET
https://api.poixe.com/v1/recoveries/{request_id}
通过 request_id 获取某一条暂存响应的完整详情(包含 原始请求体 与 完整响应体)。
如果你还没有 request_id,可以先使用 列出列表 获取,或用 lookup 反查 通过原始请求体反查候选记录。
鉴权与请求头
所有 API 请求都必须在 HTTP Header 中包含您的 API 密钥。
Bearer Token。格式为 Bearer YOUR_API_KEY。
路径参数
响应结构
请求 ID,Poixe AI 系统内部使用的唯一标识。
中断原因(如 context canceled)。
原始请求信息。
原始请求 JSON 字符串。若请求体超过 20MB,可能返回占位符。
当原始请求体超过 20MB,系统不会存储请求体内容,request.body_raw 将返回:__OMITTED_TOO_LARGE__。这不会影响找回响应:response.body_raw 仍可正常获取。