跳转到主要内容
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 密钥。
Authorization
string
必填
Bearer Token。格式为 Bearer YOUR_API_KEY
Content-Type
string
必填
必须设置为 application/json

路径参数

request_id
string
必填
暂存记录的请求 ID。通常来自 列出列表lookup 反查

响应结构

request_id
string
请求 ID,Poixe AI 系统内部使用的唯一标识。
created_at
integer
创建时间(Unix 秒级时间戳)。
interrupted_reason
string
中断原因(如 context canceled)。
request
object
原始请求信息。
response
object
暂存的完整响应内容。
当原始请求体超过 20MB,系统不会存储请求体内容,request.body_raw 将返回:__OMITTED_TOO_LARGE__这不会影响找回响应:response.body_raw 仍可正常获取。