Get script languages Generally available

GET /_script_language

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

Required authorization

  • Cluster privileges: manage

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • language_contexts array[object] Required
      Hide language_contexts attributes Show language_contexts attributes object
    • types_allowed array[string] Required
GET /_script_language
curl \
 --request GET 'http://api.example.com/_script_language' \
 --header "Authorization: $API_KEY"