List Languages
list_languagesReturns every language this API can translate from and to.
Free. Never charged, so you can call it at start-up or on a schedule to keep your own list current. It is rate limited like every other key-authenticated route.
Authentication: a vq_key_ key holding translate:read.
Read this instead of hard-coding the list
A code you invent is refused with a 422 before any page is charged, and the error names what is supported. Reading the list means a language we add works on your side with no change, and it means you never pay to discover a typo.
Regional tags are accepted and narrowed to the language, so hi-IN is read as
hi. You do not need to strip them yourself.
Scope
English plus the 22 languages of the Eighth Schedule to the Constitution of India. These are the languages Indian courts and governments work in, and each one is backed by script support in rendered output.
auto appears in this list as a SOURCE only. There is no translating into an
undetermined language, so sending it as targetLanguage is a 422 that says so.
Direction is not decoration
direction is rtl for Urdu, Sindhi and Kashmiri. Honour it when you render
a language's own name and when you display translated output, or a correct
translation is shown wrongly.
Example
curl https://api.vaquill.ai/api/v1/translation/languages \
-H "Authorization: Bearer $VAQUILL_API_KEY"Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_languages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||