how to get mapping of index elasticsearch code example Example: elasticsearch get mapping curl -X GET "localhost:9200/my-index-000001/_mapping?pretty"