Skip to main content

Returns

Returns the updated WebRTC Connection object.

Example

web_rtc_connection = galtea.web_rtc_connections.update(
    web_rtc_connection_id=web_rtc_connection_id,
    agent_speaks_first=True,
)

Parameters

web_rtc_connection_id
string
required
ID of the WebRTC connection to update.
name
string
New name for the WebRTC connection.
api_key
string
New Pipecat Cloud public API key (pk_..., the runtime /start credential, not the pcc_pat_ deploy token). This is a secret. The API never returns it, so you cannot read it back. Leave this field unset to keep the stored key. Pass a value to replace it.
agent_name
string
New Pipecat Cloud agent name. It must match a deployed agent’s name exactly.
agent_speaks_first
boolean
Whether the voice agent opens the conversation once the session connects (True/False). Pass PydanticUndefined (the default) to leave the current value unchanged.
All fields except web_rtc_connection_id default to PydanticUndefined (from pydantic_core). Omit a field (or pass PydanticUndefined) to leave it unchanged. Pass None to explicitly clear an optional field. Pass a value to update it.