Google Cloud Translation API Translate Projects API

The Translate Projects API from Google Cloud Translation API — 37 operation(s) for translate projects.

GitHub OpenAPI

Operations 51

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v3/projects/{projectsId}:romanizeText Romanize text written in non-Latin scripts · Romanize text projects #
Ask an LLM
“How do I convert Hindi or Chinese text into Latin script?”
“Can I romanize text when I know its source language?”
Tell an agent
Romanize this text: {contents} for project {projectsId}.
Turn the non-Latin text {contents} in {sourceLanguageCode} into Roman letters for project {projectsId}.
POST /v3/projects/{projectsId}:detectLanguage Detect the language of text · Detect language projects #
Ask an LLM
“How do I figure out which language a piece of text is in?”
“Can I detect the language of a short phrase before translating it?”
Tell an agent
Detect the language of {content} for project {projectsId}.
Identify the language of this text: {content}, using detection model {model} in project {projectsId}.
GET /v3/projects/{projectsId}/supportedLanguages List languages supported by the project · Get supported languages projects #
Ask an LLM
“Which languages can I translate between in my project?”
“What languages does the project-level translation support?”
Tell an agent
List supported languages for project {projectsId}.
Show supported languages in {displayLanguageCode} for project {projectsId}.
POST /v3/projects/{projectsId}:translateText Translate text into another language · Translate text projects #
Ask an LLM
“How do I translate a sentence from English into French?”
“Can I apply a glossary when translating a few text strings?”
Tell an agent
Translate {contents} from {sourceLanguageCode} to {targetLanguageCode} for project {projectsId}.
Translate {contents} into {targetLanguageCode} using glossary {glossaryConfig} and model {model} in project {projectsId}.
GET /v3/projects/{projectsId}/locations/{locationsId} Get a location's details · Get locations #
Ask an LLM
“What details are available for a specific Cloud Translation location?”
“Can I look up one location by its ID?”
Tell an agent
Get location {locationsId} in project {projectsId}.
Show details for location {locationsId} of project {projectsId}.
POST /v3/projects/{projectsId}/locations/{locationsId}:translateText Translate text in a region · Translate text locations #
Ask an LLM
“How do I translate text using a regional endpoint?”
“Can I choose a specific region for text translation?”
Tell an agent
Translate {contents} from {sourceLanguageCode} to {targetLanguageCode} in region {locationsId} of project {projectsId}.
Translate {contents} into {targetLanguageCode} using model {model} in region {locationsId}, project {projectsId}.
POST /v3/projects/{projectsId}/locations/{locationsId}:batchTranslateText Translate text in bulk · Batch translate text locations #
Ask an LLM
“How do I translate a large volume of text files at once?”
“Can I batch translate text into several languages?”
Tell an agent
Batch translate {inputConfigs} from {sourceLanguageCode} into {targetLanguageCodes} in region {locationsId} of project {projectsId}.
Translate {inputConfigs} into {targetLanguageCodes} using glossary {glossaries} in region {locationsId}, project {projectsId}.
POST /v3/projects/{projectsId}/locations/{locationsId}:refineText Refine translated text · Refine text locations #
Ask an LLM
“How do I improve the quality of a machine-translated text?”
“Can I refine a translation with a list of source and target text pairs?”
Tell an agent
Refine {refinementEntries} from {sourceLanguageCode} to {targetLanguageCode} in region {locationsId} of project {projectsId}.
Improve the quality of the translation {refinementEntries} in region {locationsId}, project {projectsId}.
GET /v3/projects/{projectsId}/locations/{locationsId}/supportedLanguages List supported translation languages · Get supported languages locations #
Ask an LLM
“Which languages can I translate into for my project location?”
“What translation models are available for a given target language?”
Tell an agent
List supported languages in project {projectsId}, location {location}.
Show languages supported for model {model} in project {projectsId}, location {location}.
POST /v3/projects/{projectsId}/locations/{locationsId}:batchTranslateDocument Translate many documents in bulk · Batch translate document locations #
Ask an LLM
“How do I translate a whole folder of documents in one batch?”
“Can I translate documents in different formats to another language at once?”
Tell an agent destructive · confirm first
Translate these documents {inputConfigs} to {targetLanguageCodes} in project {projectsId}, location {location}.
Batch translate documents {inputConfigs} to {targetLanguageCodes} with rotation correction {enableRotationCorrection}.
POST /v3/projects/{projectsId}/locations/{locationsId}:translateDocument Translate one document synchronously · Translate document locations #
Ask an LLM
“Can I translate a single document and get the result right away?”
“Is there a fast way to translate a PDF file without the asynchronous batch call?”
Tell an agent
Translate this document {inputConfig} into {targetLanguageCode} in project {projectsId}, location {location}.
Translate document {inputConfig} to {targetLanguageCode} with rotation correction {enableRotationCorrection}.
GET /v3/projects/{projectsId}/locations List translation locations · List locations #
Ask an LLM
“Which regions support Cloud Translation?”
“Can I filter the list of translation locations?”
Tell an agent
List locations for project {projectsId}.
List locations for project {projectsId} matching {filter}.
POST /v3/projects/{projectsId}/locations/{locationsId}:romanizeText Romanize text in a region · Romanize text locations #
Ask an LLM
“How do I romanize text using a regional endpoint?”
“Can I romanize text in a specific region without a project ID?”
Tell an agent
Romanize {contents} into Latin letters in region {locationsId} of project {projectsId}.
Convert {contents} from {sourceLanguageCode} to romanized text in region {locationsId}, project {projectsId}.
POST /v3/projects/{projectsId}/locations/{locationsId}:detectLanguage Detect language in a region · Detect language locations #
Ask an LLM
“How do I detect the language of text using a regional endpoint?”
“Can I detect language for a document in a specific region?”
Tell an agent
Detect the language of {content} in region {locationsId} of project {projectsId}.
Detect language for {content} using model {model} in region {locationsId}, project {projectsId}.
POST /v3/projects/{projectsId}/locations/{locationsId}:adaptiveMtTranslate Translate text with adaptive MT · Adaptive mt translate locations #
Ask an LLM
“How do I translate text using an adaptive MT dataset?”
“Can I provide reference sentences for adaptive MT translation?”
Tell an agent
Translate {content} with adaptive MT dataset {dataset} in region {locationsId} of project {projectsId}.
Translate {content} using adaptive MT dataset {dataset} and reference sentences {referenceSentenceConfig} in region {locationsId}, project {projectsId}.
GET /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId} Get an adaptive MT dataset · Get adaptiveMtDatasets #
Ask an LLM
“What are the details of an adaptive MT dataset?”
“Can I look up an adaptive MT dataset by ID?”
Tell an agent
Get adaptive MT dataset {adaptiveMtDatasetsId} in region {locationsId} of project {projectsId}.
Show adaptive MT dataset {adaptiveMtDatasetsId} in region {locationsId}, project {projectsId}.
DELETE /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId} Delete an adaptive MT dataset · Delete adaptiveMtDatasets #
Ask an LLM
“How do I delete an adaptive MT dataset?”
“Does deleting an adaptive MT dataset also remove its entries?”
Tell an agent destructive · confirm first
Delete adaptive MT dataset {adaptiveMtDatasetsId} in region {locationsId} of project {projectsId}.
Remove adaptive MT dataset {adaptiveMtDatasetsId} from region {locationsId}, project {projectsId}.
POST /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}:importAdaptiveMtFile Import sentences into an adaptive MT dataset · Import adaptive mt file adaptiveMtDatasets #
Ask an LLM
“How do I add sentences from a file to an adaptive MT dataset?”
“Can I import an adaptive MT file from Google Cloud Storage?”
Tell an agent
Import adaptive MT file {gcsInputSource} into dataset {adaptiveMtDatasetsId} in region {locationsId} of project {projectsId}.
Add sentences from {fileInputSource} to adaptive MT dataset {adaptiveMtDatasetsId} in region {locationsId}, project {projectsId}.
POST /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets Create an adaptive MT dataset · Create adaptiveMtDatasets #
Ask an LLM
“How do I create a new adaptive MT dataset?”
“Can I set a display name and example count when creating an adaptive MT dataset?”
Tell an agent
Create adaptive MT dataset {displayName} in region {locationsId} of project {projectsId}.
Create adaptive MT dataset {displayName} from {sourceLanguageCode} to {targetLanguageCode} with {exampleCount} examples in region {locationsId}, project {projectsId}.
GET /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets List adaptive MT datasets · List adaptiveMtDatasets #
Ask an LLM
“Which adaptive MT datasets exist in my region?”
“Can I filter the list of adaptive MT datasets?”
Tell an agent
List adaptive MT datasets in region {locationsId} of project {projectsId}.
List adaptive MT datasets in region {locationsId} matching {filter}, project {projectsId}.
GET /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtSentences List sentences in an adaptive MT dataset · List adaptiveMtSentences #
Ask an LLM
“What sentences are in my adaptive machine translation dataset?”
“Can I page through all the adaptive MT sentences in a dataset?”
Tell an agent
List adaptive MT sentences in dataset {dataset} at {location}, project {project}.
Show adaptive MT sentences in dataset {dataset} at {location}, project {project}.
GET /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId} Get an adaptive MT file · Get adaptiveMtFiles #
Ask an LLM
“How do I fetch one adaptive MT file from a dataset?”
“What source and target languages does an adaptive MT file use?”
Tell an agent
Get adaptive MT file {file} in dataset {dataset} at {location}, project {project}.
Show the adaptive MT file {file} from dataset {dataset}, location {location}, project {project}.
DELETE /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId} Delete an adaptive MT file · Delete adaptiveMtFiles #
Ask an LLM
“How do I remove an adaptive MT file from a dataset?”
“Does deleting an adaptive MT file also delete its sentences?”
Tell an agent destructive · confirm first
Delete adaptive MT file {file} from dataset {dataset} at {location}, project {project}.
Remove adaptive MT file {file} in dataset {dataset}, location {location}, project {project}.
GET /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles List files in an adaptive MT dataset · List adaptiveMtFiles #
Ask an LLM
“Which files make up my adaptive MT dataset?”
“Can I list every adaptive MT file in a dataset?”
Tell an agent
List adaptive MT files in dataset {dataset} at {location}, project {project}.
Show the files in adaptive MT dataset {dataset}, location {location}, project {project}.
GET /v3/projects/{projectsId}/locations/{locationsId}/adaptiveMtDatasets/{adaptiveMtDatasetsId}/adaptiveMtFiles/{adaptiveMtFilesId}/adaptiveMtSentences List sentences in an adaptive MT file · List adaptiveMtSentences #
Ask an LLM
“What sentences are in a particular adaptive MT file?”
“Can I list the entries of one adaptive MT file?”
Tell an agent
List adaptive MT sentences in file {file} of dataset {dataset} at {location}, project {project}.
Show the sentences in adaptive MT file {file}, dataset {dataset}, location {location}, project {project}.
GET /v3/projects/{projectsId}/locations/{locationsId}/operations List long-running operations · List operations #
Ask an LLM
“Which long-running operations are in progress in my project?”
“Can I filter the operations list by status?”
Tell an agent
List operations in project {project}, location {location}.
Show operations in project {project}, location {location} matching {filter}.
GET /v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId} Get a long-running operation · Get operations #
Ask an LLM
“Has my long-running operation finished yet?”
“What state is a given operation in?”
Tell an agent
Get operation {operation} in project {project}, location {location}.
Show the state of operation {operation} in project {project}, location {location}.
DELETE /v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId} Delete a long-running operation · Delete operations #
Ask an LLM
“Can I delete an operation I no longer care about?”
“Does deleting an operation cancel it?”
Tell an agent destructive · confirm first
Delete operation {operation} in project {project}, location {location}.
Remove long-running operation {operation} from project {project}, location {location}.
POST /v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:wait Wait for a long-running operation to finish · Wait operations #
Ask an LLM
“How do I wait for a long-running operation to complete?”
“Can I set a timeout when waiting on an operation?”
Tell an agent
Wait for operation {operation} in project {project}, location {location}.
Wait up to {timeout} for operation {operation} in project {project}, location {location}.
POST /v3/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel Cancel a long-running operation · Cancel operations #
Ask an LLM
“Can I cancel a long-running operation that is still running?”
“What happens to an operation when I cancel it?”
Tell an agent destructive · confirm first
Cancel operation {operation} in project {project}, location {location}.
Stop the running operation {operation} in project {project}, location {location}.
DELETE /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId} Delete a glossary · Delete glossaries #
Ask an LLM
“How do I delete a glossary I no longer need?”
“Can I cancel a glossary that hasn't been built yet?”
Tell an agent destructive · confirm first
Delete glossary {glossary} in project {project}, location {location}.
Remove glossary {glossary} from project {project}, location {location}.
GET /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId} Get a glossary · Get glossaries #
Ask an LLM
“How do I look up one glossary by name?”
“What languages does a specific glossary cover?”
Tell an agent
Get glossary {glossary} in project {project}, location {location}.
Show the entries of glossary {glossary} in project {project}, location {location}.
PATCH /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId} Update a glossary · Patch glossaries #
Ask an LLM
“Can I rename a glossary or change its entry file?”
“Is updating a glossary a long-running operation?”
Tell an agent
Rename glossary {glossary} in project {project}, location {location} to {display_name}.
Update the entry file of glossary {glossary} in project {project}, location {location} to {input_config}.
POST /v3/projects/{projectsId}/locations/{locationsId}/glossaries Create a glossary · Create glossaries #
Ask an LLM
“How do I upload a custom glossary for translation?”
“Can I create a glossary that covers a specific language pair?”
Tell an agent
Create a glossary named {display_name} in project {project}, location {location} with entry file {input_config}.
Upload a new glossary {display_name} covering {language_pair} in project {project}, location {location}.
GET /v3/projects/{projectsId}/locations/{locationsId}/glossaries List glossaries in a project · List glossaries #
Ask an LLM
“Which glossaries exist in my project?”
“Can I list only the glossaries in a single source or target language?”
Tell an agent
List glossaries in project {project}, location {location}.
Show glossaries in project {project}, location {location} matching {filter}.
PATCH /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId} Update a glossary entry · Patch glossaryEntries #
Ask an LLM
“How do I change a single term in a glossary?”
“Can I update a glossary entry's description or terms?”
Tell an agent
Update entry {glossaryEntriesId} in glossary {glossariesId}, location {locationsId}, project {projectsId} to the term pair {termsPair}.
Change the description of entry {glossaryEntriesId} in glossary {glossariesId}, location {locationsId}, project {projectsId} to {description}.
GET /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId} Get a glossary entry · Get glossaryEntries #
Ask an LLM
“How do I fetch one entry from a glossary?”
“What does a single glossary entry contain?”
Tell an agent
Get glossary entry {entry} in glossary {glossary} at {location}, project {project}.
Show entry {entry} of glossary {glossary}, location {location}, project {project}.
DELETE /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries/{glossaryEntriesId} Delete a glossary entry · Delete glossaryEntries #
Ask an LLM
“How do I remove one entry from a glossary?”
“Can I delete a single term pair from a glossary?”
Tell an agent destructive · confirm first
Delete glossary entry {entry} from glossary {glossary} at {location}, project {project}.
Remove entry {entry} from glossary {glossary}, location {location}, project {project}.
POST /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries Add an entry to a glossary · Create glossaryEntries #
Ask an LLM
“How do I add a new term pair to a glossary?”
“Can I add several entries to a glossary at once?”
Tell an agent
Add entry {terms} to glossary {glossary} at {location}, project {project}.
Create a new glossary entry {terms} in glossary {glossary}, location {location}, project {project}.
GET /v3/projects/{projectsId}/locations/{locationsId}/glossaries/{glossariesId}/glossaryEntries List entries in a glossary · List glossaryEntries #
Ask an LLM
“What entries are in my glossary?”
“Can I page through the terms of a glossary?”
Tell an agent
List entries in glossary {glossary} at {location}, project {project}.
Show the first {page_size} entries of glossary {glossary}, location {location}, project {project}.
POST /v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:importData Import sentence pairs into a dataset · Import data datasets #
Ask an LLM
“How do I load my own sentence pairs into a Translation AI dataset?”
“Can I add new training data to an existing dataset?”
Tell an agent
Import sentence pairs into dataset {dataset} in project {project}, location {location}.
Add new training data to dataset {dataset} using input config {input_config}.
GET /v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId} Get a dataset · Get datasets #
Ask an LLM
“What languages and example count does my dataset have?”
“Can I look up a dataset's details by its ID?”
Tell an agent
Get dataset {dataset} in project {project}, location {location}.
Show the details of dataset {dataset}.
DELETE /v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId} Delete a dataset · Delete datasets #
Ask an LLM
“How do I delete a dataset and all its sentence pairs?”
“Can I remove a dataset I no longer use?”
Tell an agent destructive · confirm first
Delete dataset {dataset} in project {project}, location {location}.
Remove dataset {dataset} and everything in it.
GET /v3/projects/{projectsId}/locations/{locationsId}/datasets List training datasets · List datasets #
Ask an LLM
“Which datasets are available to train a model in my Translation project?”
“Can I list every dataset in a project location?”
Tell an agent
List datasets in project {projectsId}, location {location}.
Show {pageSize} datasets per page in project {projectsId}, location {location}.
POST /v3/projects/{projectsId}/locations/{locationsId}/datasets Create a dataset · Create datasets #
Ask an LLM
“How do I create a dataset for training a custom translation model?”
“Can I name a new dataset when I create it?”
Tell an agent
Create a dataset named {name} in project {project}, location {location}.
Create a {source} to {target} dataset called {name}.
POST /v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:exportData Export a dataset's data · Export data datasets #
Ask an LLM
“How do I export all the sentence pairs in a dataset?”
“Can I download a dataset's training data to a file?”
Tell an agent
Export dataset {dataset} in project {project}, location {location}.
Export the data of dataset {dataset} to output config {output_config}.
GET /v3/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/examples List sentence pairs in a dataset · List examples #
Ask an LLM
“What sentence pairs are in my dataset?”
“Can I list only the training or test examples of a dataset?”
Tell an agent
List sentence pairs in dataset {dataset} in project {project}, location {location}.
List examples in dataset {dataset} matching {filter}.
POST /v3/projects/{projectsId}/locations/{locationsId}/models Train a custom translation model · Create models #
Ask an LLM
“How do I train a custom translation model on my dataset?”
“What languages does a new custom model need?”
Tell an agent
Train a custom model from dataset {dataset} in project {project}, location {location}.
Create a {source} to {target} custom model named {name}.
GET /v3/projects/{projectsId}/locations/{locationsId}/models List custom translation models · List models #
Ask an LLM
“Which custom translation models have I trained?”
“Can I list only the models built on a particular dataset?”
Tell an agent
List custom models in project {project}, location {location}.
List models trained on dataset {dataset}.
DELETE /v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId} Delete a custom translation model · Delete models #
Ask an LLM
“How do I delete a custom translation model?”
“Can I remove a model I no longer need?”
Tell an agent destructive · confirm first
Delete custom model {model} in project {project}, location {location}.
Remove custom model {model}.
GET /v3/projects/{projectsId}/locations/{locationsId}/models/{modelsId} Get a custom translation model · Get models #
Ask an LLM
“What languages and example counts does my custom model use?”
“Can I look up a custom model by its ID?”
Tell an agent
Get custom model {model} in project {project}, location {location}.
Show the details of custom model {model}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/google-translate:google-translate-projects-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

google-translate-projects-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud Translation Projects API
  version: v3
  description: Generated from Google's published Discovery document for Cloud Translation API (translate v3, revision 20261106). 51 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://translation.googleapis.com
tags:


# --- truncated at 32 KB (163 KB total) ---
# Full source: https://artifacts.apis.io/google-translate/openapi/google-translate-projects-api-openapi.yml