GET

/v1/schemas/openai/chat/realtime%2Fsessions?kind=output

kind outputactivity chathash 47b4735dextracted Jul 6, 2026version currentsource upstream spec ↗

Response body

13 properties · 0 required · 5 $defs
propertytypedescriptionconstraints
idstringUnique identifier for the session that looks like `sess_1234567890abcdef`.
objectstringThe object type. Always `realtime.session`.
expires_atintegerExpiration timestamp for the session, in seconds since epoch.format: unixtime
includeenum[]Additional fields to include in server outputs. - `item.input_audio_transcription.logprobs`: Include logprobs for input audio transcription.
modelstringThe Realtime model used for this session.
output_modalitiesanyThe set of modalities the model can respond with. To disable audio, set this to ["text"].
instructionsstringThe default system instructions (i.e. system message) prepended to model calls. This field allows the client to guide the model on desired responses. The model can be instructed on response content and format, (e.g. "be extremely succinct", "act friendly", "he…
audioobjectConfiguration for input and output audio for the session.
tracingenum | Tracing ConfigurationConfiguration options for tracing. Set to null to disable tracing. Once tracing is enabled for a session, the configuration cannot be modified.
turn_detectionobjectConfiguration for turn detection. Can be set to `null` to turn off. Server VAD means that the model will detect the start and end of speech based on audio volume and respond at the end of user speech.
toolsRealtimeFunctionTool[]Tools (functions) available to the model.
tool_choicestringHow the model chooses tools. Options are `auto`, `none`, `required`, or specify a function.
max_output_tokensinteger | enumMaximum number of output tokens for a single assistant response, inclusive of tool calls. Provide an integer between 1 and 4096 to limit output tokens, or `inf` for the maximum available tokens for a given model. Defaults to `inf`.

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"openai","endpointId":"realtime/sessions","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}