Update a pronunciation dictionary’s name or rules using JSON Patch format (RFC 6902). Supported mutable fields are name and rules.
Documentation Index
Fetch the complete documentation index at: https://docs.tavus.io/llms.txt
Use this file to discover all available pages before exploring further.
The unique identifier of the pronunciation dictionary.
Read-only fields like pronunciation_dictionary_id, created_at, and updated_at are silently ignored. If all operations target read-only fields or result in no changes, the endpoint returns 304.
When rules are updated, all personas referencing this dictionary are automatically updated with the new provider-specific pronunciation data.
Note: Updating rules replaces the entire rules array. There is no way to add or remove individual rules — provide the complete updated list.
For example:
[
{ "op": "replace", "path": "/name", "value": "Updated Brand Terms" },
{ "op": "replace", "path": "/rules", "value": [
{ "text": "Tavus", "pronunciation": "TAH-vus", "type": "alias" }
]}
]The operation to perform. Must be one of: add, remove, replace, copy, move, test
add, remove, replace, copy, move, test "replace"
A JSON Pointer string that references a location within the target document where the operation is performed. Supported paths: /name, /rules.
"/name"
The value to be used within the operation. Required unless using remove.
Pronunciation dictionary updated successfully
Unique identifier for the pronunciation dictionary.
"pd_abc123def456gh"
Name of the pronunciation dictionary.
"Updated Brand Terms"
List of pronunciation rules.
Number of rules in the dictionary.
1
ISO 8601 timestamp of when the dictionary was created.
"2025-01-15T10:30:00Z"
ISO 8601 timestamp of when the dictionary was last updated.
"2025-01-15T12:00:00Z"