VoiceAgentServerEventSessionSubagentAborted interface

The session.subagent.aborted server event.

Extends

Properties

call_id

The identifier of the function call that initiated the consultation.

consultation_id

The identifier of the subagent consultation.

event_id

The server-generated event identifier.

reason

The reason the consultation was aborted.

subagent_name

The name of the consulted subagent.

type

The event type. Always session.subagent.aborted.

Property Details

call_id

The identifier of the function call that initiated the consultation.

call_id: string

Property Value

string

consultation_id

The identifier of the subagent consultation.

consultation_id: string

Property Value

string

event_id

The server-generated event identifier.

event_id: string

Property Value

string

reason

The reason the consultation was aborted.

reason: VoiceAgentSubagentAbortReason

Property Value

subagent_name

The name of the consulted subagent.

subagent_name: string

Property Value

string

type

The event type. Always session.subagent.aborted.

type: "session.subagent.aborted"

Property Value

"session.subagent.aborted"