{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opper/json-schema/opper-realtime-session-request-schema.json",
  "title": "RealtimeSessionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opper-functions-api-openapi.yml#/components/schemas/RealtimeSessionRequest",
  "properties": {
    "config": {
      "properties": {
        "input_audio_format": {
          "type": "string"
        },
        "input_transcription": {
          "type": "boolean"
        },
        "input_transcription_model": {
          "type": "string"
        },
        "instructions": {
          "type": "string"
        },
        "modalities": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "model": {
          "type": "string"
        },
        "output_audio_format": {
          "type": "string"
        },
        "output_transcription": {
          "type": "boolean"
        },
        "reasoning_effort": {
          "type": "string"
        },
        "temperature": {
          "type": "number"
        },
        "tools": {
          "items": {
            "properties": {
              "description": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "parameters": {
                "type": "object"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "transcription_custom_vocabulary": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "transcription_language_codes": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "transcription_mode": {
          "type": "string"
        },
        "translation_echo_target_language": {
          "type": "boolean"
        },
        "translation_target_language": {
          "type": "string"
        },
        "turn_detection": {
          "properties": {
            "eagerness": {
              "type": "string"
            },
            "prefix_padding_ms": {
              "type": "integer"
            },
            "silence_duration_ms": {
              "type": "integer"
            },
            "threshold": {
              "type": "number"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        },
        "voice": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "locked_fields": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "ttl_seconds": {
      "type": "integer"
    }
  },
  "type": "object"
}