Add ElasticSearch API