Relates: https://github.com/elastic/elasticsearch/pull/29164 Documentation: https://www.elastic.co/guide/en/elasticsearch/painless/current/painless-execute-api.html Add new API endpoint to allow the execution of an arbitrary painless script