Skip to main content
PATCH
For AI agents, use https://docs.tavus.io/openapi.yaml for the full HTTP API contract.

Authorizations

x-api-key
string
header
required

Path Parameters

dictionary_id
string
required

The unique identifier of the pronunciation dictionary.

Body

application/json

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 PALs 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
enum<string>
required

The operation to perform. Must be one of: add, remove, replace, copy, move, test

Available options:
add,
remove,
replace,
copy,
move,
test
Example:

"replace"

path
string
required

A JSON Pointer string that references a location within the target document where the operation is performed. Supported paths: /name, /rules.

Example:

"/name"

value
any

The value to be used within the operation. Required unless using remove.

Response

Pronunciation dictionary updated successfully

pronunciation_dictionary_id
string

Unique identifier for the pronunciation dictionary.

Example:

"pd_abc123def456gh"

name
string

Name of the pronunciation dictionary.

Example:

"Updated Brand Terms"

rules
object[]

List of pronunciation rules.

rules_count
integer

Number of rules in the dictionary.

Example:

1

created_at
string

ISO 8601 timestamp of when the dictionary was created.

Example:

"2025-01-15T10:30:00Z"

updated_at
string

ISO 8601 timestamp of when the dictionary was last updated.

Example:

"2025-01-15T12:00:00Z"