> ## Documentation Index
> Fetch the complete documentation index at: https://gproxy.leenhawk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# POST /v1/realtime/client_secrets

> Available at the instance root or under a provider/namespace prefix. Shared paths select the wire dialect from client headers; without dialect evidence, the first listed route wins.



## OpenAPI

````yaml /generated/openapi.json post /v1/realtime/client_secrets
openapi: 3.1.0
info:
  description: >-
    Forwarding, management, portal and OAuth APIs generated from Rust types.
    Input and output schemas preserve their respective Serde contracts.
    Streaming events and WebSocket messages are documented alongside HTTP
    payloads.
  title: GPROXY HTTP API
  version: 4.2.1
servers: []
security:
  - bearer: []
  - anthropicKey: []
  - googleKey: []
  - queryKey: []
paths:
  /v1/realtime/client_secrets:
    post:
      tags:
        - Forwarding
      summary: POST /v1/realtime/client_secrets
      description: >-
        Available at the instance root or under a provider/namespace prefix.
        Shared paths select the wire dialect from client headers; without
        dialect evidence, the first listed route wins.
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Input_CreateRealtimeClientSecretRequestBody'
        required: true
      responses:
        2XX:
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Output_CreateRealtimeClientSecretResponseBody
          description: Successful protocol response
        default:
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/Output_Envelope'
                  - properties:
                      error:
                        $ref: '#/components/schemas/Output_ErrorDetail'
                    required:
                      - error
                    type: object
                  - allOf:
                      - $ref: '#/components/schemas/Output_ErrorEvent'
                      - properties:
                          type:
                            const: error
                        required:
                          - type
                        type: object
                  - properties:
                      error:
                        $ref: '#/components/schemas/Output_GenerateContentError'
                    required:
                      - error
                    type: object
            text/plain:
              schema:
                type: string
          description: Gateway or upstream error
