This documentation contains work-in-progress information for future Elastic Stack and Cloud releases. Use the version selector to view supported release docs. It also contains some Elastic Cloud serverless information. Check out our serverless docs for more details.
Get script languages API
editGet script languages API
editRetrieves a list of supported script languages and their contexts.
resp = client.get_script_languages() print(resp)
response = client.get_script_languages puts response
const response = await client.getScriptLanguages(); console.log(response);
GET _script_language
Request
editGET _script_language
Prerequisites
edit-
If the Elasticsearch security features are enabled, you must have the
manage
cluster privilege to use this API.