Get Document Translation
Get the translation for a target language and style, including current status, remaining billable words, estimated API cost, and translated content.
The service rebuilds the document's current paragraphs or pages and compares their hashes with the hashes stored during translation. Changed source content is returned as stale and becomes billable again when translation is requested.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Target language used when the translation was created, or auto for automatic direction selection.
Query parameters
Translation style ID. Built-ins are default, learning_english for an
English target, and sefer_hebrew for a Hebrew target. Omit this to use
default. Custom style IDs come from /v1/translation-styles.
Response
Requested translation language. With auto, each segment reports its concrete language in its own target_language field.
Translation style ID used for this independently stored target-language translation.
Words in missing, failed, forced, or stale segments that still need translation. Cached current segments are excluded, so this can be zero even when source_word_count is not.
Estimated API balance reservation for the current billable_word_count, in cents, at USD 0.25 per 1,000 words. For example, 25 means USD 0.25 and 250 means USD 2.50. This is an estimate of remaining work, not a historical invoice, and normally becomes zero after all current segments are translated.
Paragraph- or page-level results for this target language and translation style.
