List Bridge Phrases
Fetch bridge phrases configs.
/api/v1/bridge_phrases/Authentication
Syllable-API-KeyrequiredSend Syllable-API-Key in the header.
Need a credential? Create or manage an API token in the Syllable Console.
Parameters
Query parameters
page
integer | null
query
optional
The page number from which to start (0-based)
0Minimum 0Example 0limit
integer
query
optional
The maximum number of items to return
25Minimum 0Example 25search_fields
enum<string>[]
query
optional
String names of fields to search. Correspond by index to search field values
[]Example nameItem schema
itemsenum<string>requiredNames of bridge phrases fields supported for filtering/sorting on list endpoint.
["name","description","updated_at","last_updated_by"]search_field_values
string[]
query
optional
Values of fields to search. Correspond by index to search fields. Unless field name contains "list", an individual search field value cannot be a list
[]Example Some Object NameItem schema
itemsstringrequiredorder_by
enum<string> | null
query
optional
The field whose value should be used to order the results
["name","description","updated_at","last_updated_by"]Example nameorder_by_direction
enum<string> | null
query
optional
The direction in which to order the results
["asc","desc"]fields
enum<string>[] | null
query
optional
The fields to include in the response
[]Example []Item schema
itemsenum<string>requiredNames of bridge phrases fields supported for filtering/sorting on list endpoint.
["name","description","updated_at","last_updated_by"]start_datetime
string | null
query
optional
The start datetime for filtering results
2023-01-01T00:00:00Zend_datetime
string | null
query
optional
The end datetime for filtering results
2024-01-01T00:00:00ZResponses
200Successful Response
application/json
response
ListResponse_BridgePhrasesResponse_
required
5 fields
itemsBridgePhrasesResponse[]requiredList of items returned from the query
Item schema
itemsBridgePhrasesResponserequiredResponse model for bridge phrases operations.
A bridge phrases config is a named, sub-org-scoped collection of default bridge phrases plus optional per-tool and per-language overrides that can be linked to an agent. For more information, see Console docs.
9 fields
namestringrequiredThe name of the bridge phrases config.
descriptionstring | nulloptionalDescription of the bridge phrases config.
configBridgePhrasesConfigPayloadoptionalDefault phrases plus per-tool overrides.
4 fields
phraseslib__database__dao__organization__bridge_phrases_dao__BridgePhraseMessagesoptionalDefault bridge phrases (used when no tool-specific entry matches).
2 fields
messagesstring[]optionalOrdered bridge phrases for this scope.
Item schema
itemsstringrequiredlocalizedobjectoptionalPer-language overrides keyed by BCP-47 tag (e.g. "es-US").
1 field
{key}LocalizedBridgePhrasesoptionalPer-language bridge phrase overrides (no further nesting).
1 field
messagesstring[]optionalBridge phrases for this language.
Item schema
itemsstringrequiredtoolsToolBridgePhraseConfig[]optionalPer-tool phrase overrides.
Item schema
itemsToolBridgePhraseConfigrequiredPer-tool bridge phrase override entry.
2 fields
tool_namestringrequiredName of the tool these phrases override.
phraseslib__database__dao__organization__bridge_phrases_dao__BridgePhraseMessagesreference defined abovePhrase messages for this tool.
smart_turn_timeout_secondsnumber | nulloptionalSeconds of caller silence before injecting the first bridge phrase. Defaults to 2.75s when omitted on write.
2.75Minimum 0.25Maximum 30randomize_bridge_phrasesbooleanoptionalWhether to randomize the order of bridge phrases. When true, the order of the bridge phrases is randomized for each call.
falseis_defaultbooleanoptionalWhether this config is currently marked as the default for its suborg.
falseidintegerrequiredThe ID of the bridge phrases config to update.
edit_commentsstring | nulloptionalComments for the most recent edit.
agents_infoBridgePhrasesAgentInfo[] | nulloptionalIDs and names of the agents linked to this bridge phrases config.
Item schema
itemsBridgePhrasesAgentInforequiredInformation about an agent linked to a bridge phrases config.
2 fields
idintegerrequiredThe ID of the agent.
namestringrequiredThe name of the agent.
updated_atstring (date-time)requiredTimestamp of the last update.
last_updated_bystringrequiredEmail of the user who last updated this config.
pageintegerrequiredThe page number of the results (0-based)
page_sizeintegerrequiredThe number of items returned per page
total_pagesinteger | nulloptionalThe total number of pages of results given the indicated page size
total_countinteger | nulloptionalThe total number of items returned from the query
Response example
{
"items": [
{
"name": "string",
"description": "string",
"config": {
"phrases": {
"messages": [
"string"
],
"localized": {
"es-US": {
"messages": [
"Un momento, por favor."
]
},
"fr-FR": {
"messages": [
"Un instant, je vous en prie."
]
}
}
},
"tools": [
{
"tool_name": "string",
"phrases": null
}
],
"smart_turn_timeout_seconds": 2.75,
"randomize_bridge_phrases": false
},
"is_default": false,
"id": 0,
"edit_comments": "string",
"agents_info": "string",
"updated_at": "string",
"last_updated_by": "string"
}
],
"page": 0,
"page_size": 0,
"total_pages": "string",
"total_count": "string"
}422Validation Error
application/json
response
HTTPValidationError
required
1 field
detailValidationError[]optionalItem schema
itemsValidationErrorrequired3 fields
locstring | integer[]requiredItem schema
itemsstring | integerrequired2 options
Option 1stringrequiredOption 2integerrequiredmsgstringrequiredtypestringrequiredResponse example
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
