Speech To Text (Hear)

Set stored Hear vocabulary

Replace the organization's stored custom vocabulary and activation profiles. PyAI keeps at most five sanitized terms. Stored terms bias known vocabulary only for the profiles named in enabled_for. Per-job or per-session vocabulary comes first, then stored suggestions fill remaining slots up to five. Requires the hear:configure scope.

put/v1/hear/vocabulary

Request

  • Base URL: https://api.pyai.com
  • URL: https://api.pyai.com/v1/hear/vocabulary
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Request body

termsstring[] required

Organization-owned names, brands, products, and other distinctive terms. PyAI keeps the first five entries that pass the same sanitizer used by async jobs.

enabled_forstring[] required

Explicit use cases that may use stored terms. An empty array stores the list without applying it.

Response

Updated Hear vocabulary settings

object'hear.vocabulary' required
termsstring[] required

The sanitized effective stored list.

enabled_forstring[] required
updated_atinteger nullable required

Unix milliseconds, or null when no settings have been saved.

Changes

No recorded changes to this operation across all 2 revisions of this API.