Create a voice session in the phone-server store.
Tenant-scoped endpoint for persisted voice session records, stream lookup, and evaluation history.
POST
Tenant-scoped endpoint for persisted voice session records, stream lookup, and evaluation history.
Request body
CreateVoiceSessionRequest
string,null
string,null
string,null
string,null
integer,null (int64)
any
string,null
string,null
string,null
string,null
string
required
string,null
array,null
any
string,null
Response
VoiceSession
string,null
AI agent name
string,null
Twilio call SID
string,null
Type of call: inbound, outbound, sip_inbound
string
required
Record creation time (ISO 8601)
string,null
Customer phone number (E.164)
integer,null (int64)
Session duration in milliseconds
string
required
Session end time (ISO 8601)
object
required
Function calls made during the session as JSON array
string
required
Unique session identifier
object
required
Arbitrary session metadata
string,null
AI model used
string,null
Organization ID
integer,null (int32)
Operator-provided review rating
string,null
Operator or model sentiment label
string
required
Session start time (ISO 8601)
string
required
Session status: active, completed
string
required
Twilio stream ID
string,null
LLM-generated summary
string[]
required
Session tags applied in the voice desk
string
required
Tenant that owns this session
object
required
Conversation transcript as JSON array
integer (int32)
required
Number of conversation turns
string
required
Record last updated time (ISO 8601)
object
required
Voice activity detection events as JSON array
string,null
TTS voice used