Get info API version 1
The default response of the get_info command, with a separate language list for each check type.
Version 1 is the default response of the get_info command.
It gives the supported languages as a separate list for each check type.
Command name: get_info
API endpoint
See Overview.
Parameters
cmd
string
Yes
Command name. Set it to get_info.
version
number
No
Response version. Omit this parameter to get the version 1 response.
serviceid
string
Cloud only
Cloud API key. It is required for Cloud requests. It is not used on-premises.
Request example
https://svc.webspellchecker.net/api?cmd=get_info&serviceid=[your-service-id]http(s)://<host>:<port>/<virtual_dir>/api?cmd=get_infoResponse
The example shows two languages. The full response contains all the languages that the service supports.
{
"langList": {
"ltr": {
"auto": "Autodetect",
"en_US": "English (US)"
},
"rtl": {
}
},
"grammarLangList": {
"ltr": {
"auto": "Autodetect",
"en_US": "English (US)"
},
"rtl": {
}
},
"cdModificationTime": 1704364640,
"programVersion": "6.17.0.0 master:1d0c284 (1109) #1009",
"freeze": 0,
"generateLangList": {
"en_US": "English (US)"
},
"banner": false,
"session": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"canRemoveBranding": true,
"sendStatistics": true,
"prompts": {
"shorten": "Shorten",
"expand": "Expand",
"rewrite": "Rewrite",
"improve": "Improve",
"make_formal": "Make formal",
"make_informal": "Make informal",
"summarize": "Summarize",
"proofread": "Proofread"
},
"maxGenerateInputSize": 3000,
"minGenerateInputSize": 30
}The response can contain more fields that are reserved for internal use. The table below describes the public fields.
Response fields
langList
object
The languages available for the spell check. The languages are grouped by text direction, ltr and rtl. Each item maps a language code to a display name.
grammarLangList
object
The languages available for the grammar check. It has the same structure as langList.
generateLangList
object
The languages available for the AI writing assistant. Each item maps a language code to a display name.
programVersion
string
The version of the application.
cdModificationTime
number
The time of the last change to the custom dictionaries, in Unix time.
prompts
object
The text operations of the AI writing assistant. Each item maps an operation ID to a display name.
minGenerateInputSize
number
The minimum number of characters that the AI writing assistant accepts.
maxGenerateInputSize
number
The maximum number of characters that the AI writing assistant accepts.
See also
Get info API version 2 for the current response format.
Supported languages for the full language list.
AI writing assistant (AIWA) for the text operations in
prompts.
Last updated
Was this helpful?

