# General Translation Platform: Mettre des fichiers en file d’attente pour traduction URL: https://generaltranslation.com/fr/docs/platform/openapi/reference/translation/queue.mdx --- title: "Mettre des fichiers en file d’attente pour traduction" description: "Mettez les fichiers sources importés en file d’attente pour une traduction en arrière-plan. 100 fichiers maximum par requête. Le format de la réponse dépend de la valeur de `gt-api-version` demandée. Référence de l’API pour mettre des fichiers en file d’attente pour traduction." method: POST full: true _openapi: method: POST route: /v2/project/translations/enqueue toc: [] structuredData: headings: [] contents: - content: > Mettez les fichiers sources importés en file d’attente pour une traduction en arrière-plan. 100 fichiers maximum par requête. Le format de la réponse dépend de la valeur de `gt-api-version` demandée. --- ## `POST https://api.gtx.dev/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`. Authentication: send an API key as a bearer token in the `Authorization: Bearer ` header. ### Parameters - `gt-api-version` (header, "2025-01-01.v0" | "2025-11-03.v1" | "2026-02-18.v1" | "2026-03-06.v1", optional): API version. Defaults to the earliest supported version. Latest is `2026-03-06.v1`. - `gt-project-id` (header, string, optional): Target project ID. Required when authenticating with an organization API key. ### Request body Body (`application/json`, object): - `files` (object[], required) - `branchId` (string) - `fileId` (string, required) - `versionId` (string, required) - `fileName` (string) - `transformFormat` (string) - `targetLocales` (string[]) - `sourceLocale` (string) - `force` (boolean) Default: `false`. - `modelProvider` ("ANTHROPIC" | "OPENAI" | "XAI" | "GOOGLE"): AI model provider override. - `publish` (boolean): Publish translations once complete. ### Responses **200**: Files queued. Response body (`application/json`, object): - `jobData` (object): Map of jobId to job details. - `locales` (string[]) - `message` (string) **400**: Bad request, including missing source files. Response body (`application/json`, object): - `error` (string) - `missing` (string[]) - `count` (integer) **401**: Missing or invalid API key. Response body (`application/json`, object): - `error` (string): Human-readable error message. **403**: The API key lacks the required permission, or the action is not allowed on the current plan. Response body (`application/json`, object): - `error` (string): Human-readable error message. **429**: Rate limit or quota exceeded. Response body (`application/json`, object): - `error` (string): Human-readable error message. The complete OpenAPI 3.1 spec is available at https://generaltranslation.com/openapi.yaml.