模型

删除响应

按 ID 删除一条响应。

先调用「生成响应」,用返回的 ID 替换 resp_123。

DELETE /model/v1/responses/{response_id}● 支持

官方文档 ↗

请求参数

  • response_idstring必填

    path: Id of the stored response, the `id` returned by createResponse (it looks like resp_...). An unknown id, a response created with store false, an expired response and another tenant's response all answer 404.

返回

200 response

按 ID 立即删除一条已保存的响应。如果创建时 store 为 false,我们不会保存这次响应,删除会返回 404 response_not_found。

鉴权、限流、参数校验等平台错误按 problem+json 返回;OCR 的错误也为 problem+json,其它模型调用的错误按该端点所属格式(OpenAI 或 Anthropic)返回,参见 错误码

响应

HTTP 200

Native Responses API delete response

application/json

名称类型说明
$object