v1.0.0OpenAPI 3.1.1

Document Translation API

Download OpenAPI Document

Translate Office documents one at a time or in batches, with their layout kept intact.

Translate Word, PowerPoint, Excel, CSV, PDF and InDesign files, structured text files (JSON, XML, HTML, XLIFF) and plain text, keeping each document's layout and formatting. Every translation runs through one of your translation memories: matches are reused, the rest is machine translated and stored back. New here? Read Document Translation 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 usual flow: send the file with Translate a document (for a file over 25 MB, first get an upload URL), poll Get a translation until status is DONE, then download the translated file. Each call translates into one language; call it again for each further language, or translate many files at once with Translate a batch of files.

Translations run in the background, so every call returns straight away. They are charged per source word when they start: Count billable words first if you want the count, and see the current rates on Translate a document. Without enough credits you get 402 and nothing is created. See Credits.

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

Uploads

Files up to 25 MB go straight into Translate a document as the file part. For a Word, PowerPoint, Excel, PDF or InDesign file up to 500 MB, get a presigned upload URL, PUT the file to it, and translate it by its objectKey.

Get an upload URL

Get a text file upload URL

Get an edited picture upload URL

Translate a document

Count billable words

Get a translation

Get a text result

List translations

Auth Required

Translations in your organization, newest first by default. Filter by search (name), format, status, sourceLanguage, targetLanguage and a createdAt range; paginate with page and size. Files of a batch or folder run are listed one by one.

Permission: playground.document:read. An API key acts with the role of the member who created it.

Query Parameters

pagenumber

Page to return, from 1.

Default: 1Example: 1
sizenumber

Translations per page, from 1 to 100.

Default: 8Example: 8
sortstring

Sort order: <field>_<asc|desc>, where the field is date (created), name, format or consumed (billable words). Default date_desc, newest first.

Default: date_descExample: date_desc
scopestring

personal lists only translations the API key's member started or is assigned to; org (the default) lists the whole organization. A role limited to its own work always gets personal.

Enum values:personalorg
Example: org
projectIdstring

Only translations filed under this project. Pass none for translations in no project. Omit for all.

Example: 4e7a1b9c-3d2f-4c8e-9a6b-0d1c2b3a4f5e
searchstring

Only translations whose name contains this text (case-insensitive).

Example: quarterly
formatstring

Only this format, case-insensitive: text, json (also .arb), xml, xliff, html, markdown, yaml, docx, pptx, xlsx, csv (also .tsv), pdf, idml, tableau or dita. Several, comma-separated, match any of them (docx,pptx).

Example: docx
statusstring

Only this status: SCHEDULED, RUNNING, COMPLETED, FAILED or TERMINATED; or a human job still at HUMAN_TRANSLATION or HUMAN_REVISION. COMPLETED leaves those out: the list shows them by their stage.

Enum values:SCHEDULEDRUNNINGCOMPLETEDFAILEDTERMINATEDHUMAN_TRANSLATIONHUMAN_REVISION
Example: COMPLETED
sourceLanguagestring

Only this source language, exactly as sent when translating.

Example: en-US
targetLanguagestring

Only this target language, exactly as sent when translating.

Example: hi-IN
createdAtstring

Only translations created in this range: a JSON object with gte and/or lte dates. A value that is not JSON is ignored; a bound that is not a date returns 400.

Example: {"gte":"2026-09-01","lte":"2026-09-30"}

Responses

200One page of translations, with the total in `totalLogs`.
application/json
statusCodenumberrequired

Always 200.

Example: 200
messagestringrequired

Always Playground logs fetched successfully.

Example: Playground logs fetched successfully
dataLogListItemDto[]required

One page of translations.

Show child attributes
idstring · uuidrequired

Translation ID.

Example: 7d3e9a41-2c5b-4f6e-9a1d-8b2c3d4e5f60
namestringrequired

Display name, usually the file name.

Example: quarterly-review.pptx
assigneesLogAssigneeDto[]required

Members assigned to the translation. Empty when none.

