TranslateRequest

The request body for IBM Watson Language Translator translate calls.

TranslationNatural Language ProcessingMachine TranslationIBM WatsonArtificial IntelligenceText AnalysisDeprecated

Properties

Name Type Description
text array Input text in UTF-8 encoding. Submit a maximum of 50 KB of text.
model_id string A globally unique string that identifies the underlying model used for translation (e.g., en-es for English to Spanish).
source string Language code specifying the language of the input text. If omitted, the service detects the source language automatically.
target string Language code specifying the target language for translation. Required if model_id is not specified.
View JSON Schema on GitHub

JSON Schema

translation-request.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ibm-translate/main/json-schema/translation-request.json",
  "title": "TranslateRequest",
  "description": "The request body for IBM Watson Language Translator translate calls.",
  "type": "object",
  "required": ["text"],
  "properties": {
    "text": {
      "type": "array",
      "description": "Input text in UTF-8 encoding. Submit a maximum of 50 KB of text.",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "example": ["Hello, world!"]
    },
    "model_id": {
      "type": "string",
      "description": "A globally unique string that identifies the underlying model used for translation (e.g., en-es for English to Spanish).",
      "example": "en-es"
    },
    "source": {
      "type": "string",
      "description": "Language code specifying the language of the input text. If omitted, the service detects the source language automatically.",
      "pattern": "^[a-z]{2,3}(-[A-Z]{2,4})?$",
      "example": "en"
    },
    "target": {
      "type": "string",
      "description": "Language code specifying the target language for translation. Required if model_id is not specified.",
      "pattern": "^[a-z]{2,3}(-[A-Z]{2,4})?$",
      "example": "es"
    }
  },
  "additionalProperties": false
}

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/translation-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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