Get script contexts
Generally available
Get a list of supported script contexts and their methods.
Required authorization
- Cluster privileges:
manage
GET
/_script_context
Console
GET _script_context
resp = client.get_script_context()
const response = await client.getScriptContext();
response = client.get_script_context
$resp = $client->getScriptContext();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_script_context"