Translation

Queue files for translation

Changed on

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

Request

  • Base URL: https://api.gtx.dev
  • URL: https://api.gtx.dev/v2/project/translations/enqueue
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Headers

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

API contract version. Defaults to the oldest supported version.

gt-project-idstring

Target project ID when no project ID is present in the path. Project API keys default to their bound project. If supplied, the header must match both the path target and the key’s bound project.

Request body

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

Response

Enqueued translations. Shape depends on gt-api-version (legacy before 2025-11-03.v1).

OR

Changes

    • info

      added the non-success response with the status

    • warning

      added the new HYPERCLOVA enum value to the /// response property for the response status

    • info

      added the new HYPERCLOVA enum value to the request property