> For the complete documentation index, see [llms.txt](https://developer.doctranslate.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.doctranslate.io/document-translation-api/translation-api/api-v3/get-result.md).

# Get result

#### HTTP request <a href="#http-request" id="http-request"></a>

GET `/v3/result/{task_id}`

**Authorization(***Bearer token or API key)*

*OAuth2PasswordBearer*

```
Authorization: OAuth2PasswordBearer
```

Header API Key

```
X-API-Key: <your_api_key>
```

**Path Parameters**

| KEY       | TYPE   | VALUE                                  |
| --------- | ------ | -------------------------------------- |
| `task_id` | String | Provided when calling translation API. |

**Response**

**200:** Success

Response schema: *application/json*

<table><thead><tr><th width="316">KEY</th><th width="498">VALUE</th><th></th></tr></thead><tbody><tr><td>status_code</td><td>200</td><td></td></tr><tr><td>content</td><td>{<br>"data": {<br>"7be10528f259430381daa6885bbb11a9": {<br>"task_id": "7be10528f259430381daa6885bbb11a9",<br>"url_download": "https://media.doctranslate.io/doctranslator-production/output/docx/test_truyen_16_en_1747902169.docx?X-Amz-Algorithm=AWS4-HMAC-SHA256&#x26;X-Amz-Credential=qa0e1UFJ0Trmajw8ttCM%2F20250522%2Fus-east-1%2Fs3%2Faws4_request&#x26;X-Amz-Date=20250522T084129Z&#x26;X-Amz-Expires=604800&#x26;X-Amz-SignedHeaders=host&#x26;X-Amz-Signature=b51064047dcc20dbf4bb237df6345d9d8148ac46cee071b852a480461edc84a1",<br>"type": "document",<br>"status": "done",<br>"file_name": "test_truyen_16_en_1747902169.docx",<br>"filename": null,<br>"cost": 0.54,<br>"dest_lang": "en",<br>"translation_type": "Document",<br>"datetime": "2025-05-22 15:41:29.098340"<br>},<br>"status": null<br>},<br>"errors": [],<br>"error_description": "",<br>"start_time": "2025-05-22 15:41:31.451406",<br>"end_time": "2025-05-22 15:41:31.451933",<br>"status": "success"<br>}</td><td></td></tr><tr><td>task_id (data/task_id)</td><td>Unique identifier for the translation task.</td><td></td></tr><tr><td>url_download (data/url_download)</td><td>URL to download the translated file.</td><td></td></tr><tr><td>type (data/type)</td><td>Type of translation.</td><td></td></tr><tr><td>status (data/status )</td><td>Current status of the task (e.g., <code>done</code>, <code>processing</code>, <code>failed</code>).</td><td></td></tr><tr><td>file_name (data/file_name )</td><td>The name of the <strong>translated output file</strong>, including the file extension (e.g., <code>.docx</code>, <code>.pdf</code>, <code>.srt</code>). This is the actual filename users will download.</td><td></td></tr><tr><td>filename (data/filename )</td><td>The name of the <strong>translated output file</strong>, including the file extension (e.g., <code>.docx</code>, <code>.pdf</code>, <code>.srt</code>). This is the actual filename users will download.</td><td></td></tr><tr><td>cost (data/cost )</td><td>Credit or cost consumed for the translation task.</td><td></td></tr><tr><td>dest_lang (data/dest_lang )</td><td>Destination language code (e.g., <code>en</code>, <code>ja</code>, <code>vi</code>).</td><td></td></tr><tr><td>translation_type (data/translation_type )</td><td>Type of translation service used.</td><td></td></tr><tr><td>start_time</td><td>The timestamp when the translation task started, in <strong>Vietnam time (UTC+7, Asia/Ho_Chi_Minh)</strong>.</td><td></td></tr><tr><td>end_time</td><td>The timestamp when the translation task started, in <strong>Vietnam time (UTC+7, Asia/Ho_Chi_Minh)</strong>.</td><td></td></tr></tbody></table>

**400:** Bad Request\
Response schema: *application/json*

<table><thead><tr><th width="245">KEY</th><th width="377">VALUE</th><th></th></tr></thead><tbody><tr><td>status_code</td><td>400</td><td></td></tr><tr><td>content</td><td>{<br>"data": {<br>"status": "failed",<br>"task_id": "7be10528f259430381daa6885bbb11a9",<br>"success": false,<br>"type": "fail_task",<br>"cost": 0,<br>"file_name": "test_truyen_16_1747902169.docx",<br>"filename": "test_truyen_16_1747902169.docx",<br>"dest_lang": "en",<br>"translation_type": "Document",<br>"datetime": "2025-05-22 15:23:14.637752"<br>},<br>"errors": [],<br>"error_description": "",<br>"start_time": "2025-05-22 15:52:06.087026",<br>"end_time": "2025-05-22 15:52:06.087519",<br>"status": "success"<br>}</td><td></td></tr><tr><td>task_id</td><td>Unique identifier for the translation task.</td><td></td></tr><tr><td>status (data/status )</td><td>Current status of the task (e.g., <code>done</code>, <code>processing</code>, <code>failed</code>).</td><td></td></tr><tr><td>type (data/type)</td><td>Type of translation.</td><td></td></tr><tr><td>cost (data/cost )</td><td>Credit or cost consumed for the translation task.</td><td></td></tr><tr><td>file_name (data/file_name )</td><td>The name of the <strong>translated output file</strong>, including the file extension (e.g., <code>.docx</code>, <code>.pdf</code>, <code>.srt</code>). This is the actual filename users will download.</td><td></td></tr><tr><td>filename (data/filename )</td><td>The name of the <strong>translated output file</strong>, including the file extension (e.g., <code>.docx</code>, <code>.pdf</code>, <code>.srt</code>). This is the actual filename users will download.</td><td></td></tr><tr><td>dest_lang (data/dest_lang )</td><td>Destination language code (e.g., <code>en</code>, <code>ja</code>, <code>vi</code>).</td><td></td></tr><tr><td>translation_type (data/translation_type )</td><td>Type of translation service used.</td><td></td></tr><tr><td>start_time</td><td>The timestamp when the translation task started, in <strong>Vietnam time (UTC+7, Asia/Ho_Chi_Minh)</strong>.</td><td></td></tr><tr><td>end_time</td><td>The timestamp when the translation task started, in <strong>Vietnam time (UTC+7, Asia/Ho_Chi_Minh)</strong>.</td><td></td></tr></tbody></table>

**401: A**uthentication Error

Response schema: *application/json*

<table><thead><tr><th width="286">KEY</th><th width="524">VALUE</th><th></th></tr></thead><tbody><tr><td>status_code</td><td>401</td><td></td></tr><tr><td>content</td><td>{ "detail": "Not authenticated" }</td><td></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>
