Amazon Translate · Schema

TranslateTextRequest

Amazon Web ServicesLanguage ProcessingLocalizationMachine TranslationNatural Language ProcessingTranslation

Properties

Name Type Description
Text string The text to translate. The text string can be a maximum of 10,000 bytes long. Depending on your character set, this may be fewer than 10,000 characters.
TerminologyNames array The name of a terminology list file to add to the translation job. This file provides source terms and the desired translation for each term. A terminology list can contain a maximum of 256 terms. You
SourceLanguageCode string The language code for the language of the source text. For a list of language codes, see Supported languages. To have Amazon Translate determine the source language of your text, you can specify auto
TargetLanguageCode string The language code requested for the language of the target text. For a list of language codes, see Supported languages.
Settings object
View JSON Schema on GitHub

JSON Schema

amazon-translate-translate-text-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-translate/json-schema/amazon-translate-translate-text-request-schema.json",
  "title": "TranslateTextRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-translate-operations-api-openapi.yml#/components/schemas/TranslateTextRequest",
  "type": "object",
  "properties": {
    "Text": {
      "type": "string",
      "description": "The text to translate. The text string can be a maximum of 10,000 bytes long. Depending on your character set, this may be fewer than 10,000 characters."
    },
    "TerminologyNames": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The name of a terminology list file to add to the translation job. This file provides source terms and the desired translation for each term. A terminology list can contain a maximum of 256 terms. You can use one custom terminology resource in your translation request. Use the ListTerminologies operation to get the available terminology lists. For more information about custom terminology lists, see Custom terminology."
    },
    "SourceLanguageCode": {
      "type": "string",
      "description": "The language code for the language of the source text. For a list of language codes, see Supported languages. To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language. If you specify auto, you must send the TranslateText request in a region that supports Amazon Comprehend. Otherwise, the request returns an error indicating that autodetect is not supported."
    },
    "TargetLanguageCode": {
      "type": "string",
      "description": "The language code requested for the language of the target text. For a list of language codes, see Supported languages."
    },
    "Settings": {
      "$ref": "#/$defs/TranslationSettings"
    }
  },
  "required": [
    "Text",
    "SourceLanguageCode",
    "TargetLanguageCode"
  ],
  "$defs": {
    "TranslationSettings": {
      "type": "object",
      "properties": {
        "Formality": {
          "type": "string",
          "enum": [
            "FORMAL",
            "INFORMAL"
          ],
          "description": "You can specify the desired level of formality for translations to supported target languages. The formality setting controls the level of formal language usage (also known as register) in the translation output. You can set the value to informal or formal. If you don't specify a value for formality, or if the target language doesn't support formality, the translation will ignore the formality setting. If you specify multiple target languages for the job, translate ignores the formality setting for any unsupported target language. For a list of target languages that support formality, see Supp"
        },
        "Profanity": {
          "type": "string",
          "enum": [
            "MASK"
          ],
          "description": "You can enable the profanity setting if you want to mask profane words and phrases in your translation output. To mask profane words and phrases, Amazon Translate replaces them with the grawlix string “?$#@$“. This 5-character sequence is used for each profane word or phrase, regardless of the length or number of words. Amazon Translate doesn't detect profanity in all of its supported languages. For languages that don't support profanity detection, see Unsupported languages in the Amazon Translate Developer Guide. If you specify multiple target languages for the job, all the target languages m"
        },
        "Brevity": {
          "type": "string",
          "enum": [
            "ON"
          ],
          "description": "When you turn on brevity, Amazon Translate reduces the length of the translation output for most translations (when compared with the same translation with brevity turned off). By default, brevity is turned off. If you turn on brevity for a translation request with an unsupported language pair, the translation proceeds with the brevity setting turned off. For the language pairs that brevity supports, see Using brevity in the Amazon Translate Developer Guide."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-translate-translate-text-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.