v1.0.0OpenAPI 3.1.1

Translation Memory API

Download OpenAPI Document

Translation memories, glossaries, term bases and style guides, and the translation that uses them.

Store your approved translations in translation memories and translate new text with them. Each memory can use term bases, glossaries and a style guide, so every translation follows your terminology and voice. New here? Read Translation Memory for the whole flow.

Every request

Send your organization API key in the x-api-key header; it starts with uvk_. Create one in the Universe app under Settings → API keys. The key and organization limits count requests over a rolling minute. See Authentication and Rate limits.

The typical flow: create a translation memory, attach term bases, glossaries and a style guide, then translate texts. Machine translations are saved to the memory as unverified; review them with List terms and Set a term status.

Languages are BCP-47 codes such as en-US, hi-IN or fr-FR. Memories, term bases, glossaries and style guides live with a provider, VitraTM by default. When the provider fails, you get 502 or 503 with error: "TranslationServiceError" and a message you can show; retry with backoff.

Server
{{API_BASE_URL}}
Your API environment
Authentication RequiredApiKeyAuth
Your organization API key (starts with `uvk_`). Create one in the Universe app under Settings → API keys.
x-api-key:
Client Libraries
Shell

Memories

A translation memory stores your approved translations, one source text at a time, and is reused by every translation you run with it. Create one on VitraTM (the default) or link a memory that already exists on Phrase, then use its id everywhere else.

Create a translation memory

Auth Required

Create a translation memory on VitraTM (the default) or Phrase. By default a new memory is made on the provider; with tmMode: "existing" you link one that is already there (from List provider memories), and its languages are used. For VitraTM, context is required. The provider cannot be changed later. Keep the returned id: every other call takes it.

Permission: translation_memory:create. An API key acts with the role of the member who created it.

Bodyrequiredapplication/json

namestringrequired

Name of the memory, unique within your organization. Up to 120 characters.

Example: Marketing site
sourceLanguagestringrequired

Primary source language, as a BCP-47 code. With tmMode: "existing" the provider memory's own languages are used instead.

Example: en-US
targetLanguagesstring[]required

Target languages, as BCP-47 codes. At least one. More are added automatically when you translate into them.

Example: ["hi-IN","fr-FR"]
descriptionstring

Free-text description. Up to 1,000 characters.

Example: Website and campaign copy for the EMEA launch.
providerstring

Where the memory is stored. phrase needs a Phrase API token in your organization settings (see List providers). Cannot be changed later.

Enum values:vitratmphrase
Default: vitratmExample: vitratm
tmModestring

create makes a new memory on the provider; existing links one that is already there (send its ID in tmRef, from List provider memories).

Enum values:createexisting
Default: createExample: create
tmRefstring

ID of the provider memory to link. Required when tmMode is existing. A provider memory can be linked to only one translation memory.

Example: 0b6f7d2a-41c9-4d8e-a3f5-9c2e7b1d4a60
styleGuideIdstring | null

ID of an organization style guide for the memory to follow (VitraTM only; ignored for Phrase). If the link fails, the memory is still created without it.

Example: f4a6c8e0-3b5d-4f7a-9c1e-5b7d9f1a3c6e
embeddingEnabledboolean

Smart Match: also match by meaning, on top of exact and fuzzy matches. VitraTM only; ignored for Phrase. Cannot be changed later.

Default: falseExample: false
enginestring

Machine translation engine for text the memory has no match for (VitraTM only; ignored for Phrase). azure is Microsoft Translator and deepl is DeepL: both ignore the style guide, term bases, glossaries and additionalPrompt (DeepL uses the memory’s context), and both translate a fixed list of languages — a source or target they can’t translate is a 400.

Enum values:geminiazuredeepl
Default: geminiExample: gemini
contextstring

What the memory is for: the client, the product, the audience, in up to 1,000 characters. Required for VitraTM memories (sent to the model with every translation); not allowed for Phrase.

Example: Consumer banking app for first-time investors in India. Friendly, plain and short.
matchModestring

How the memory serves its own 100% matches (VitraTM only). match reuses an exact match as it is and saves new machine translations to the memory. reference never returns an exact match as it is: the AI receives it as a reference that may contain errors, keeps what is right and fixes what is wrong (term bases, glossaries and the style guide win), and nothing is saved to the memory automatically — only "Sync to TM" writes. Every 100% match is then processed and charged like machine-translated text. reference needs the gemini engine (400 otherwise).

