API 參考

Recover original clone request

GET/v1/audio-clone/requests/{request_id}

Owner-scoped original-request recovery. Queries only the original submitted task. Missing upstream acceptance remains unknown; no retry submission or free refund. Settled output and USD receipt survive process restart without requiring a new generation. Output URLs may expire; no automatic output copy is made. Depleted valid Keys and withdrawn models can still recover their existing owned tasks.

鑑權與許可權

使用當前 GloopAPI Key。模型、功能與許可權以當前 Key 的目錄及介面說明為準。

Authorization: Bearer $GLOOP_API_KEY

鑑權方案: BearerAuth

請求

路徑引數

響應與錯誤

HTTP 200

Authoritative current execution or quote. Unknown retains its hold.

application/json

型別
object
必填欄位
idmodelstatecreated_atresult_deleted
  • idstring必填
  • modelstring必填
  • statestring必填
    列舉
    ["unknown","succeeded","failed"]
  • created_atinteger必填
  • result_deletedboolean必填
  • billingobject選填
    billing 子欄位(5)
  • resultobject選填
    result 子欄位(6)
    • file_idstring選填

      同賬戶同 Key 的託管檔案公開 ID。

    • storage_statusstring選填

      歷史檔案封存狀態;新生成的結果不自動轉存,直接使用供應商結果。

    • audio_urlstring必填

      生成音訊訪問地址,託管時由儲存層提供簽名 URL。

    • content_typestring選填

      結果 MIME 型別。

    • file_namestring選填

      公開下載檔名。

    • file_sizeinteger選填

      結果檔案位元組數。

  • request_idstring選填

    Original Idempotency-Key when supplied. Required for quoted clone requests.

HTTP 202

Authoritative current execution or quote. Unknown retains its hold.

application/json

型別
object
必填欄位
idmodelstatecreated_atresult_deleted
  • idstring必填
  • modelstring必填
  • statestring必填
    列舉
    ["unknown","succeeded","failed"]
  • created_atinteger必填
  • result_deletedboolean必填
  • billingobject選填
    billing 子欄位(5)
  • resultobject選填
    result 子欄位(6)
    • file_idstring選填

      同賬戶同 Key 的託管檔案公開 ID。

    • storage_statusstring選填

      歷史檔案封存狀態;新生成的結果不自動轉存,直接使用供應商結果。

    • audio_urlstring必填

      生成音訊訪問地址,託管時由儲存層提供簽名 URL。

    • content_typestring選填

      結果 MIME 型別。

    • file_namestring選填

      公開下載檔名。

    • file_sizeinteger選填

      結果檔案位元組數。

  • request_idstring選填

    Original Idempotency-Key when supplied. Required for quoted clone requests.

HTTP 400

輸入無效。

application/json

型別
object
必填欄位
error

HTTP 401

Key 缺失、無效、過期或已撤銷。

application/json

型別
object
必填欄位
error

HTTP 403

IP、賬戶、模型或工具許可權不足。

application/json

型別
object
必填欄位
error

HTTP 404

未找到本人執行;不能據此判斷未知生成沒有計費。

application/json

型別
object
必填欄位
error

HTTP 409

請求 ID 內容衝突,或在途執行不能刪除。

application/json

型別
object
必填欄位
error

HTTP 429

請求/佇列限流。

application/json

型別
object
必填欄位
error

HTTP 500

鑑權或資料儲存內部失敗。

application/json

型別
object
必填欄位
error

HTTP 503

暫不可用;已提交結果不確定時查詢原請求。

application/json

型別
object
必填欄位
error