Get agents using pronunciation dictionary
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}/affected-agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}/affected-agents \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}/affected-agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"agents": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Get agents using pronunciation dictionary
Returns a list of agents that use the specified pronunciation dictionary. Use this endpoint to check which agents will be affected before modifying or deleting a dictionary.
GET
/
api
/
v1
/
pronunciation-dictionaries
/
{providerId}
/
affected-agents
Get agents using pronunciation dictionary
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}/affected-agents', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}/affected-agents \
--header 'Authorization: Bearer <token>'import requests
url = "https://blackbox.dasha.ai/api/v1/pronunciation-dictionaries/{providerId}/affected-agents"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"agents": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
}
]
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Use Cases
Check affected agents before:- Deleting a dictionary: Understand which agents will lose pronunciation customizations
- Removing rules: Identify agents that rely on specific pronunciation rules
- Planning updates: Coordinate dictionary changes with agent configurations
Path Parameters
Dictionary identifier
Response
Returns affected agents successfully
List of agents using a specific pronunciation dictionary. Useful for understanding which agents will be affected by changes to the dictionary, as modifications to pronunciation rules will impact TTS output for all listed agents.
Agents configured to use this pronunciation dictionary. When the dictionary's rules are modified, these agents' TTS output will reflect the changes in their next voice synthesis operations.
Show child attributes
Show child attributes
Was this page helpful?