Skip to main content

Get one translation of a document.

GET/api/v1/documents/{document_id}/translations/{document_translation_id}documents:read

The translation with its status and, once COMPLETED, its segments. Poll it after create_document_translation until status is COMPLETED or FAILED. Needs View Document Translations and access to the document.

Scopedocuments:read
AsynchronousNo
MCP toolget_document_translation
Portal permissionsview_document_translations

Parameters​

NameInTypeRequiredDescription
document_idpathstringRequired
document_translation_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json DocumentTranslation
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

DocumentTranslation​

FieldTypeRequiredDescription
created_atstring (date-time) or nullRequired
document_translation_idstringRequired
languagestringRequiredThe target language, as it was asked for.
statusstring or nullRequiredPENDING while it is being made, COMPLETED when it can be burned into a document, FAILED when it could not be made. Open.
translationobject or nullRequiredThe translated text segments with their page and position, format document_translation; null until it is completed.