LiveServerEventLiveDelegationCreated interface
Returned when the Live model delegates work to your application, Responses, or Decisions. Contains delegation metadata and the position on the session timeline where the work was delegated.
- Extends
Properties
| client_event_id | The event_id of the client command associated with this server event, when supplied. |
| delegation | The delegated work identifier and destination. This object contains metadata, not the task text. |
| event_id | The unique ID of the Live server event. |
| offset_ms | The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session. |
| type | The event type, always |
Property Details
client_event_id
The event_id of the client command associated with this server event, when supplied.
client_event_id?: string
Property Value
string
delegation
The delegated work identifier and destination. This object contains metadata, not the task text.
delegation: VoiceAgentLiveDelegationItem
Property Value
event_id
The unique ID of the Live server event.
event_id: string
Property Value
string
offset_ms
The position on the Live session timeline where the delegation was created, in milliseconds from the beginning of the session.
offset_ms: number
Property Value
number
type
The event type, always session.delegation.created.
type: "session.delegation.created"
Property Value
"session.delegation.created"