realtime

Mint an ephemeral realtime client secret

Changed on

OpenAI-compatible ephemeral credential minting for browser and mobile realtime clients. Routes by session.model (or the transcription model for transcription sessions), applies the same model-access, budget, and rate-limit gates as other model endpoints, and relays the provider response verbatim. The minted secret authenticates the client directly against the provider, bypassing the gateway for the session itself.

post/v1/realtime/client_secrets

Request

  • Base URL
    http://localhost:8080
  • URL
    http://localhost:8080/v1/realtime/client_secrets
  • Auth
    HTTP bearer

Query parameters

providerstring

Optional provider hint

Request body

expires_afterobject
sessionobject

Response

Provider client secret response

object required

Changes

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new internal_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status

    • warning

      added the new permission_error enum value to the / response property for the response status