Enum values:matchreference
Default: matchExample: reference
providerProjectIdstring

Phrase project UID that pretranslate_job translations run in. Required when provider is phrase; ignored otherwise.

Example: Kp3sT8vQwXyZ1aB2cD4eF5
mtProfileUidstring

Phrase machine translation profile UID used by the language_ai method. Phrase only; ignored otherwise.

Example: mtp_7Hk2Lm9Np4Qr

Responses

201The new memory. `styleGuideId` is not echoed: read it with Get the style guide of a memory.
application/json
idstring · uuidrequired

ID of the translation memory.

Example: 6f1c2a4e-8b3d-4c5a-9e7f-2d1b0a9c8e77
namestringrequired

Name, unique within your organization.

Example: Marketing site
descriptionstring | nullrequired

Free-text description. Null when not set.

Example: Website and campaign copy for the EMEA launch.
providerstringrequired

The provider that stores the memory: vitratm or phrase. Fixed at creation.

Enum values:vitratmphrase
Example: vitratm
tmRefstringrequired

The memory's ID on the provider (a VitraTM memory ID or a Phrase translation memory UID). Fixed at creation.

Example: 0b6f7d2a-41c9-4d8e-a3f5-9c2e7b1d4a60
providerProjectIdstring | nullrequired

Phrase project UID used by the pretranslate_job method. Phrase memories only; null for VitraTM.

Example: null
mtProfileUidstring | nullrequired

Phrase machine translation profile UID used by language_ai. Phrase memories only; null for VitraTM.

Example: null
sourceLanguagestringrequired

Primary source language, as a BCP-47 code. VitraTM memories can also translate from other languages (see additionalSourceLanguages on Get a translation memory).

Example: en-US
targetLanguagesstring[]required

Target languages, as BCP-47 codes. A language is added automatically the first time you translate into it or write a term in it.

Example: ["hi-IN","fr-FR"]
embeddingEnabledbooleanrequired

Smart Match: whether the memory also matches by meaning, on top of exact and fuzzy matches. VitraTM only; always false for Phrase. Fixed at creation.

Example: false
enginestringrequired

Machine translation engine for text the memory has no match for: gemini, azure or deepl. VitraTM only (Phrase memories carry the default and ignore it). azure and deepl ignore the style guide and additionalPrompt.

Enum values:geminiazuredeepl
Example: gemini
matchModestringrequired

How the memory serves its own 100% matches. match reuses an exact match as it is and saves new machine translations to the memory. reference has the AI check and fix every exact match (term bases, glossaries and the style guide win) and saves nothing automatically; only "Sync to TM" writes. VitraTM only; always match for Phrase.

Enum values:matchreference
Example: match
fk_orgIdstring · uuidrequired

ID of the organization that owns the memory.

Example: 3b8e5d21-7c4f-4a9e-b6d2-1f0e9a8c7b65
createdAtstring · date-timerequired

When the memory was created.

Example: 2026-09-14T10:32:07.000Z
updatedAtstring · date-timerequired

When the memory was last changed.

