latestOpenAPI 3.1.02026-08-0823354.5 KB

7e9372f17040

Translation

Translate content at runtime

Translate one or more strings or structured content entries with caching and memoization. Authentication is optional; unauthenticated requests may receive partial results.

post/v2/translate

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

requestsobject required

Map of request key to a translation request entry.

targetLocalestring required
sourceLocalestring required

Response

Cached or partially completed translation results, keyed by request key.

object required