Skip to main content
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));
{
  "agents": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "<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

providerId
string
required

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
object[]
required

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.