Get script contexts APIedit

Retrieves a list of supported script contexts and their methods.

GET _script_context

Requestedit

GET _script_context

Prerequisitesedit

  • If the Elasticsearch security features are enabled, you must have the manage cluster privilege to use this API.