---
title: "Translate content at runtime"
method: POST
path: "/v2/translate"
tags: ["Translation"]
---

# Translate content at runtime

`POST /v2/translate`

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

## 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
  - `requests` object, required — Map of request key to a translation request entry.
  - `targetLocale` string, required
  - `sourceLocale` string, required
  - `metadata` object, required
    - `modelProvider` 'ANTHROPIC' | 'OPENAI' | 'XAI' | 'GOOGLE'

## Response `200`

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

- object

## Other responses

- `201` — Translation results, keyed by request key.
- `400` — The request was invalid.
- `402` — Payment or quota validation failed.
- `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)
