Skip to content
Last updated

Vocabulary API

The Vocabulary API manages the words your organization wants transcripts to get right: product names, people, places and jargon. Words live as entries, either private to one person or in a vocabulary list that can be shared.

Key concepts

  • Private entries — Words only their owner's transcripts use. Create one with list_id set to null.
  • Organization list — Every organization has one list that every member reads. It cannot be deleted.
  • Custom lists — Lists a person creates and owns, optionally in a team space. Share a custom list with people, teams, departments or the whole organization by creating an access grant on it.
  • Rights — Every list and entry in a response says what the caller may do with it (can_edit, can_share, can_delete). A list or entry the caller cannot read answers 404; one they can read but not change answers 403.
  • Suggestions — Words proposed for the shared vocabulary: members' names, assistant and project names, and words several colleagues learned from their own corrections. People who manage the team vocabulary approve or dismiss them.
  • Settings — Organization-wide switches for learning from corrections and sharing learned words. Every member may read them; only people who manage the team vocabulary may change them, and every change names the revision it was based on.

Quickstart

Create a list and add a word to it:

POSThttps://api.aitronos.com/v1/vocabulary/lists
curl -X POST "https://api.aitronos.com/v1/vocabulary/lists" \
  -H "X-API-Key: $FREDDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "Product names"}'

curl -X POST "https://api.aitronos.com/v1/vocabulary/entries" \
  -H "X-API-Key: $FREDDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"list_id": "voclist_8f2a61c4e0b94d7a", "written": "Kubernetes", "sounds_like": ["cube ernetes"]}'

Endpoints

EndpointDescription
List vocabulary listsEvery list the caller can read, the organization list first
Create a vocabulary listCreate a custom list
Get a vocabulary listOne list the caller can read
Update a vocabulary listRename, describe, switch off or move a list
Delete a vocabulary listDelete a custom list and its entries
List vocabulary entriesPage private, list or shared entries
Create a vocabulary entryAdd a private entry or an entry to a list
Get a vocabulary entryOne entry the caller can read
Update a vocabulary entryChange an entry
Delete a vocabulary entryDelete an entry
Undo a learned vocabulary entryRemove a word learned from a correction
Import words into a vocabulary listAdd and update words from an .xlsx or .csv file
Export a vocabulary listDownload a list as .xlsx or .csv
Preview vocabularyWhich words a call would use, and what each model keeps
List vocabulary suggestionsWords proposed for the organization's vocabulary
Refresh vocabulary suggestionsCollect new suggestions now
Approve a vocabulary suggestionWrite a suggested word into a list
Dismiss a vocabulary suggestionNever suggest a word again
Approve or dismiss vocabulary suggestions in bulkDecide up to 100 suggestions at once
Get vocabulary settingsRead the organization's vocabulary settings
Update vocabulary settingsChange the organization's vocabulary settings