Example: 2026-09-14T10:32:07.000Z
400A field failed validation (for example `Context is required`, `Phrase project ID is required`, `At least one target language is required`), `context` was sent for Phrase (`Context is only supported for VitraTM translation memories.`), or the provider memory to link is missing or taken (`tmRef is required when tmMode=existing.`, `No <provider> memory found for tmRef '<tmRef>'.`, `This <provider> memory is already linked to a translation memory.`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
401The `x-api-key` header is missing, or the key is invalid, expired or deleted.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
403Not allowed: the API key's role lacks the permission (`PermissionDenied`), the product is not enabled for your organization, or it has been turned off.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
409Your organization already has a memory with this name (`A translation memory named "<name>" already exists in this organization.`).
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
429Too many requests for this key. Wait the number of seconds in `Retry-After`, then retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
500The memory was made on the provider but could not be saved (`Failed to create translation memory`). Retry.
application/json
statusCodeintegerrequired

HTTP status code, repeated in the body.

Example: 404
messagestring | string[]required

What went wrong, for people. Validation failures list one entry per problem. Do not branch on this text.

Example: Booking not found
errorstring

Short name of the status.

Example: Not Found
502The translation service rejected or could not complete the request. The body is `{ statusCode, message, error: "TranslationServiceError" }`, with a message such as `The translation service couldn’t complete this request. Please try again, or contact support if it keeps happening.` A request the translation service rejects as invalid (a file it cannot read, a name already taken, an ID it does not know) is answered with its own 4xx status and message instead, and a Phrase memory whose sign-in fails with 424 `Phrase sign-in failed. …`.
application/json
statusCodenumberrequired

HTTP status code.

Example: 502
messagestringrequired

What went wrong, in plain words.

Example: The translation service couldn’t complete this request. Please try again, or contact support if it keeps happening.
errorstringrequired

Always TranslationServiceError.

Enum values:TranslationServiceError
Example: TranslationServiceError
503The translation service is busy or unavailable (`TranslationServiceError`). Wait a few seconds and retry.
application/json
statusCodenumberrequired

HTTP status code.

Example: 502
messagestringrequired

What went wrong, in plain words.

Example: The translation service couldn’t complete this request. Please try again, or contact support if it keeps happening.
errorstringrequired

Always TranslationServiceError.

Enum values:TranslationServiceError
Example: TranslationServiceError
POST/v1/translation-memory
curl '{{API_BASE_URL}}/v1/translation-memory' \
  --request POST \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Marketing site",
  "description": "Website and campaign copy for the EMEA launch.",
  "sourceLanguage": "en-US",
  "targetLanguages": [
    "hi-IN",
    "fr-FR"
  ],
  "provider": "vitratm",
  "tmMode": "create",
  "tmRef": "0b6f7d2a-41c9-4d8e-a3f5-9c2e7b1d4a60",
  "styleGuideId": "f4a6c8e0-3b5d-4f7a-9c1e-5b7d9f1a3c6e",
  "embeddingEnabled": false,
  "engine": "gemini",
  "context": "Consumer banking app for first-time investors in India. Friendly, plain and short.",
  "matchMode": "reference",
  "providerProjectId": "Kp3sT8vQwXyZ1aB2cD4eF5",
  "mtProfileUid": "mtp_7Hk2Lm9Np4Qr"
}'
{
  "id": "6f1c2a4e-8b3d-4c5a-9e7f-2d1b0a9c8e77",
  "name": "Marketing site",
  "description": "Website and campaign copy for the EMEA launch.",
  "provider": "vitratm",
  "tmRef": "0b6f7d2a-41c9-4d8e-a3f5-9c2e7b1d4a60",
  "providerProjectId": null,
  "mtProfileUid": null,
  "sourceLanguage": "en-US",
  "targetLanguages": [
    "hi-IN",
    "fr-FR"
  ],
  "embeddingEnabled": false,
  "engine": "gemini",
  "matchMode": "match",
  "fk_orgId": "3b8e5d21-7c4f-4a9e-b6d2-1f0e9a8c7b65",
  "createdAt": "2026-09-14T10:32:07.000Z",
  "updatedAt": "2026-09-14T10:32:07.000Z"
}

List translation memories

Get a translation memory

Update a translation memory

List providers

List provider memories

Imports and exports

Load existing translations into a memory as JSON or as a TMX, XLIFF, XLSX, CSV or TSV file, and download a memory as a file. Imports run in the background: poll them with Get an import. File import and export work for VitraTM memories.

Import terms

Get an upload URL for a file import

Import a file

Get an import

Download an import template

Export a translation memory

Terms

The contents of a memory: each source text with its translations and their review status (unverified, verified, approved). Read them, correct them and mark them reviewed. Review status is a VitraTM feature; Phrase memories have none.

List terms

Update a term

Set a term status

Set term statuses in bulk

Explain a translation

Translation

Translate texts through a memory. Stored translations are reused first and the rest is machine translated, then saved back to the memory for next time. Phrase's pretranslate_job method runs in the background and gives you an operation to poll.

Translate texts

Get a translation operation

Term bases

A term base holds your organization's approved terminology: product names, fixed wordings and words translators must not use. Attach a term base to one or more translation memories, and translation through those memories follows its approved terms. Fill it by hand with concepts, or import an XLSX, CSV or TBX file.

List term bases

Create a term base

Get a term base

Update a term base

List memories using a term base

Set memories using a term base

Get an upload URL for term base files

Import a term base file

Export a term base

Download a term base template

Concepts

A concept is one idea in a term base, named by terms in one or more languages: for example dashboard in English and tableau de bord in French. Each term has a review state; translation treats approved terms as binding and new ones as suggestions.

List concepts

Create a concept

Update a concept

Add a term to a concept

Update a concept term

Glossaries

