The agent the realtime model asks for knowledge and actions.
OptionalallowWhether caller speech interrupts the realtime model. Omitted values keep OpenAI's default.
The call id from OpenAI's realtime.call.incoming webhook.
OptionalchatChat options applied to every turn the agent runs for the call: instructions, agent context.
OptionalexternalThe telephony provider's id of the call (a Twilio CallSid), echoed on every session event.
OptionalgreetingSpoken as soon as the call is answered; without it the model waits for the caller to speak first.
Optionalgreetingagent has the agent compose the opening line, with greeting as its fallback; phrase (the default) speaks greeting as is.
Instructions of the realtime model.
The openai_voice integration whose API key answers the call.
OptionalinterruptionHow readily OpenAI detects caller speech. Omitted values keep OpenAI's default.
OptionalmetadataFree-form data echoed on every session event, for the caller's own bookkeeping.
OptionalmodelRealtime model that talks on the call; defaults to the integration's default model.
OptionalvoiceVoice of the realtime model; defaults to the integration's default voice.
Request to answer a phone call that reached an OpenAI project's SIP endpoint. Squid accepts the call with the given instructions, and for the call's life runs the agent whenever the realtime model asks it something and hangs up when the model ends the call. Requires the application API key.