Show child attributes
memberIdstring · uuidrequired

Member ID.

Example: 3b9d1e7a-5c2f-4a8b-9e6d-7f1a2b3c4d5e
namestring | nullrequired

Display name, or null when the member has none.

Example: Priya Sharma
imagestring | nullrequired

Avatar URL, or null.

Example: null
languagesstring[]required

Target languages the member covers on this translation. ["*"] when the assignment has no language.

Example: ["*"]
formatstringrequired

Format, lower-case.

Enum values:textjsonxmlxliffhtmlpptxdocxxlsxcsvpdfidmlditamarkdownyamltableau
Example: pptx
sourceLanguagestringrequired

Source language.

Example: en-US
targetLanguagestringrequired

Target language.

Example: hi-IN
suitestringrequired

The suite sent with the request.

Example: OFFICE
fk_tmIdstring · uuid | nullrequired

Translation memory the translation uses.

Example: 5c8d2e1f-9a3b-4c6d-8e7f-1a2b3c4d5e6f
projectIdstring · uuid | nullrequired

Project the translation is filed under, or null.

Example: null
verificationLogVerificationCountsDtorequired

Segment counts by review status.

Show child attributes
unumberrequired

Segments not reviewed yet.

Example: 40
vnumberrequired

Segments marked verified.

Example: 12
anumberrequired

Segments marked approved.

Example: 3
enumberrequired

Always 0. Kept for older clients.

Example: 0
consumedLogListConsumedDtorequired

Usage counters.

Show child attributes
playground_wordsnumberrequired

Billable source words of the translation.

Example: 1240
statusstringrequired

RUNNING while it runs, then COMPLETED or FAILED.

Enum values:SCHEDULEDRUNNINGCOMPLETEDFAILEDTERMINATED
Example: COMPLETED
stalledbooleanrequired

True when the translation is still unfinished long after it should have finished — it stopped making progress. Restart it with POST logs/:id/restart.

Example: false
humanStagestring | nullrequired

A human translation's stage, or null for a machine translation. A human translation's status is COMPLETED from the start (nothing runs), so this is what says whether people are still working on it.

Enum values:translationrevisiondone
Example: null
createdAtstring · date-timerequired

When the translation was created.

Example: 2026-10-04T09:12:44.000Z
updatedAtstring · date-timerequired

When the translation last changed.

Example: 2026-10-04T09:14:02.000Z
PlaygroundLogTmLogTmDtorequired

The translation memory, or null when none is linked.

Show child attributes
namestringrequired

Name of the translation memory, or TM linked when your organization can no longer see it.

Example: Marketing EN→HI
PlaygroundLogUserLogOwnerDtorequired

Who started the translation, or null when unknown.

Show child attributes
namestringrequired

Name of the member.

Example: Priya Sharma
emailstringrequired

Email of the member.

Example: priya@example.com
cosmosRunCosmosRunRefDto

Set when this translation is a step of a Cosmos run. Such a step is retried from its run (Cosmos → the run → Retry), not with Retry or Restart here. executionId is null on older steps whose run is not recorded on the translation.

Show child attributes
executionIdstring | nullrequired

The Cosmos run (execution) id.

Example: 8f2c4d1e-3b5a-4c7d-9e0f-1a2b3c4d5e6f
totalLogsnumberrequired

Translations matching the filters, over all pages.

