---
type: api
title: Check component templates
description: Returns information about whether a particular component template exists.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch-serverless/operation/operation-cluster-exists-component-template
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch-serverless/operation/operation-cluster-exists-component-template
products:
  - Elasticsearch Serverless
---

# Check component templates

Availability:

## Paths

- `HEAD` `/_component_template/{name}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch-serverless/authentication#apikeyauth)

#### Path Parameters

- `name` (union Name | [] Name)
  Comma-separated list of component template names used to limit the request.
Wildcard (*) expressions are supported.

## Description

Returns information about whether a particular component template exists.

## Query String Parameters

- `master_timeout` (string Duration · default: 30s)
  Period to wait for a connection to the master node. If no response is
received before the timeout expires, the request fails and returns an
error.
- `local` (boolean · default: false) — deprecated
  If true, the request retrieves information from the local node only.
Defaults to false, which means information is retrieved from the master node.

## Response

## Code Examples

#### Console

```console
HEAD /_component_template/{name}
```

#### curl

```curl
curl -X HEAD "/_component_template/{name}"
```

