Get index mapping
get_mappingRetrieve field mappings for one or more Elasticsearch indices, with automatic fallback to field capabilities when index metadata privilege is unavailable.
Instructions
Get the field mappings for one or more indices. Falls back to the read-level _field_caps API (field names and types) when the index "view_index_metadata" privilege is missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index name, comma-separated list, or pattern |