Forks
Connect
WebSocket
/live/sessions/{session_id}/forkModels
ForkClientEvent = ForkSessionStartEvent { session, type, event_id } | SessionUpdateEvent { session, type, event_id } | InputAudioAppendEvent { audio, type, event_id } | 12 moreClient events for a Live fork WebSocket. First send session.start with an overrides object (which may be empty), then wait for session.started before sending other commands. The model and conversation are inherited from the stored session.
ForkClientEvent = ForkSessionStartEvent { session, type, event_id } | SessionUpdateEvent { session, type, event_id } | InputAudioAppendEvent { audio, type, event_id } | 12 more
Client events for a Live fork WebSocket. First send session.start with an overrides object (which may be empty), then wait for session.started before sending other commands. The model and conversation are inherited from the stored session.
ForkServerEvent = SessionStartedEvent { event_id, session, type, client_event_id } | SessionUpdatedEvent { event_id, session, type, client_event_id } | InputAudioMutedEvent { event_id, type, client_event_id } | 25 moreServer events for Live. Response lifecycle events are wrapped inside response.event; dispatch the nested event by its full type and tolerate new response event types. Follow the Live prompting guide when designing the conversation and delegation policy.
ForkServerEvent = SessionStartedEvent { event_id, session, type, client_event_id } | SessionUpdatedEvent { event_id, session, type, client_event_id } | InputAudioMutedEvent { event_id, type, client_event_id } | 25 more
Server events for Live. Response lifecycle events are wrapped inside response.event; dispatch the nested event by its full type and tolerate new response event types. Follow the Live prompting guide when designing the conversation and delegation policy.