> ## Documentation Index
> Fetch the complete documentation index at: https://docs.camb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Image Translation Result

> Retrieves the translated pages for a completed image translation run.

## Retrieving Translated Pages

Once your task status shows `SUCCESS`, use this endpoint with the `run_id` to get a download link. The response contains a `download_url`: a presigned URL to a ZIP of your translated pages.

The contents of the ZIP depend on the `export_format` you chose:

* **`ZIP`** (default): the translated page images.
* **`PDF`**: one PDF per target language.

> [!NOTE]
>
> The download URL is time-limited. If it expires, call this endpoint again to get a fresh one instead of caching the link.

## When the Result Isn't Ready

This endpoint returns **404** if the translated pages are not ready yet. This can happen if the original task is still finishing, or after a [fine-tune](https://docs.camb.ai/api-reference/endpoint/fine-tune-image-translation.md) that hasn't been [exported](https://docs.camb.ai/api-reference/endpoint/export-image-translation.md) again. Poll the original `task_id` first. If you still receive a 404, call the export endpoint, wait for that task to succeed, and then retry.

## Request Example

```python [expandable] theme={null}
import os
import requests

headers = {"x-api-key": os.environ["CAMB_API_KEY"]}
run_id = 12345

response = requests.get(
    f"https://client.camb.ai/apis/image-translation/result/{run_id}",
    headers=headers,
)
response.raise_for_status()
print(response.json()["download_url"])
```


## OpenAPI

````yaml get /image-translation/result/{run_id}
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://client.camb.ai/apis
security: []
paths:
  /image-translation/result/{run_id}:
    get:
      tags:
        - Apis
        - Image Translation
      summary: Get Image Translation Result
      description: Returns a download URL for the translated pages of a completed run.
      operationId: get_image_translation_result_image_translation_result__run_id__get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            $ref: '#/components/schemas/RunIDParam'
            description: Run ID returned at create time, or from a successful status poll.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ImageTranslationResult'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    RunIDParam:
      type: integer
      title: Run ID
      description: >-
        The unique identifier for the run, which was generated during the
        creation process and returned upon task completion.
    ImageTranslationResult:
      type: object
      title: ImageTranslationResult
      required:
        - download_url
      properties:
        download_url:
          type: string
          title: Download URL
          description: >-
            Presigned URL of the ZIP containing translated pages — images by
            default, or per-language PDFs when `export_format` is `PDF`. Refresh
            the URL by calling this endpoint again if it expires.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        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.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.