Get Document Translation Result
Fetch the translated document download URL for a completed document translation run.
run_id returned by Get Document Translation Status, and the API returns a download_url for the translated document.
Response
This endpoint delivers the final output of the document translation workflow: a downloadable translated document. Once your document translation task has completed successfully and you have arun_id, this endpoint returns the URL where the translated file can be downloaded.
The response contains a single field:
download_url: a presigned URL for downloading the translated document.
Working with the Result
Thedownload_url points to the translated document file, not inline translated text. Your application can use it to:
- Download the translated document for a user.
- Store the translated document in your own storage.
- Attach the document to an email, CMS entry, or downstream workflow.
Example
Complete Workflow
- Create a document translation task with Create Document Translation.
- Poll the task with Get Document Translation Status.
- Use the successful
run_idhere to download the translated document.
Authorizations
The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.
Path Parameters
The unique identifier for the document translation run, returned when the task completes. The unique identifier for the run, which was generated during the creation process and returned upon task completion.
Response
Successful Response
A presigned URL for downloading the translated document.