Syllable Pronunciations API

The pronunciations API from Syllable — 3 operation(s) for pronunciations.

GitHub OpenAPI

Operations 5

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/pronunciations Get the pronunciation dictionary · Get Pronunciations Dictionary #
Ask an LLM
“What pronunciations are in the dictionary?”
“Can I see the full pronunciation list?”
Tell an agent
Get the pronunciation dictionary.
Show every word and its syllable pronunciation.
GET /api/v1/pronunciations/metadata Get pronunciation dictionary metadata · Get Pronunciations Metadata #
Ask an LLM
“When was the pronunciation dictionary last updated?”
“What version is the pronunciation dictionary?”
Tell an agent
Get the pronunciation dictionary metadata.
Show the pronunciation dictionary version and last update.
GET /api/v1/pronunciations/csv Download the pronunciation dictionary as CSV · Download Pronunciations Csv #
Ask an LLM
“Can I download the pronunciation dictionary as a CSV file?”
“Where do I get a CSV of all syllable pronunciations?”
Tell an agent
Download the pronunciation dictionary as CSV.
Export all syllable pronunciations to a CSV file.
POST /api/v1/pronunciations/csv Upload a pronunciation CSV · Upload Pronunciations Csv #
Ask an LLM
“How do I add custom syllable pronunciations?”
“Can I replace the pronunciation dictionary with a CSV file?”
Tell an agent
Upload pronunciation overrides from {file}.
Replace the pronunciation dictionary with {file}.
DELETE /api/v1/pronunciations/csv Delete the pronunciation dictionary · Delete Pronunciations Dictionary #
Ask an LLM
“Can I clear all syllable pronunciations?”
“Is there a way to reset the pronunciation dictionary?”
Tell an agent destructive · confirm first
Delete the pronunciation dictionary.
Reset syllable pronunciations to defaults.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/syllable:syllable-pronunciations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

syllable-pronunciations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SyllableSDK Pronunciations API
  description: '# Syllable Platform SDK


    Syllable SDK gives you the power of awesome AI agentry.'
  version: 0.0.3
servers:
- url: https://api.syllable.cloud
  description: API server