Example: 42
400A query parameter failed validation, or a `createdAt` bound is not a date (`createdAt.gte must be a date (e.g. 2025-01-31).`).
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
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
500Something failed on our side. Retry with backoff; if it persists, contact support with the `X-Request-Id`.
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
GET/v1/galaxy/playground/document/logs
curl '{{API_BASE_URL}}/v1/galaxy/playground/document/logs?page=1&size=8&sort=date_desc&scope=org&projectId=4e7a1b9c-3d2f-4c8e-9a6b-0d1c2b3a4f5e&search=quarterly&format=docx&status=COMPLETED&sourceLanguage=en-US&targetLanguage=hi-IN&createdAt={"gte":"2026-09-01","lte":"2026-09-30"}' \
  --globoff \
  --header 'x-api-key: YOUR_API_KEY'
{
  "statusCode": 200,
  "message": "Playground logs fetched successfully",
  "data": [
    {
      "id": "7d3e9a41-2c5b-4f6e-9a1d-8b2c3d4e5f60",
      "name": "quarterly-review.pptx",
      "assignees": [
        {
          "memberId": "3b9d1e7a-5c2f-4a8b-9e6d-7f1a2b3c4d5e",
          "name": "Priya Sharma",
          "image": null,
          "languages": [
            "*"
          ]
        }
      ],
      "format": "pptx",
      "sourceLanguage": "en-US",
      "targetLanguage": "hi-IN",
      "suite": "OFFICE",
      "fk_tmId": "5c8d2e1f-9a3b-4c6d-8e7f-1a2b3c4d5e6f",
      "projectId": null,
      "verification": {
        "u": 40,
        "v": 12,
        "a": 3,
        "e": 0
      },
      "consumed": {
        "playground_words": 1240
      },
      "status": "COMPLETED",
      "stalled": false,
      "humanStage": null,
      "cosmosRun": {
        "executionId": "8f2c4d1e-3b5a-4c7d-9e0f-1a2b3c4d5e6f"
      },
      "createdAt": "2026-10-04T09:12:44.000Z",
      "updatedAt": "2026-10-04T09:14:02.000Z",
      "PlaygroundLogTm": {
        "name": "Marketing EN→HI"
      },
      "PlaygroundLogUser": {
        "name": "Priya Sharma",
        "email": "priya@example.com"
      }
    }
  ],
  "totalLogs": 42
}

Retry a failed translation

Restart a stalled translation

Rename a translation

List a document's pictures

Batches

Translate many files in one call: up to 20 uploaded files into one language, or every matching file in a folder of your assets into several languages. Each file becomes its own translation, grouped in a batch you can follow. These endpoints must be turned on for your organization.

Translate a batch of files

Get a batch

List batches

Preview a folder translation

Translate a folder

Models

BatchDetailResponseDto
BatchListResponseDto
BatchStartFileDto
BatchStartResponseDto
BulkUpdatePlaygroundVerificationDto
BulkVerifyResponseDto
CosmosRunRefDto
CreateDocumentUploadPresignDto
CreateStagedUploadDto
DocumentImagePreviewDto
DocumentImagesPreviewResponseDto
DocumentImagesSummaryDto
DocumentUploadUrlResponseDto
FolderPreviewFileDto
FolderPreviewResponseDto
FolderPreviewTotalsDto
FolderRefDto
FolderRunBatchDto
FolderRunDto
FolderRunFailureDto
FolderRunResponseDto
FolderSkippedFileDto
InsufficientCreditsErrorDto
LogAssigneeDto
LogDetailConsumedDto
LogDetailDto
LogDetailResponseDto
LogImageDto
LogImagesResponseDto
LogListConsumedDto
LogListItemDto
LogListResponseDto
LogOwnerDto
LogTmDto
LogVerificationCountsDto
PdfUnreadablePageDto
PlaygroundBatchFileDto
PlaygroundBatchSummaryDto
PlaygroundSyncFromTmResponseDto
PlaygroundSyncToTmResponseDto
RenameDitaPackageDto
RenameLogResponseDto
RenamePlaygroundLogDto
SavePlaygroundOutputToAssetsDto
SaveToAssetsResponseDto
SegmentCountsDto
SegmentDto
SegmentLocationDto
SegmentPaginationDto
SegmentsResponseDto
StagedUploadTicketDto
SyncPlaygroundToTmDto
TextResultDto
TextResultResponseDto
TranslateBatchFormDto
TranslateDocumentFormDto
TranslateLogImagesDto
TranslationStartedResponseDto
UpdatePhraseResponseDto
UpdatePlaygroundPhraseDto
UseEditedLogImageFormDto
WordCountResponseDto