A glossary is a flat list of terms with the wording to use in each language: brand names, product names and fixed UI labels. Attach it to a memory and translation follows it; where a glossary and a term base match the same words, the glossary wins. Move entries in and out in bulk with XLSX or CSV files.

List glossaries

Create a glossary

Get a glossary

Update a glossary

List memories using a glossary

Set memories using a glossary

Get an upload URL for a glossary file

Import a glossary file

Export a glossary

Download a glossary template

Glossary entries

An entry is one term in one language, with its translations, a description and tags. Set translatable to false for a do-not-translate entry: the term then stays exactly as written in every translation.

List glossary entries

Add a glossary entry

Update a glossary entry

Style guides

A style guide holds your translation style as rules, each for one or more languages or for all of them. Upload your style documents and the rules are extracted from them, or write the rules yourself. Memories that follow the guide send its active rules to the model with every translation.

List style guides

Get an upload URL for new style guides

Create a style guide

Get a style guide

Update a style guide

Get an upload URL for style guide files

Add style guide files

Update a style guide file

Download a style guide file

Re-extract style guide rules

List memories using a style guide

Set memories using a style guide

Style guide rules

Edit the rules of a style guide one by one or many at a time. Every write returns the whole guide as it now is, plus an outcome that says what the write did.

Add a rule

Update a rule

Update rules in bulk

Reorder rules

Copy rules to another language

Sharing

A parent organization can share a memory it owns with its direct child organizations. They translate with it and edit its terms under their own permissions; only the owner decides who it is shared with.

Share a translation memory

List shares

List shareable organizations

Models

BulkSetTermStatusDto
BulkStyleGuideRulesDto
BulkTermStatusItemDto
BulkTermStatusResponseDto
ConceptDto
ConceptPageDto
ConceptTermUpsertBodyDto
CopyStyleGuideLanguageDto
CreateConceptBodyDto
CreateGlossaryBodyDto
CreateGlossaryEntryBodyDto
CreateStagedUploadDto
CreateStyleGuideRuleDto
CreateTermBaseBodyDto
CreateTermBodyDto
CreateTmDto
GlossaryDetailDto
GlossaryDto
GlossaryEntryDto
GlossaryEntryPageDto
GlossaryImportResultDto
GlossaryPageDto
GlossaryTerminologyEntryDto
GlossaryTerminologyResponseDto
GlossaryTranslationDto
GlossaryTranslationInputDto
ImportTermItem
ImportTermsDto
LinkedMemoryDto
MemoryStyleGuideDto
MemoryStyleGuideSummaryDto
PaginatedTranslationMemoriesDto
PhraseStyleGuideRefDto
ProviderMemoryDto
ReorderStyleGuideRulesDto
SetGlossaryMemoriesBodyDto
SetMemoryGlossariesBodyDto
SetMemoryTermBasesBodyDto
SetStyleGuideMemoriesDto
SetTermBaseMemoriesBodyDto
SetTermStatusDto
SetTmStyleGuideDto
ShareTmDto
SourceTextItemDto
StagedUploadTicketDto
StyleGuideDetailDto
StyleGuideDto
StyleGuideEditErrorDto
StyleGuideFileDto
StyleGuideLanguageStatsDto
StyleGuidePageDto
StyleGuideRuleDto
StyleGuideRuleMutationDto
TermBaseDetailDto
TermBaseDto
TermBaseImportResultDto
TermBasePageDto
TermBaseTermDto
TerminologyResponseDto
TerminologyTermDto
TermOriginDto
TermTranslationDto
TmAuthorDto
TmImportFileQueuedDto
TmImportFileSummaryDto
TmImportOperationDto
TmImportQueuedDto
TmOrganizationDto
TmOwnerDto
TmProviderCountsDto
TmProviderInfoDto
TmSuccessResponseDto
TmTermDto
TmTermOriginResponseDto
TmTermPageDto
TmTranslationMethodDto
TranslatedTextDto
TranslateDto
TranslateProcessingResponseDto
TranslateReadyResponseDto
TranslationGroupDto
TranslationMemoryDetailDto
TranslationMemoryDto
TranslationMemoryListItemDto
TranslationOperationDto
TranslationServiceErrorDto
UpdateConceptBodyDto
UpdateGlossaryBodyDto
UpdateGlossaryEntryBodyDto
UpdateStyleGuideDto
UpdateStyleGuideFileDto
UpdateStyleGuideRuleDto
UpdateTermBaseBodyDto
UpdateTermBodyDto
UpdateTmDto
UpsertTermDto