Agents API

BatchGetPhoneNumbersResponse

object

Result of a batch phone-number lookup, partitioned into numbers that
were found and numbers that weren’t.

foundarray[object]required

A phone number owned by the project, plus the connector it routes incoming calls to.

Show Child Parameters
notFoundarray[string]required
Example

BatchUpdateConnectorItem

object

A single connector update within a batch update request.

connectorIdstringrequired

Connector ID to update

variantIdstring

Variant ID to assign, or null to unassign

asrLangCodestring

ASR language code

voiceNamestring

Google TTS voice name

projectIdstring

Move connector to a different project

Example

BatchUpdateConnectorsBody

object

Ordered list of connector updates.

Each update is applied independently — partial success is possible.

updatesarray[object]required

A single connector update within a batch update request.

>= 1 items

Show Child Parameters
Example

BatchUpdateConnectorsResponse

object

Per-connector results from a batch update.

Each entry reports success or failure independently.

resultsarray[object]required

Result of a single connector update within a batch.

Show Child Parameters
Example

BatchUpdateResultItem

object

Result of a single connector update within a batch.

connectorIdstringrequired
successbooleanrequired
dataobject

Updated connector (present when success=True)

Show Child Parameters
errorstring

Error message (present when success=False)

Example