components:
  schemas:
    Input_CreateRealtimeClientSecretRequestBody:
      additionalProperties: true
      properties:
        expires_after:
          anyOf:
            - $ref: '#/components/schemas/Input_ClientSecretExpiresAfter'
            - type: 'null'
        session:
          anyOf:
            - $ref: '#/components/schemas/Input_ClientSecretSession'
            - type: 'null'
      type: object
    Output_CreateRealtimeClientSecretResponseBody:
      additionalProperties: true
      properties:
        expires_at:
          format: uint64
          minimum: 0
          type: integer
        session:
          $ref: '#/components/schemas/Output_ClientSecretResponseSession'
        value:
          type: string
      required:
        - value
        - expires_at
        - session
      type: object
    Output_Envelope:
      properties:
        error:
          $ref: '#/components/schemas/Output_EnvelopeBody'
      required:
        - error
      type: object
    Output_ErrorDetail:
      properties:
        code:
          type:
            - string
            - 'null'
        message:
          type: string
        param:
          type:
            - string
            - 'null'
        type:
          type:
            - string
            - 'null'
      required:
        - message
      type: object
    Output_ErrorEvent:
      additionalProperties: true
      properties:
        error:
          $ref: '#/components/schemas/Output_StreamError'
        request_id:
          type:
            - string
            - 'null'
      required:
        - error
      type: object
    Output_GenerateContentError:
      additionalProperties: true
      properties:
        code:
          format: int64
          type: integer
        details:
          items: true
          type:
            - array
            - 'null'
        message:
          type: string
        status:
          type:
            - string
            - 'null'
      required:
        - code
        - message
      type: object
    Input_ClientSecretExpiresAfter:
      additionalProperties: true
      properties:
        anchor:
          type:
            - string
            - 'null'
        seconds:
          format: uint64
          minimum: 0
          type:
            - integer
            - 'null'
      type: object
    Input_ClientSecretSession:
      anyOf:
        - $ref: '#/components/schemas/Input_RealtimeSessionCreateRequest'
        - $ref: '#/components/schemas/Input_RealtimeTranscriptionSessionCreateRequest'
    Output_ClientSecretResponseSession:
      anyOf:
        - $ref: '#/components/schemas/Output_RealtimeSessionCreateResponse'
        - $ref: >-
            #/components/schemas/Output_RealtimeTranscriptionSessionCreateResponse
    Output_EnvelopeBody:
      properties:
        code:
          type: string
        message:
          type: string
      required:
        - code
        - message
      type: object
    Output_StreamError:
      additionalProperties: true
      properties:
        message:
          type: string
        type:
          $ref: '#/components/schemas/Output_StreamErrorType'
      required:
        - type
        - message
      type: object
    Input_RealtimeSessionCreateRequest:
      additionalProperties: true
      properties:
        audio:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioConfig'
            - type: 'null'
        include:
          items:
            $ref: '#/components/schemas/Input_RealtimeSessionCreateRequestIncludeItem'
          type:
            - array
            - 'null'
        instructions:
          type:
            - string
            - 'null'
        max_output_tokens:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeSessionCreateRequestMaxOutputTokens
            - type: 'null'
        model:
          type:
            - string
            - 'null'
        output_modalities:
          items:
            $ref: >-
              #/components/schemas/Input_RealtimeSessionCreateRequestOutputModalitiesItem
          type:
            - array
            - 'null'
        parallel_tool_calls:
          type:
            - boolean
            - 'null'
        prompt:
          anyOf:
            - $ref: '#/components/schemas/Input_ResponsePrompt2'
            - type: 'null'
        reasoning:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeReasoning'
            - type: 'null'
        tool_choice:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeToolChoiceConfig'
            - type: 'null'
        tools:
          items:
            $ref: '#/components/schemas/Input_RealtimeToolsConfigUnion'
          type:
            - array
            - 'null'
        tracing:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeTracingConfig'
            - type: 'null'
        truncation:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeTruncation'
            - type: 'null'
        type:
          $ref: '#/components/schemas/Input_RealtimeSessionCreateRequestType'
      required:
        - type
      type: object
    Input_RealtimeTranscriptionSessionCreateRequest:
      additionalProperties: true
      properties:
        audio:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeTranscriptionSessionAudio'
            - type: 'null'
        include:
          items:
            $ref: >-
              #/components/schemas/Input_RealtimeTranscriptionSessionCreateRequestIncludeItem
          type:
            - array
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Input_RealtimeTranscriptionSessionCreateRequestType
      required:
        - type
      type: object
    Output_RealtimeSessionCreateResponse:
      additionalProperties: true
      properties:
        audio:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeSessionCreateResponseAudio'
            - type: 'null'
        expires_at:
          format: int64
          type:
            - integer
            - 'null'
        id:
          type: string
        include:
          items:
            $ref: >-
              #/components/schemas/Output_RealtimeSessionCreateResponseIncludeItem
          type:
            - array
            - 'null'
        instructions:
          type:
            - string
            - 'null'
        max_output_tokens:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseMaxOutputTokens
            - type: 'null'
        model:
          type:
            - string
            - 'null'
        object:
          $ref: '#/components/schemas/Output_RealtimeSessionCreateResponseObject'
        output_modalities:
          items:
            $ref: >-
              #/components/schemas/Output_RealtimeSessionCreateResponseOutputModalitiesItem
          type:
            - array
            - 'null'
        prompt:
          anyOf:
            - $ref: '#/components/schemas/Output_ResponsePrompt2'
            - type: 'null'
        reasoning:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeReasoning'
            - type: 'null'
        tool_choice:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseToolChoice
            - type: 'null'
        tools:
          items:
            $ref: '#/components/schemas/Output_RealtimeSessionCreateResponseTool'
          type:
            - array
            - 'null'
        tracing:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeSessionCreateResponseTracing'
            - type: 'null'
        truncation:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeTruncation'
            - type: 'null'
        type:
          $ref: '#/components/schemas/Output_RealtimeSessionCreateResponseType'
      required:
        - id
        - object
        - type
      type: object
    Output_RealtimeTranscriptionSessionCreateResponse:
      additionalProperties: true
      properties:
        audio:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseAudio
            - type: 'null'
        expires_at:
          format: int64
          type:
            - integer
            - 'null'
        id:
          type: string
        include:
          items:
            $ref: >-
              #/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseIncludeItem
          type:
            - array
            - 'null'
        object:
          type: string
        type:
          $ref: >-
            #/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseType
      required:
        - id
        - object
        - type
      type: object
    Output_StreamErrorType:
      enum:
        - api_error
        - authentication_error
        - billing_error
        - invalid_request_error
        - not_found_error
        - overloaded_error
        - permission_error
        - rate_limit_error
        - timeout_error
        - conflict_error
        - request_too_large
      type: string
    Input_RealtimeAudioConfig:
      additionalProperties: true
      properties:
        input:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioConfigInput'
            - type: 'null'
        output:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioConfigOutput'
            - type: 'null'
      type: object
    Input_RealtimeSessionCreateRequestIncludeItem:
      enum:
        - item.input_audio_transcription.logprobs
      type: string
    Input_RealtimeSessionCreateRequestMaxOutputTokens:
      anyOf:
        - format: int64
          type: integer
        - $ref: >-
            #/components/schemas/Input_RealtimeSessionCreateRequestMaxOutputTokensVariant2
    Input_RealtimeSessionCreateRequestOutputModalitiesItem:
      enum:
        - text
        - audio
      type: string
    Input_ResponsePrompt2:
      additionalProperties: true
      properties:
        id:
          type: string
        variables:
          additionalProperties:
            $ref: '#/components/schemas/Input_ResponsePromptVariables'
          type:
            - object
            - 'null'
        version:
          type:
            - string
            - 'null'
      required:
        - id
      type: object
    Input_RealtimeReasoning:
      additionalProperties: true
      properties:
        effort:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeReasoningEffort'
            - type: 'null'
      type: object
    Input_RealtimeToolChoiceConfig:
      anyOf:
        - $ref: '#/components/schemas/Input_ToolChoiceOptions'
        - $ref: '#/components/schemas/Input_ToolChoiceFunction2'
        - $ref: '#/components/schemas/Input_ToolChoiceMcp2'
    Input_RealtimeToolsConfigUnion:
      anyOf:
        - $ref: '#/components/schemas/Input_RealtimeFunctionTool'
        - $ref: '#/components/schemas/Input_RealtimeToolsConfigUnionMcp'
    Input_RealtimeTracingConfig:
      anyOf:
        - $ref: '#/components/schemas/Input_RealtimeTracingConfigVariant1'
        - $ref: '#/components/schemas/Input_RealtimeTracingConfigTracingConfiguration'
        - type: 'null'
    Input_RealtimeTruncation:
      anyOf:
        - $ref: '#/components/schemas/Input_RealtimeTruncationVariant1'
        - $ref: '#/components/schemas/Input_RealtimeTruncationRetentionRatio'
    Input_RealtimeSessionCreateRequestType:
      enum:
        - realtime
      type: string
    Input_RealtimeTranscriptionSessionAudio:
      additionalProperties: true
      properties:
        input:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeTranscriptionSessionAudioInput
            - type: 'null'
      type: object
    Input_RealtimeTranscriptionSessionCreateRequestIncludeItem:
      enum:
        - item.input_audio_transcription.logprobs
      type: string
    Input_RealtimeTranscriptionSessionCreateRequestType:
      enum:
        - transcription
      type: string
    Output_RealtimeSessionCreateResponseAudio:
      additionalProperties: true
      properties:
        input:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseAudioInput
            - type: 'null'
        output:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseAudioOutput
            - type: 'null'
      type: object
    Output_RealtimeSessionCreateResponseIncludeItem:
      enum:
        - item.input_audio_transcription.logprobs
      type: string
    Output_RealtimeSessionCreateResponseMaxOutputTokens:
      anyOf:
        - format: int64
          type: integer
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseMaxOutputTokensVariant2
    Output_RealtimeSessionCreateResponseObject:
      enum:
        - realtime.session
      type: string
    Output_RealtimeSessionCreateResponseOutputModalitiesItem:
      enum:
        - text
        - audio
      type: string
    Output_ResponsePrompt2:
      additionalProperties: true
      properties:
        id:
          type: string
        variables:
          additionalProperties:
            $ref: '#/components/schemas/Output_ResponsePromptVariables'
          type:
            - object
            - 'null'
        version:
          type:
            - string
            - 'null'
      required:
        - id
      type: object
    Output_RealtimeReasoning:
      additionalProperties: true
      properties:
        effort:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeReasoningEffort'
            - type: 'null'
      type: object
    Output_RealtimeSessionCreateResponseToolChoice:
      anyOf:
        - $ref: '#/components/schemas/Output_ToolChoiceOptions'
        - $ref: '#/components/schemas/Output_ToolChoiceFunction2'
        - $ref: '#/components/schemas/Output_ToolChoiceMcp2'
    Output_RealtimeSessionCreateResponseTool:
      anyOf:
        - $ref: '#/components/schemas/Output_RealtimeFunctionTool'
        - $ref: '#/components/schemas/Output_RealtimeSessionCreateResponseToolMcpTool'
    Output_RealtimeSessionCreateResponseTracing:
      anyOf:
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseTracingVariant1
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseTracingTracingConfiguration
        - type: 'null'
    Output_RealtimeTruncation:
      anyOf:
        - $ref: '#/components/schemas/Output_RealtimeTruncationVariant1'
        - $ref: '#/components/schemas/Output_RealtimeTruncationRetentionRatio'
    Output_RealtimeSessionCreateResponseType:
      enum:
        - realtime
      type: string
    Output_RealtimeTranscriptionSessionCreateResponseAudio:
      additionalProperties: true
      properties:
        input:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseAudioInput
            - type: 'null'
      type: object
    Output_RealtimeTranscriptionSessionCreateResponseIncludeItem:
      enum:
        - item.input_audio_transcription.logprobs
      type: string
    Output_RealtimeTranscriptionSessionCreateResponseType:
      enum:
        - transcription
      type: string
    Input_RealtimeAudioConfigInput:
      additionalProperties: true
      properties:
        format:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioFormats'
            - type: 'null'
        noise_reduction:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeAudioConfigInputNoiseReduction
            - type: 'null'
        transcription:
          anyOf:
            - $ref: '#/components/schemas/Input_AudioTranscription2'
            - type: 'null'
        turn_detection:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioInputTurnDetection'
            - type: 'null'
      type: object
    Input_RealtimeAudioConfigOutput:
      additionalProperties: true
      properties:
        format:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioFormats'
            - type: 'null'
        speed:
          type:
            - number
            - 'null'
        voice:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioConfigOutputVoice'
            - type: 'null'
      type: object
    Input_RealtimeSessionCreateRequestMaxOutputTokensVariant2:
      enum:
        - inf
      type: string
    Input_ResponsePromptVariables:
      anyOf:
        - type: string
        - $ref: '#/components/schemas/Input_ResponseInputText2'
        - $ref: '#/components/schemas/Input_ResponseInputImage2'
        - $ref: '#/components/schemas/Input_ResponseInputFile2'
    Input_RealtimeReasoningEffort:
      enum:
        - minimal
        - low
        - medium
        - high
        - xhigh
      type: string
    Input_ToolChoiceOptions:
      enum:
        - none
        - auto
        - required
      type: string
    Input_ToolChoiceFunction2:
      additionalProperties: true
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/Input_ToolChoiceFunctionType2'
      required:
        - name
        - type
      type: object
    Input_ToolChoiceMcp2:
      additionalProperties: true
      properties:
        name:
          type:
            - string
            - 'null'
        server_label:
          type: string
        type:
          $ref: '#/components/schemas/Input_ToolChoiceMcpType2'
      required:
        - server_label
        - type
      type: object
    Input_RealtimeFunctionTool:
      additionalProperties: true
      properties:
        description:
          type:
            - string
            - 'null'
        name:
          type:
            - string
            - 'null'
        parameters: true
        type:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeFunctionToolType'
            - type: 'null'
      type: object
    Input_RealtimeToolsConfigUnionMcp:
      additionalProperties: true
      properties:
        allowed_callers:
          items:
            $ref: >-
              #/components/schemas/Input_RealtimeToolsConfigUnionMcpAllowedCallersItem
          type:
            - array
            - 'null'
        allowed_tools:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeToolsConfigUnionMcpAllowedTools
            - type: 'null'
        authorization:
          type:
            - string
            - 'null'
        connector_id:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeToolsConfigUnionMcpConnectorId
            - type: 'null'
        defer_loading:
          type:
            - boolean
            - 'null'
        headers:
          additionalProperties:
            type: string
          type:
            - object
            - 'null'
        require_approval:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApproval
            - type: 'null'
        server_description:
          type:
            - string
            - 'null'
        server_label:
          type: string
        server_url:
          type:
            - string
            - 'null'
        tunnel_id:
          type:
            - string
            - 'null'
        type:
          $ref: '#/components/schemas/Input_RealtimeToolsConfigUnionMcpType'
      required:
        - server_label
        - type
      type: object
    Input_RealtimeTracingConfigVariant1:
      enum:
        - auto
      type: string
    Input_RealtimeTracingConfigTracingConfiguration:
      additionalProperties: true
      properties:
        group_id:
          type:
            - string
            - 'null'
        metadata: true
        workflow_name:
          type:
            - string
            - 'null'
      type: object
    Input_RealtimeTruncationVariant1:
      enum:
        - auto
        - disabled
      type: string
    Input_RealtimeTruncationRetentionRatio:
      additionalProperties: true
      properties:
        retention_ratio:
          type: number
        token_limits:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeTruncationRetentionRatioTokenLimits
            - type: 'null'
        type:
          $ref: '#/components/schemas/Input_RealtimeTruncationRetentionRatioType'
      required:
        - retention_ratio
        - type
      type: object
    Input_RealtimeTranscriptionSessionAudioInput:
      additionalProperties: true
      properties:
        format:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioFormats'
            - type: 'null'
        noise_reduction:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeTranscriptionSessionAudioInputNoiseReduction
            - type: 'null'
        transcription:
          anyOf:
            - $ref: '#/components/schemas/Input_AudioTranscription2'
            - type: 'null'
        turn_detection:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetection
            - type: 'null'
      type: object
    Output_RealtimeSessionCreateResponseAudioInput:
      additionalProperties: true
      properties:
        format:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeAudioFormats'
            - type: 'null'
        noise_reduction:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseAudioInputNoiseReduction
            - type: 'null'
        transcription:
          anyOf:
            - $ref: '#/components/schemas/Output_AudioTranscription2'
            - type: 'null'
        turn_detection:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetection
            - type: 'null'
      type: object
    Output_RealtimeSessionCreateResponseAudioOutput:
      additionalProperties: true
      properties:
        format:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeAudioFormats'
            - type: 'null'
        speed:
          type:
            - number
            - 'null'
        voice:
          type:
            - string
            - 'null'
      type: object
    Output_RealtimeSessionCreateResponseMaxOutputTokensVariant2:
      enum:
        - inf
      type: string
    Output_ResponsePromptVariables:
      anyOf:
        - type: string
        - $ref: '#/components/schemas/Output_ResponseInputText2'
        - $ref: '#/components/schemas/Output_ResponseInputImage2'
        - $ref: '#/components/schemas/Output_ResponseInputFile2'
    Output_RealtimeReasoningEffort:
      enum:
        - minimal
        - low
        - medium
        - high
        - xhigh
      type: string
    Output_ToolChoiceOptions:
      enum:
        - none
        - auto
        - required
      type: string
    Output_ToolChoiceFunction2:
      additionalProperties: true
      properties:
        name:
          type: string
        type:
          $ref: '#/components/schemas/Output_ToolChoiceFunctionType2'
      required:
        - name
        - type
      type: object
    Output_ToolChoiceMcp2:
      additionalProperties: true
      properties:
        name:
          type:
            - string
            - 'null'
        server_label:
          type: string
        type:
          $ref: '#/components/schemas/Output_ToolChoiceMcpType2'
      required:
        - server_label
        - type
      type: object
    Output_RealtimeFunctionTool:
      additionalProperties: true
      properties:
        description:
          type:
            - string
            - 'null'
        name:
          type:
            - string
            - 'null'
        parameters: true
        type:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeFunctionToolType'
            - type: 'null'
      type: object
    Output_RealtimeSessionCreateResponseToolMcpTool:
      additionalProperties: true
      properties:
        allowed_callers:
          items:
            $ref: >-
              #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolAllowedCallersItem
          type:
            - array
            - 'null'
        allowed_tools:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolAllowedTools
            - type: 'null'
        authorization:
          type:
            - string
            - 'null'
        connector_id:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolConnectorId
            - type: 'null'
        defer_loading:
          type:
            - boolean
            - 'null'
        headers:
          additionalProperties:
            type: string
          type:
            - object
            - 'null'
        require_approval:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApproval
            - type: 'null'
        server_description:
          type:
            - string
            - 'null'
        server_label:
          type: string
        server_url:
          type:
            - string
            - 'null'
        tunnel_id:
          type:
            - string
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolType
      required:
        - server_label
        - type
      type: object
    Output_RealtimeSessionCreateResponseTracingVariant1:
      enum:
        - auto
      type: string
    Output_RealtimeSessionCreateResponseTracingTracingConfiguration:
      additionalProperties: true
      properties:
        group_id:
          type:
            - string
            - 'null'
        metadata: true
        workflow_name:
          type:
            - string
            - 'null'
      type: object
    Output_RealtimeTruncationVariant1:
      enum:
        - auto
        - disabled
      type: string
    Output_RealtimeTruncationRetentionRatio:
      additionalProperties: true
      properties:
        retention_ratio:
          type: number
        token_limits:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeTruncationRetentionRatioTokenLimits
            - type: 'null'
        type:
          $ref: '#/components/schemas/Output_RealtimeTruncationRetentionRatioType'
      required:
        - retention_ratio
        - type
      type: object
    Output_RealtimeTranscriptionSessionCreateResponseAudioInput:
      additionalProperties: true
      properties:
        format:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeAudioFormats'
            - type: 'null'
        noise_reduction:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeTranscriptionSessionCreateResponseAudioInputNoiseReduction
            - type: 'null'
        transcription:
          anyOf:
            - $ref: '#/components/schemas/Output_AudioTranscription2'
            - type: 'null'
        turn_detection:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeTranscriptionSessionTurnDetection
            - type: 'null'
      type: object
    Input_RealtimeAudioFormats:
      anyOf:
        - $ref: '#/components/schemas/Input_RealtimeAudioFormatsAudioPCM'
        - $ref: '#/components/schemas/Input_RealtimeAudioFormatsAudioPCMU'
        - $ref: '#/components/schemas/Input_RealtimeAudioFormatsAudioPCMA'
    Input_RealtimeAudioConfigInputNoiseReduction:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Input_NoiseReductionType'
            - type: 'null'
      type: object
    Input_AudioTranscription2:
      additionalProperties: true
      properties:
        delay:
          anyOf:
            - $ref: '#/components/schemas/Input_AudioTranscriptionDelay'
            - type: 'null'
        keywords:
          items:
            type: string
          type:
            - array
            - 'null'
        language:
          type:
            - string
            - 'null'
        languages:
          items:
            type: string
          type:
            - array
            - 'null'
        model:
          type:
            - string
            - 'null'
        prompt:
          type:
            - string
            - 'null'
      type: object
    Input_RealtimeAudioInputTurnDetection:
      anyOf:
        - $ref: '#/components/schemas/Input_RealtimeAudioInputTurnDetectionServerVad'
        - $ref: >-
            #/components/schemas/Input_RealtimeAudioInputTurnDetectionSemanticVad
        - type: 'null'
    Input_RealtimeAudioConfigOutputVoice:
      anyOf:
        - type: string
        - $ref: '#/components/schemas/Input_RealtimeAudioConfigOutputVoiceID'
    Input_ResponseInputText2:
      additionalProperties: true
      properties:
        prompt_cache_breakpoint:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_ResponseInputTextPromptCacheBreakpoint
            - type: 'null'
        text:
          type: string
        type:
          $ref: '#/components/schemas/Input_ResponseInputTextType2'
      required:
        - text
        - type
      type: object
    Input_ResponseInputImage2:
      additionalProperties: true
      properties:
        detail:
          $ref: '#/components/schemas/Input_ImageDetail4'
        file_id:
          type:
            - string
            - 'null'
        image_url:
          type:
            - string
            - 'null'
        prompt_cache_breakpoint:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_ResponseInputImagePromptCacheBreakpoint
            - type: 'null'
        type:
          $ref: '#/components/schemas/Input_ResponseInputImageType2'
      required:
        - detail
        - type
      type: object
    Input_ResponseInputFile2:
      additionalProperties: true
      properties:
        detail:
          anyOf:
            - $ref: '#/components/schemas/Input_ResponseInputFileDetail'
            - type: 'null'
        file_data:
          type:
            - string
            - 'null'
        file_id:
          type:
            - string
            - 'null'
        file_url:
          type:
            - string
            - 'null'
        filename:
          type:
            - string
            - 'null'
        prompt_cache_breakpoint:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_ResponseInputFilePromptCacheBreakpoint
            - type: 'null'
        type:
          $ref: '#/components/schemas/Input_ResponseInputFileType2'
      required:
        - type
      type: object
    Input_ToolChoiceFunctionType2:
      enum:
        - function
      type: string
    Input_ToolChoiceMcpType2:
      enum:
        - mcp
      type: string
    Input_RealtimeFunctionToolType:
      enum:
        - function
      type: string
    Input_RealtimeToolsConfigUnionMcpAllowedCallersItem:
      enum:
        - direct
        - programmatic
      type: string
    Input_RealtimeToolsConfigUnionMcpAllowedTools:
      anyOf:
        - items:
            type: string
          type: array
        - $ref: >-
            #/components/schemas/Input_RealtimeToolsConfigUnionMcpAllowedToolsMcpToolFilter
        - type: 'null'
    Input_RealtimeToolsConfigUnionMcpConnectorId:
      enum:
        - connector_dropbox
        - connector_gmail
        - connector_googlecalendar
        - connector_googledrive
        - connector_microsoftteams
        - connector_outlookcalendar
        - connector_outlookemail
        - connector_sharepoint
      type: string
    Input_RealtimeToolsConfigUnionMcpRequireApproval:
      anyOf:
        - $ref: >-
            #/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilter
        - $ref: >-
            #/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalVariant2
        - type: 'null'
    Input_RealtimeToolsConfigUnionMcpType:
      enum:
        - mcp
      type: string
    Input_RealtimeTruncationRetentionRatioTokenLimits:
      additionalProperties: true
      properties:
        post_instructions:
          format: int64
          type:
            - integer
            - 'null'
      type: object
    Input_RealtimeTruncationRetentionRatioType:
      enum:
        - retention_ratio
      type: string
    Input_RealtimeTranscriptionSessionAudioInputNoiseReduction:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Input_NoiseReductionType'
            - type: 'null'
      type: object
    Input_RealtimeTranscriptionSessionAudioInputTurnDetection:
      anyOf:
        - $ref: >-
            #/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVad
        - $ref: >-
            #/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVad
        - type: 'null'
    Output_RealtimeAudioFormats:
      anyOf:
        - $ref: '#/components/schemas/Output_RealtimeAudioFormatsAudioPCM'
        - $ref: '#/components/schemas/Output_RealtimeAudioFormatsAudioPCMU'
        - $ref: '#/components/schemas/Output_RealtimeAudioFormatsAudioPCMA'
    Output_RealtimeSessionCreateResponseAudioInputNoiseReduction:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Output_NoiseReductionType'
            - type: 'null'
      type: object
    Output_AudioTranscription2:
      additionalProperties: true
      properties:
        delay:
          anyOf:
            - $ref: '#/components/schemas/Output_AudioTranscriptionDelay'
            - type: 'null'
        keywords:
          items:
            type: string
          type:
            - array
            - 'null'
        language:
          type:
            - string
            - 'null'
        languages:
          items:
            type: string
          type:
            - array
            - 'null'
        model:
          type:
            - string
            - 'null'
        prompt:
          type:
            - string
            - 'null'
      type: object
    Output_RealtimeSessionCreateResponseAudioInputTurnDetection:
      anyOf:
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVad
        - type: 'null'
    Output_ResponseInputText2:
      additionalProperties: true
      properties:
        prompt_cache_breakpoint:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_ResponseInputTextPromptCacheBreakpoint
            - type: 'null'
        text:
          type: string
        type:
          $ref: '#/components/schemas/Output_ResponseInputTextType2'
      required:
        - text
        - type
      type: object
    Output_ResponseInputImage2:
      additionalProperties: true
      properties:
        detail:
          $ref: '#/components/schemas/Output_ImageDetail2'
        file_id:
          type:
            - string
            - 'null'
        image_url:
          type:
            - string
            - 'null'
        prompt_cache_breakpoint:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_ResponseInputImagePromptCacheBreakpoint
            - type: 'null'
        type:
          $ref: '#/components/schemas/Output_ResponseInputImageType2'
      required:
        - detail
        - type
      type: object
    Output_ResponseInputFile2:
      additionalProperties: true
      properties:
        detail:
          anyOf:
            - $ref: '#/components/schemas/Output_ResponseInputFileDetail'
            - type: 'null'
        file_data:
          type:
            - string
            - 'null'
        file_id:
          type:
            - string
            - 'null'
        file_url:
          type:
            - string
            - 'null'
        filename:
          type:
            - string
            - 'null'
        prompt_cache_breakpoint:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_ResponseInputFilePromptCacheBreakpoint
            - type: 'null'
        type:
          $ref: '#/components/schemas/Output_ResponseInputFileType2'
      required:
        - type
      type: object
    Output_ToolChoiceFunctionType2:
      enum:
        - function
      type: string
    Output_ToolChoiceMcpType2:
      enum:
        - mcp
      type: string
    Output_RealtimeFunctionToolType:
      enum:
        - function
      type: string
    Output_RealtimeSessionCreateResponseToolMcpToolAllowedCallersItem:
      enum:
        - direct
        - programmatic
      type: string
    Output_RealtimeSessionCreateResponseToolMcpToolAllowedTools:
      anyOf:
        - items:
            type: string
          type: array
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolAllowedToolsMcpToolFilter
        - type: 'null'
    Output_RealtimeSessionCreateResponseToolMcpToolConnectorId:
      enum:
        - connector_dropbox
        - connector_gmail
        - connector_googlecalendar
        - connector_googledrive
        - connector_microsoftteams
        - connector_outlookcalendar
        - connector_outlookemail
        - connector_sharepoint
      type: string
    Output_RealtimeSessionCreateResponseToolMcpToolRequireApproval:
      anyOf:
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilter
        - $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalVariant2
        - type: 'null'
    Output_RealtimeSessionCreateResponseToolMcpToolType:
      enum:
        - mcp
      type: string
    Output_RealtimeTruncationRetentionRatioTokenLimits:
      additionalProperties: true
      properties:
        post_instructions:
          format: int64
          type:
            - integer
            - 'null'
      type: object
    Output_RealtimeTruncationRetentionRatioType:
      enum:
        - retention_ratio
      type: string
    Output_RealtimeTranscriptionSessionCreateResponseAudioInputNoiseReduction:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Output_NoiseReductionType'
            - type: 'null'
      type: object
    Output_RealtimeTranscriptionSessionTurnDetection:
      additionalProperties: true
      properties:
        prefix_padding_ms:
          format: int64
          type:
            - integer
            - 'null'
        silence_duration_ms:
          format: int64
          type:
            - integer
            - 'null'
        threshold:
          type:
            - number
            - 'null'
        type:
          type:
            - string
            - 'null'
      type: object
    Input_RealtimeAudioFormatsAudioPCM:
      additionalProperties: true
      properties:
        rate:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioFormatsAudioPCMRate'
            - type: 'null'
        type:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioFormatsAudioPCMType'
            - type: 'null'
      type: object
    Input_RealtimeAudioFormatsAudioPCMU:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioFormatsAudioPCMUType'
            - type: 'null'
      type: object
    Input_RealtimeAudioFormatsAudioPCMA:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Input_RealtimeAudioFormatsAudioPCMAType'
            - type: 'null'
      type: object
    Input_NoiseReductionType:
      enum:
        - near_field
        - far_field
      type: string
    Input_AudioTranscriptionDelay:
      enum:
        - minimal
        - low
        - medium
        - high
        - xhigh
      type: string
    Input_RealtimeAudioInputTurnDetectionServerVad:
      additionalProperties: true
      properties:
        create_response:
          type:
            - boolean
            - 'null'
        idle_timeout_ms:
          format: int64
          type:
            - integer
            - 'null'
        interrupt_response:
          type:
            - boolean
            - 'null'
        prefix_padding_ms:
          format: int64
          type:
            - integer
            - 'null'
        silence_duration_ms:
          format: int64
          type:
            - integer
            - 'null'
        threshold:
          type:
            - number
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Input_RealtimeAudioInputTurnDetectionServerVadType
      required:
        - type
      type: object
    Input_RealtimeAudioInputTurnDetectionSemanticVad:
      additionalProperties: true
      properties:
        create_response:
          type:
            - boolean
            - 'null'
        eagerness:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeAudioInputTurnDetectionSemanticVadEagerness
            - type: 'null'
        interrupt_response:
          type:
            - boolean
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Input_RealtimeAudioInputTurnDetectionSemanticVadType
      required:
        - type
      type: object
    Input_RealtimeAudioConfigOutputVoiceID:
      additionalProperties: true
      properties:
        id:
          type: string
      required:
        - id
      type: object
    Input_ResponseInputTextPromptCacheBreakpoint:
      additionalProperties: true
      properties:
        mode:
          $ref: >-
            #/components/schemas/Input_ResponseInputTextPromptCacheBreakpointMode
        ttl:
          anyOf:
            - $ref: '#/components/schemas/Input_PromptCacheBreakpointTtl3'
            - type: 'null'
      required:
        - mode
      type: object
    Input_ResponseInputTextType2:
      enum:
        - input_text
      type: string
    Input_ImageDetail4:
      enum:
        - low
        - high
        - auto
        - original
      type: string
    Input_ResponseInputImagePromptCacheBreakpoint:
      additionalProperties: true
      properties:
        mode:
          $ref: >-
            #/components/schemas/Input_ResponseInputImagePromptCacheBreakpointMode
        ttl:
          anyOf:
            - $ref: '#/components/schemas/Input_PromptCacheBreakpointTtl3'
            - type: 'null'
      required:
        - mode
      type: object
    Input_ResponseInputImageType2:
      enum:
        - input_image
      type: string
    Input_ResponseInputFileDetail:
      enum:
        - auto
        - low
        - high
      type: string
    Input_ResponseInputFilePromptCacheBreakpoint:
      additionalProperties: true
      properties:
        mode:
          $ref: >-
            #/components/schemas/Input_ResponseInputFilePromptCacheBreakpointMode
        ttl:
          anyOf:
            - $ref: '#/components/schemas/Input_PromptCacheBreakpointTtl3'
            - type: 'null'
      required:
        - mode
      type: object
    Input_ResponseInputFileType2:
      enum:
        - input_file
      type: string
    Input_RealtimeToolsConfigUnionMcpAllowedToolsMcpToolFilter:
      additionalProperties: true
      properties:
        read_only:
          type:
            - boolean
            - 'null'
        tool_names:
          items:
            type: string
          type:
            - array
            - 'null'
      type: object
    Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilter:
      additionalProperties: true
      properties:
        always:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterAlways
            - type: 'null'
        never:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterNever
            - type: 'null'
      type: object
    Input_RealtimeToolsConfigUnionMcpRequireApprovalVariant2:
      enum:
        - always
        - never
      type: string
    Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVad:
      additionalProperties: true
      properties:
        create_response:
          type:
            - boolean
            - 'null'
        idle_timeout_ms:
          format: int64
          type:
            - integer
            - 'null'
        interrupt_response:
          type:
            - boolean
            - 'null'
        prefix_padding_ms:
          format: int64
          type:
            - integer
            - 'null'
        silence_duration_ms:
          format: int64
          type:
            - integer
            - 'null'
        threshold:
          type:
            - number
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVadType
      required:
        - type
      type: object
    Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVad:
      additionalProperties: true
      properties:
        create_response:
          type:
            - boolean
            - 'null'
        eagerness:
          anyOf:
            - $ref: >-
                #/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadEagerness
            - type: 'null'
        interrupt_response:
          type:
            - boolean
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadType
      required:
        - type
      type: object
    Output_RealtimeAudioFormatsAudioPCM:
      additionalProperties: true
      properties:
        rate:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeAudioFormatsAudioPCMRate'
            - type: 'null'
        type:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeAudioFormatsAudioPCMType'
            - type: 'null'
      type: object
    Output_RealtimeAudioFormatsAudioPCMU:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeAudioFormatsAudioPCMUType'
            - type: 'null'
      type: object
    Output_RealtimeAudioFormatsAudioPCMA:
      additionalProperties: true
      properties:
        type:
          anyOf:
            - $ref: '#/components/schemas/Output_RealtimeAudioFormatsAudioPCMAType'
            - type: 'null'
      type: object
    Output_NoiseReductionType:
      enum:
        - near_field
        - far_field
      type: string
    Output_AudioTranscriptionDelay:
      enum:
        - minimal
        - low
        - medium
        - high
        - xhigh
      type: string
    Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad:
      additionalProperties: true
      properties:
        create_response:
          type:
            - boolean
            - 'null'
        idle_timeout_ms:
          format: int64
          type:
            - integer
            - 'null'
        interrupt_response:
          type:
            - boolean
            - 'null'
        prefix_padding_ms:
          format: int64
          type:
            - integer
            - 'null'
        silence_duration_ms:
          format: int64
          type:
            - integer
            - 'null'
        threshold:
          type:
            - number
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType
      required:
        - type
      type: object
    Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVad:
      additionalProperties: true
      properties:
        create_response:
          type:
            - boolean
            - 'null'
        eagerness:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadEagerness
            - type: 'null'
        interrupt_response:
          type:
            - boolean
            - 'null'
        type:
          $ref: >-
            #/components/schemas/Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadType
      required:
        - type
      type: object
    Output_ResponseInputTextPromptCacheBreakpoint:
      additionalProperties: true
      properties:
        mode:
          $ref: >-
            #/components/schemas/Output_ResponseInputTextPromptCacheBreakpointMode
        ttl:
          anyOf:
            - $ref: '#/components/schemas/Output_PromptCacheBreakpointTtl2'
            - type: 'null'
      required:
        - mode
      type: object
    Output_ResponseInputTextType2:
      enum:
        - input_text
      type: string
    Output_ImageDetail2:
      enum:
        - low
        - high
        - auto
        - original
      type: string
    Output_ResponseInputImagePromptCacheBreakpoint:
      additionalProperties: true
      properties:
        mode:
          $ref: >-
            #/components/schemas/Output_ResponseInputImagePromptCacheBreakpointMode
        ttl:
          anyOf:
            - $ref: '#/components/schemas/Output_PromptCacheBreakpointTtl2'
            - type: 'null'
      required:
        - mode
      type: object
    Output_ResponseInputImageType2:
      enum:
        - input_image
      type: string
    Output_ResponseInputFileDetail:
      enum:
        - auto
        - low
        - high
      type: string
    Output_ResponseInputFilePromptCacheBreakpoint:
      additionalProperties: true
      properties:
        mode:
          $ref: >-
            #/components/schemas/Output_ResponseInputFilePromptCacheBreakpointMode
        ttl:
          anyOf:
            - $ref: '#/components/schemas/Output_PromptCacheBreakpointTtl2'
            - type: 'null'
      required:
        - mode
      type: object
    Output_ResponseInputFileType2:
      enum:
        - input_file
      type: string
    Output_RealtimeSessionCreateResponseToolMcpToolAllowedToolsMcpToolFilter:
      additionalProperties: true
      properties:
        read_only:
          type:
            - boolean
            - 'null'
        tool_names:
          items:
            type: string
          type:
            - array
            - 'null'
      type: object
    Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilter:
      additionalProperties: true
      properties:
        always:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterAlways
            - type: 'null'
        never:
          anyOf:
            - $ref: >-
                #/components/schemas/Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterNever
            - type: 'null'
      type: object
    Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalVariant2:
      enum:
        - always
        - never
      type: string
    Input_RealtimeAudioFormatsAudioPCMRate:
      description: >-
        A numeric literal validated through scalar conversion; object routing
        remains derived.
      format: int64
      type: integer
    Input_RealtimeAudioFormatsAudioPCMType:
      enum:
        - audio/pcm
      type: string
    Input_RealtimeAudioFormatsAudioPCMUType:
      enum:
        - audio/pcmu
      type: string
    Input_RealtimeAudioFormatsAudioPCMAType:
      enum:
        - audio/pcma
      type: string
    Input_RealtimeAudioInputTurnDetectionServerVadType:
      enum:
        - server_vad
      type: string
    Input_RealtimeAudioInputTurnDetectionSemanticVadEagerness:
      enum:
        - low
        - medium
        - high
        - auto
      type: string
    Input_RealtimeAudioInputTurnDetectionSemanticVadType:
      enum:
        - semantic_vad
      type: string
    Input_ResponseInputTextPromptCacheBreakpointMode:
      enum:
        - explicit
      type: string
    Input_PromptCacheBreakpointTtl3:
      description: Omitted inherits the request TTL.
      enum:
        - 30m
        - 12h
      type: string
    Input_ResponseInputImagePromptCacheBreakpointMode:
      enum:
        - explicit
      type: string
    Input_ResponseInputFilePromptCacheBreakpointMode:
      enum:
        - explicit
      type: string
    Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterAlways:
      additionalProperties: true
      properties:
        read_only:
          type:
            - boolean
            - 'null'
        tool_names:
          items:
            type: string
          type:
            - array
            - 'null'
      type: object
    Input_RealtimeToolsConfigUnionMcpRequireApprovalMcpToolApprovalFilterNever:
      additionalProperties: true
      properties:
        read_only:
          type:
            - boolean
            - 'null'
        tool_names:
          items:
            type: string
          type:
            - array
            - 'null'
      type: object
    Input_RealtimeTranscriptionSessionAudioInputTurnDetectionServerVadType:
      enum:
        - server_vad
      type: string
    Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadEagerness:
      enum:
        - low
        - medium
        - high
        - auto
      type: string
    Input_RealtimeTranscriptionSessionAudioInputTurnDetectionSemanticVadType:
      enum:
        - semantic_vad
      type: string
    Output_RealtimeAudioFormatsAudioPCMRate:
      description: >-
        A numeric literal validated through scalar conversion; object routing
        remains derived.
      format: int64
      type: integer
    Output_RealtimeAudioFormatsAudioPCMType:
      enum:
        - audio/pcm
      type: string
    Output_RealtimeAudioFormatsAudioPCMUType:
      enum:
        - audio/pcmu
      type: string
    Output_RealtimeAudioFormatsAudioPCMAType:
      enum:
        - audio/pcma
      type: string
    Output_RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType:
      enum:
        - server_vad
      type: string
    Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadEagerness:
      enum:
        - low
        - medium
        - high
        - auto
      type: string
    Output_RealtimeSessionCreateResponseAudioInputTurnDetectionSemanticVadType:
      enum:
        - semantic_vad
      type: string
    Output_ResponseInputTextPromptCacheBreakpointMode:
      enum:
        - explicit
      type: string
    Output_PromptCacheBreakpointTtl2:
      description: Omitted inherits the request TTL.
      enum:
        - 30m
        - 12h
      type: string
    Output_ResponseInputImagePromptCacheBreakpointMode:
      enum:
        - explicit
      type: string
    Output_ResponseInputFilePromptCacheBreakpointMode:
      enum:
        - explicit
      type: string
    Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterAlways:
      additionalProperties: true
      properties:
        read_only:
          type:
            - boolean
            - 'null'
        tool_names:
          items:
            type: string
          type:
            - array
            - 'null'
      type: object
    Output_RealtimeSessionCreateResponseToolMcpToolRequireApprovalMcpToolApprovalFilterNever:
      additionalProperties: true
      properties:
        read_only:
          type:
            - boolean
            - 'null'
        tool_names:
          items:
            type: string
          type:
            - array
            - 'null'
      type: object
  securitySchemes:
    bearer:
      scheme: bearer
      type: http
    anthropicKey:
      in: header
      name: x-api-key
      type: apiKey
    googleKey:
      in: header
      name: x-goog-api-key
      type: apiKey
    queryKey:
      in: query
      name: key
      type: apiKey

````

## Related topics

- [Routing & Endpoints](https://gproxy.leenhawk.com/reference/routing-table.md)
- [POST /v1/realtime/calls](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1realtimecalls.md)
- [POST /v1/realtime/calls/{call_id}/hangup](https://gproxy.leenhawk.com/api-reference/forwarding/post-v1realtimecalls-hangup.md)
- [POST /v1/oauth/revoke](https://gproxy.leenhawk.com/api-reference/oauth/post-v1oauthrevoke.md)
- [POST /v1/oauth/token](https://gproxy.leenhawk.com/api-reference/oauth/post-v1oauthtoken.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.