> ## Documentation Index
> Fetch the complete documentation index at: https://docs.helpgenie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Pronunciation Vaults

> Shared pronunciation dictionaries that define how your Genies pronounce specific words and names.

Pronunciation Vaults are shared libraries of word-to-phonetic mappings. Regular users can read public vaults; creating, updating, and deleting vaults is restricted to admins.

A vault marked as a default (`is_default: true`) has its pairs added to every new Genie. A word the Genie already has a pronunciation for is kept as-is.

***

## Actions

### `all`

Returns all pronunciation vaults. Regular users only see public vaults. Admins see all vaults and can filter by accent.

**Parameters**

| Field | Type | Required | Description |
| - | - | - | - |
| `accent` | string | No | Admin only — filter by accent code |

**Response**

```json theme={null}
{
  "vaults": [
    {
      "id": "vault-uuid",
      "name": "General American English",
      "description": "Standard US English pronunciation guide",
      "accent": "en-US",
      "pairs": [
        { "word": "HelpGenie", "pronunciation": "help JEE-nee" }
      ],
      "is_public": true,
      "is_default": false,
      "created_at": "2024-01-01T00:00:00Z",
      "updated_at": "2024-01-01T00:00:00Z"
    }
  ],
  "count": 3
}
```

***

### `get`

Returns a single pronunciation vault by ID. Returns `NOT_FOUND` for non-public vaults accessed by regular users.

**Parameters**

| Field | Type | Required | Description |
| - | - | - | - |
| `id` | string | Yes | Vault UUID (passed as request ID) |

**Response**

```json theme={null}
{
  "vault": {
    "id": "vault-uuid",
    "name": "General American English",
    "description": "Standard US English pronunciation guide",
    "accent": "en-US",
    "pairs": [ /* pronunciation pairs */ ],
    "is_public": true,
    "is_default": false,
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z"
  }
}
```

***

### `create`

Creates a new pronunciation vault. **Admin only.**

**name** `string` *required*

Vault name.

**description** `string`

Optional description.

**accent** `string`

Accent code (e.g. `"en-US"`, `"en-GB"`).

**pairs** `array`

Pronunciation pairs — array of `{ "word": "...", "pronunciation": "..." }` objects. Defaults to `[]`.

**is\_public** `boolean` (default: true)

Whether the vault is visible to all users.

**is\_default** `boolean` (default: false)

When `true`, this vault's pairs are added to every new Genie.

**Response** — `201`

```json theme={null}
{
  "vault": {
    "id": "vault-uuid",
    "name": "General American English",
    "pairs": [],
    "is_public": true,
    "is_default": false,
    "created_at": "2024-01-01T00:00:00Z"
  }
}
```

***

### `update`

Updates a pronunciation vault. **Admin only.** Partial updates supported — only supplied fields are changed.

Pass the vault UUID as the request `id`. All data fields below are optional.

**name** `string`

Updated vault name.

**description** `string`

Updated description.

**accent** `string`

Updated accent code.

**pairs** `array`

Replacement pronunciation pairs array — replaces the existing pairs entirely.

**is\_public** `boolean`

Updated visibility flag.

**is\_default** `boolean`

When `true`, this vault's pairs are added to every new Genie. Set to `false` to stop adding them. Genies that already have the pairs keep them.

**Response**

```json theme={null}
{
  "vault": { /* updated vault */ }
}
```

***

### `delete`

Permanently deletes a pronunciation vault. **Admin only.** Irreversible.

**Parameters**

| Field | Type | Required | Description |
| - | - | - | - |
| `id` | string | Yes | Vault UUID (passed as request ID) |

**Response**

```json theme={null}
{ "success": true, "message": "Vault deleted successfully" }
```

***

## Error codes

| Code | Meaning |
| - | - |
| `VALIDATION_ERROR` | Missing required parameter |
| `NOT_FOUND` | Vault not found or not public |
| `FORBIDDEN` | Admin access required |
| `INTERNAL_ERROR` | Unexpected server error |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.