---
title: "Queue files for translation"
method: POST
path: "/v2/project/translations/enqueue"
tags: ["Translation"]
---

# Queue files for translation

`POST /v2/project/translations/enqueue`

Enqueue uploaded source files for background translation. Max 100 files per request. The response shape depends on the requested `gt-api-version`.

## Headers

- `gt-api-version` '2025-01-01.v0' | '2025-11-03.v1' | '2026-02-18.v1' | '2026-03-06.v1'
- `gt-project-id` string

## Request body

- object
  - `files` object[], required
    - `branchId` string
    - `fileId` string, required
    - `versionId` string, required
    - `fileName` string
    - `transformFormat` string
  - `targetLocales` string[]
  - `sourceLocale` string
  - `force` boolean
  - `modelProvider` 'ANTHROPIC' | 'OPENAI' | 'XAI' | 'GOOGLE' — AI model provider override.
  - `publish` boolean — Publish translations once complete.

## Response `200`

Files queued.

- object — On `gt-api-version` >= 2025-11-03.v1 returns `jobData`; earlier versions return inline `translations` and `data`.
  - `jobData` object — Map of jobId to job details.
  - `locales` string[]
  - `message` string

## Other responses

- `400` — Bad request, including missing source files.
- `401` — Missing or invalid API key.
- `403` — The API key lacks the required permission, or the action is not allowed on the current plan.
- `429` — Rate limit or quota exceeded.

---

[API](https://skmtc.net/generaltranslation/apis/general-translation-api.md) · [All operations](https://skmtc.net/generaltranslation/apis/general-translation-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/generaltranslation/general-translation-api/revisions/7e9372f17040/schema)
