Get script languages
Get a list of available script types, languages, and contexts.
GET
/_script_language
curl \
--request GET http://api.example.com/_script_language \
--header "Authorization: $API_KEY"
Response examples (200)
{
"language_contexts": [
{
"contexts": [
"string"
],
"": "painless"
}
],
"types_allowed": [
"string"
]
}