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