live

Client Secrets

Creates a session and returns its client secret, the short-lived credential a browser or worker opens the session's socket (session.live_url) with, so it never holds an API key. A live session is a full-duplex conversation with nemotron-voicechat; a transcription session streams speech-to-text with nemotron-asr-streaming.

post/v1/live/client_secrets

Request

  • Base URL
    https://api.dotwave.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.dotwave.ai/v1/live/client_secrets
  • Auth
    none declared

Headers

authorizationstring nullable

Bearer wk_…: the project's API key (Token is an alias of Bearer). Create API keys in the console. New accounts start with $10 of credit; no card required.

x-api-keystring nullable

The same API key, in place of the Authorization header.

Request body

metadataobject

Example request

{
  "session": {
    "audio": {
      "input": {
        "transcription": {
          "language": "auto",
          "model": "nemotron-asr-streaming"
        }
      }
    },
    "model": "nemotron-voicechat"
  }
}

Response

Successful Response

expires_atinteger required
valuestring required

Changes

No recorded changes to this operation across all 1 revision of this API.