v40

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-01108178385.8 KB
realtime

Mint an ephemeral realtime client secret

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

Query parameters

providerstring

Optional provider hint

Request body

expires_afterobject
sessionobject

Response

Provider client secret response

object required