Canonical: https://weaveos.com/reference/elasticsearch/inspect-index-mappings

1. [Software capabilities](https://weaveos.com/reference)
2. /[Elasticsearch](https://weaveos.com/reference/elasticsearch)
3. /Inspect Elasticsearch index mappings

[![](https://weaveos.com/reference/logos/elasticsearch.svg)Elasticsearch](https://weaveos.com/reference/elasticsearch)

# Inspect Elasticsearch index mappings

Elasticsearch mappings are available through the Get mapping API or Kibana Index Management. The API is scriptable and supports wildcards, while Kibana provides a visual mapping view for one index.

Documentation reviewed November 27, 2026 · 2 methods with sources

## Ways to do it

1. [1API: GET /{index}/\_mapping](https://weaveos.com/reference/elasticsearch/inspect-index-mappings#method-1)
2. [2Interface: Kibana Index Management → Mappings](https://weaveos.com/reference/elasticsearch/inspect-index-mappings#method-2)

API

### GET /{index}/\_mapping

Fetch mapping definitions for an index, alias, data stream, or wildcard expression.

[Read source: Elasticsearch Get mapping API](https://www.elastic.co/docs/api/elasticsearch/operation/operation-indices-get-mapping)

- Requirements

  An Elasticsearch endpoint and API key, Basic, or Bearer authentication with the view\_index\_metadata index privilege.

- Limitations

  A large index mapping can be verbose. For a narrower response use the get field mapping variant, and remember data-stream requests resolve to backing indices.

Example shell

Copy

```
curl --fail --header "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/books/_mapping"
```

Interface

### Kibana Index Management → Mappings

Open Index Management, select one index, and use its mapping view to inspect field types and mapping definitions.

[Read source: Kibana index operations reference](https://www.elastic.co/docs/manage-data/data-store/index-operations-reference)

- Requirements

  Kibana access plus monitor cluster privilege and view\_index\_metadata and manage index privileges for Index Management.

- Limitations

  Index Management features and privileges differ between Elastic Stack and Elastic Cloud Serverless, and some operations are unavailable in Serverless.

## More from Elasticsearch

[View all 1 Elasticsearch tasks](https://weaveos.com/reference/elasticsearch)

## The same task in other apps

- [PPinecone](https://weaveos.com/reference/pinecone)

  ### [Inspect Pinecone vector index statistics](https://weaveos.com/reference/pinecone/inspect-vector-index-stats)

  Use Pinecone’s index stats endpoint or Python SDK to read the vector count, dimensions, namespace counts, and fullness fields.

  API, SDK