tags:
- name: Pronunciations
paths:
  /api/v1/pronunciations:
    get:
      tags:
      - Pronunciations
      summary: Get Pronunciations Dictionary
      operationId: pronunciations_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PronunciationOverridesDictionary'
      security:
      - APIKeyHeader: []
      x-codeSamples:
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom syllable_sdk import SyllableSDK\n\n\nwith SyllableSDK(\n    api_key_header=os.getenv(\"SYLLABLESDK_API_KEY_HEADER\", \"\"),\n) as ss_client:\n\n    res = ss_client.pronunciations.pronunciations_get()\n\n    # Handle response\n    print(res)"
      - lang: typescript
        label: Typescript (SDK)
        source: "import { SyllableSDK } from \"syllable-sdk\";\n\nconst syllableSDK = new SyllableSDK({\n  apiKeyHeader: process.env[\"SYLLABLESDK_API_KEY_HEADER\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await syllableSDK.pronunciations.pronunciationsGet();\n\n  console.log(result);\n}\n\nrun();"
  /api/v1/pronunciations/metadata:
    get:
      tags:
      - Pronunciations
      summary: Get Pronunciations Metadata
      operationId: pronunciations_get_metadata
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DictionaryMetadata'
      security:
      - APIKeyHeader: []
      x-codeSamples:
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom syllable_sdk import SyllableSDK\n\n\nwith SyllableSDK(\n    api_key_header=os.getenv(\"SYLLABLESDK_API_KEY_HEADER\", \"\"),\n) as ss_client:\n\n    res = ss_client.pronunciations.pronunciations_get_metadata()\n\n    # Handle response\n    print(res)"
      - lang: typescript
        label: Typescript (SDK)
        source: "import { SyllableSDK } from \"syllable-sdk\";\n\nconst syllableSDK = new SyllableSDK({\n  apiKeyHeader: process.env[\"SYLLABLESDK_API_KEY_HEADER\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await syllableSDK.pronunciations.pronunciationsGetMetadata();\n\n  console.log(result);\n}\n\nrun();"
  /api/v1/pronunciations/csv:
    get:
      tags:
      - Pronunciations
      summary: Download Pronunciations Csv
      operationId: pronunciations_download_csv
      responses:
        '200':
          description: File content
          content:
            text/csv:
              schema:
                type: string
                format: binary
                title: bytes
      security:
      - APIKeyHeader: []
      x-codeSamples:
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom syllable_sdk import SyllableSDK\n\n\nwith SyllableSDK(\n    api_key_header=os.getenv(\"SYLLABLESDK_API_KEY_HEADER\", \"\"),\n) as ss_client:\n\n    res = ss_client.pronunciations.pronunciations_download_csv()\n\n    # Handle response\n    print(res)"
      - lang: typescript
        label: Typescript (SDK)
        source: "import { SyllableSDK } from \"syllable-sdk\";\n\nconst syllableSDK = new SyllableSDK({\n  apiKeyHeader: process.env[\"SYLLABLESDK_API_KEY_HEADER\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await syllableSDK.pronunciations.pronunciationsDownloadCsv();\n\n  console.log(result);\n}\n\nrun();"
    post:
      tags:
      - Pronunciations
      summary: Upload Pronunciations Csv
      operationId: pronunciations_upload_csv
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_pronunciations_upload_csv'
        required: true
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PronunciationsCsvUploadResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - APIKeyHeader: []
      x-codeSamples:
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom syllable_sdk import SyllableSDK\n\n\nwith SyllableSDK(\n    api_key_header=os.getenv(\"SYLLABLESDK_API_KEY_HEADER\", \"\"),\n) as ss_client:\n\n    res = ss_client.pronunciations.pronunciations_upload_csv(request={\n        \"file\": {\n            \"file_name\": \"example.file\",\n            \"content\": open(\"example.file\", \"rb\"),\n        },\n    })\n\n    # Handle response\n    print(res)"
      - lang: typescript
        label: Typescript (SDK)
        source: "import { openAsBlob } from \"node:fs\";\nimport { SyllableSDK } from \"syllable-sdk\";\n\nconst syllableSDK = new SyllableSDK({\n  apiKeyHeader: process.env[\"SYLLABLESDK_API_KEY_HEADER\"] ?? \"\",\n});\n\nasync function run() {\n  const result = await syllableSDK.pronunciations.pronunciationsUploadCsv({\n    file: await openAsBlob(\"example.file\"),\n  });\n\n  console.log(result);\n}\n\nrun();"
    delete:
      tags:
      - Pronunciations
      summary: Delete Pronunciations Dictionary
      operationId: pronunciations_delete_csv
      responses:
        '204':
          description: Successful Response
      security:
      - APIKeyHeader: []
      x-codeSamples:
      - lang: python
        label: Python (SDK)
        source: "import os\nfrom syllable_sdk import SyllableSDK\n\n\nwith SyllableSDK(\n    api_key_header=os.getenv(\"SYLLABLESDK_API_KEY_HEADER\", \"\"),\n) as ss_client:\n\n    ss_client.pronunciations.pronunciations_delete_csv()\n\n    # Use the SDK ..."
      - lang: typescript
        label: Typescript (SDK)
        source: "import { SyllableSDK } from \"syllable-sdk\";\n\nconst syllableSDK = new SyllableSDK({\n  apiKeyHeader: process.env[\"SYLLABLESDK_API_KEY_HEADER\"] ?? \"\",\n});\n\nasync function run() {\n  await syllableSDK.pronunciations.pronunciationsDeleteCsv();\n\n\n}\n\nrun();"
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    MatchType:
      type: string
      enum:
      - exact
      - substring
      title: MatchType
      description: Matching strategy for override text.
    PronunciationOverridesDictionary:
      properties:
        type:
          type: string
          pattern: ^pronunciations_v\d+$
          title: Type
          default: pronunciations_v1
        pronunciations:
          items:
            $ref: '#/components/schemas/PronunciationOverride'
          type: array
          title: Pronunciations
        voices:
          additionalProperties:
            $ref: '#/components/schemas/VoiceDisplayInfo'
          type: object
          title: Voices
        metadata:
          $ref: '#/components/schemas/DictionaryMetadata'
      additionalProperties: false
      type: object
      required:
      - pronunciations
      - metadata
      title: PronunciationOverridesDictionary
      description: "Container for all TTS pronunciation overrides belonging to the sub-organisation.\n\nStored in the `config_values` table via ConfigDao. The Syllable API persists uploaded CSV\npronunciation rules, and Bubblegum's PronunciationOverridesPlugin reads them to apply text\nreplacements before TTS processing.\n\nExample:\n    dao = ConfigDao(db_session)\n    await dao.register_model('tts.pronunciations', PronunciationOverridesDictionary)\n\n    pod = PronunciationOverridesDictionary(\n        pronunciations=[...],\n        metadata=DictionaryMetadata(entries=10, hash='sha256:...'),\n    )\n    result = await dao.upsert('pronunciations_v1', pod)\n\n    record = await dao.get('pronunciations_v1', PronunciationOverridesDictionary)\n    if record:\n        pronunciations = record.value.pronunciations"
    PronunciationOverride:
      properties:
        text:
          type: string
          minLength: 1
          title: Text
        replacement:
          type: string
          minLength: 1
          title: Replacement
        languages:
          items:
            type: string
          type: array
          title: Languages
        provider:
          type: string
          title: Provider
          default: ''
        voice:
          type: string
          title: Voice
          default: ''
        match_type:
          $ref: '#/components/schemas/MatchType'
          default: exact
        match_options:
          items:
            type: string
          type: array
          title: Match Options
        enabled:
          type: boolean
          title: Enabled
          default: true
        notes:
          type: string
          title: Notes
          default: ''
      additionalProperties: false
      type: object
      required:
      - text
      - replacement
      title: PronunciationOverride
      description: A single text replacement rule.
    PronunciationsCsvUploadResponse:
      properties:
        revision:
          type: integer
          title: Revision
        hash:
          type: string
          title: Hash
        entries:
          type: integer
          title: Entries
        uploaded_at:
          type: string
          format: date-time
          title: Uploaded At
        uploaded_by:
          type: string
          title: Uploaded By
      type: object
      required:
      - revision
      - hash
      - entries
      - uploaded_by
      title: PronunciationsCsvUploadResponse
      description: Placeholder response returned after accepting a pronunciations CSV upload.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    DictionaryMetadata:
      properties:
        entries:
          type: integer
          title: Entries
        hash:
          type: string
          title: Hash
        source:
          type: string
          title: Source
          default: ''
      additionalProperties: false
      type: object
      required:
      - entries
      - hash
      title: DictionaryMetadata
      description: Audit metadata associated with a dictionary.
    VoiceDisplayInfo:
      properties:
        display_name:
          type: string
          title: Display Name
        provider:
          type: string
          title: Provider
      additionalProperties: false
      type: object
      required:
      - display_name
      - provider
      title: VoiceDisplayInfo
      description: Display metadata for a canonical voice identifier.
    Body_pronunciations_upload_csv:
      properties:
        file:
          type: string
          format: binary
          title: File
          description: CSV file containing pronunciation overrides
      type: object
      required:
      - file
      title: Body_pronunciations_upload_csv
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: Syllable-API-Key
x-speakeasy-name-override:
- operationId: .*_list$
  methodNameOverride: list
- operationId: .*_create$
  methodNameOverride: create
- operationId: .*_update$
  methodNameOverride: update
- operationId: .*_upload$
  methodNameOverride: upload
- operationId: .*_delete$
  methodNameOverride: delete
- operationId: .*_get_by_id$
  methodNameOverride: get_by_id
- operationId: .*_get_by_name$
  methodNameOverride: get_by_name
- operationId: .*_add$
  methodNameOverride: add
- operationId: .*_remove$
  methodNameOverride: remove
- operationId: .*_results$
  methodNameOverride: results
- operationId: .*_queue_work$
  methodNameOverride: queue_work
- operationId: .*_activate$
  methodNameOverride: activate
- operationId: .*_inactivate$
  methodNameOverride: inactivate
- operationId: .*_list_files$
  methodNameOverride: list_files
- operationId: .*_move_files$
  methodNameOverride: move_files
- operationId: .*_upload_file$
  methodNameOverride: upload_file