API reference

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.

Authentication and permissions

Use your current GloopAPI key. Available models, capabilities and permissions depend on its catalog and the endpoint documentation.

Authorization: Bearer $GLOOP_API_KEY

Authentication schemes: BearerAuth

Request

Path parameters

  • idstringRequired

Responses and errors

HTTP 200

Authoritative current execution or quote. Unknown retains its hold.

application/json

Type
object
Required fields
idrequest_idmodelstateversioncreated_atexpires_atresult_deleted
  • idstringRequired
  • request_idstringRequired
  • modelstringRequired
  • statestringRequired
    Enum
    ["pending","unknown","succeeded","failed"]
  • versionintegerRequired
    Enum
    [1]
  • created_atintegerRequired
  • expires_atintegerRequired

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

  • result_deletedbooleanRequired
  • billingobjectOptional
    billing child fields (5)
  • outputobjectOptional
    output child fields (2)
    • datastringRequired

      Base64 inline audio, limited to 16 MiB decoded.

      Format
      "byte"
    • content_typestringRequired

HTTP 202

Authoritative current execution or quote. Unknown retains its hold.

application/json

Type
object
Required fields
idrequest_idmodelstateversioncreated_atexpires_atresult_deleted
  • idstringRequired
  • request_idstringRequired
  • modelstringRequired
  • statestringRequired
    Enum
    ["pending","unknown","succeeded","failed"]
  • versionintegerRequired
    Enum
    [1]
  • created_atintegerRequired
  • expires_atintegerRequired

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

  • result_deletedbooleanRequired
  • billingobjectOptional
    billing child fields (5)
  • outputobjectOptional
    output child fields (2)
    • datastringRequired

      Base64 inline audio, limited to 16 MiB decoded.

      Format
      "byte"
    • content_typestringRequired

HTTP 400

Invalid input.

application/json

Type
object
Required fields
error

HTTP 401

The key is missing, invalid, expired, or revoked.

application/json

Type
object
Required fields
error

HTTP 403

Insufficient IP, account, model, or tool permissions.

application/json

Type
object
Required fields
error

HTTP 404

Your execution was not found; this does not prove an uncertain generation was not billed.

application/json

Type
object
Required fields
error

HTTP 409

Request ID content conflicts, or an in-flight execution cannot be deleted.

application/json

Type
object
Required fields
error

HTTP 429

Request/queue rate limit.

application/json

Type
object
Required fields
error

HTTP 500

Internal authentication or data storage failure.

application/json

Type
object
Required fields
error

HTTP 503

Temporarily unavailable; query the original request if its submitted result is uncertain.

application/json

Type
object
Required fields
error