Get script contexts API
Retrieves a list of supported script contexts and their methods.
resp = client.get_script_context() print(resp)
response = client.get_script_context puts response
const response = await client.getScriptContext(); console.log(response);
GET _script_context
Request
GET _script_context
Prerequisites
- If the Elasticsearch security features are enabled, you must have the
managecluster privilege to use this API.
© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-script-contexts-api.html