API リファレンス

Get durable speech

GET/v1/audio-runs/{id}

Versioned public durable speech extension using an ordinary API Key. Input follows the non-streaming OpenAI speech subset. A signed speech cost quote binds identity, exact original input and immutable character pricing. Full maximum is reserved before dispatch. One user/Key/request_id owns one dispatch; retries return the original record and changed input conflicts. Query the original request after uncertainty; never replay a generation to recover. Inline audio is exposed only after authoritative settlement, retained for seven days in the durable record and never automatically downloaded or copied to object storage. Deleted or expired content stays succeeded with result_deleted=true; billing and identity remain.

認証と権限

現在の GloopAPI キーを使用します。利用可能なモデル、機能、権限は、そのカタログとエンドポイントのドキュメントによって異なります。

Authorization: Bearer $GLOOP_API_KEY

認証スキーム: BearerAuth

リクエスト

パスパラメータ

  • idstring必須

応答とエラー

HTTP 200

Authoritative current execution or quote. Unknown retains its hold.

application/json

タイプ
object
必須フィールド 説明
idrequest_idmodelstateversioncreated_atexpires_atresult_deleted
  • idstring必須
  • request_idstring必須
  • modelstring必須
  • statestring必須
    列挙型
    ["pending","unknown","succeeded","failed"]
  • versioninteger必須
    列挙型
    [1]
  • created_atinteger必須
  • expires_atinteger必須

    Content retention ends after seven days. Accounting and original request identity remain.

  • result_deletedboolean必須
  • billingobjectオプション
    billing 子フィールド (5)
    • statusstring必須
      列挙型
      ["settled","refunded"]
    • currencystring必須
      列挙型
      ["USD"]
    • final_amountstringオプション

      Authoritative finalized wallet charge. Missing does not mean zero.

    • pricing_versionstringオプション
    • quote_idstringオプション
  • outputobjectオプション
    output 子フィールド (2)
    • datastring必須

      Base64 inline audio, limited to 16 MiB decoded.

      形式
      "byte"
    • content_typestring必須

HTTP 202

Authoritative current execution or quote. Unknown retains its hold.

application/json

タイプ
object
必須フィールド 説明
idrequest_idmodelstateversioncreated_atexpires_atresult_deleted
  • idstring必須
  • request_idstring必須
  • modelstring必須
  • statestring必須
    列挙型
    ["pending","unknown","succeeded","failed"]
  • versioninteger必須
    列挙型
    [1]
  • created_atinteger必須
  • expires_atinteger必須

    Content retention ends after seven days. Accounting and original request identity remain.

  • result_deletedboolean必須
  • billingobjectオプション
    billing 子フィールド (5)
    • statusstring必須
      列挙型
      ["settled","refunded"]
    • currencystring必須
      列挙型
      ["USD"]
    • final_amountstringオプション

      Authoritative finalized wallet charge. Missing does not mean zero.

    • pricing_versionstringオプション
    • quote_idstringオプション
  • outputobjectオプション
    output 子フィールド (2)
    • datastring必須

      Base64 inline audio, limited to 16 MiB decoded.

      形式
      "byte"
    • content_typestring必須

HTTP 400

入力が無効です。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 401

キーが見つからないか、無効であるか、期限切れであるか、取り消されています。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 403

IP、アカウント、モデル、またはツールの権限が不十分です。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 404

実行は見つかりませんでした。これは、不確実な世代に請求が行われていないことを証明するものではありません。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 409

リクエスト ID の内容が競合しているか、in-flight の実行を削除できません。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 429

リクエスト/キューのレート制限。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 500

内部認証またはデータ ストレージのエラー。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)

HTTP 503

一時的に利用できません。送信された結果が不確かな場合は、元のリクエストをクエリします。

application/json

タイプ
object
必須フィールド 説明
error
  • errorobject必須
    error 子フィールド (4)
構築する準備はできましたか?を開きます コンソール で API キーを作成するか、参照します の機能.