latestOpenAPI 3.1.02026-08-0823354.5 KB

7e9372f17040

Translation

Queue files for translation

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

post/v2/project/translations/enqueue

Headers

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

API version. Defaults to the earliest supported version. Latest is 2026-03-06.v1.

gt-project-idstring

Target project ID. Required when authenticating with an organization API key.

Request body

targetLocalesstring[]
sourceLocalestring
forceboolean
modelProvider'ANTHROPIC' | 'OPENAI' | 'XAI' | 'GOOGLE'

AI model provider override.

publishboolean

Publish translations once complete.

Response

Files queued.

jobDataobject

Map of jobId to job details.

localesstring[]
messagestring