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選填