API 参考
删除已保存的聊天结果
DELETE
/v1/chat/completions/{completion_id}仅能操作当前 Key 显式 store=true 保存的已结算完整结果,正文保留七天。查询无结果不表示原请求未执行,不得据此自动退款或重发。store 和 metadata 不提供请求幂等保证。
鉴权与权限
使用当前 GloopAPI Key。模型、功能与权限以当前 Key 的目录及接口说明为准。
Authorization: Bearer $GLOOP_API_KEY鉴权方案: BearerAuth
请求
路径参数
completion_idstring必填
响应与错误
HTTP 200
成功
application/json
- 类型
- object
HTTP 400
参数无效
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填
HTTP 401
Key 无效
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填
HTTP 404
结果不存在、已删除、已过期或尚不可交付
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填
HTTP 503
暂时不可用
application/json
- 类型
- object
- 必填字段
error
errorobject必填error 子字段(4)
codestring选填messagestring选填typestring选填request_idstring选填