---
title: "Get index template"
method: GET
path: "/es/_index_template/{name}"
tags: ["Index"]
---

# Get index template

`GET /es/_index_template/{name}`

## Path parameters

- `name` string, required

## Response `200`

OK

- MetaIndexTemplate
  - `created_at` string
  - `index_patterns` string[]
  - `priority` integer — highest priority is chosen
  - `template` MetaTemplateTemplate
    - `mappings` MetaMappings
      - `properties` object
    - `settings` MetaIndexSettings
      - `analysis` MetaIndexAnalysis
        - `analyzer` object
        - `char_filter` object
        - `filter` object — compatibility with es, alias for TokenFilter
        - `token_filter` object
        - `tokenizer` object
      - `number_of_replicas` integer
      - `number_of_shards` integer
  - `updated_at` string

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/zincsearch/apis/zinc-search-engine-api.md) · [All operations](https://skmtc.net/zincsearch/apis/zinc-search-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zincsearch/zinc-search-engine-api/revisions/c7ce1991bb9a/schema)
