Get script languages Generally available

GET /_script_language

Get a list of available script types, languages, and contexts.

Required authorization

  • Cluster privileges: manage

Responses

GET _script_language
resp = client.get_script_languages()
const response = await client.getScriptLanguages();
response = client.get_script_languages
$resp = $client->getScriptLanguages();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_script_language"