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