---
type: api
title: Get all templates cross region.
description: Global deployment template endpoint which fetches the deployment templates across all region services.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/operation/operation-get-global-deployment-templates
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/operation/operation-get-global-deployment-templates
products:
  - Elastic Cloud Enterprise
---

# Get all templates cross region.

Authentication: required

## Paths

- `GET` `/platform/configuration/templates/deployments/global`

## Description

Global deployment template endpoint which fetches the deployment templates across all region services.

## Responses

#### `200`

The deployment templates were returned successfully.

`application/json`

Type: `object[]`

An array; each item has these fields:

- `template_category_id` (string)
  Provider agnostic template identifier.
- `name` (string)
  Long name of the Template
- `description` (string)
  An optional description for the template.
- `order` (integer · format: int32)
  The order in which the templates should be displayed in the front-end.
- `metadata` (object[])
  Optional arbitrary metadata to associate with this template.
  - `key` (string)
    The metadata field name
  - `value` (string)
    The metadata value
- `regions` (object[])
  List of regions this template is used in.
  - `region_id` (string)
    The region identifier.
  - `deployment_template_id` (string)
    The (region-specific) ID of the deployment template.
  - `versions` (string[])
    Versions supported in this region.
  - `kibana_deeplink` (object[])
    The Kibana Deeplink for this type of deployment.
    - `semver` (string)
      Semver condition when to apply the URI.
    - `uri` (string)
      URI to which the user should be directed.
#### `204`

There are no deployment templates available.

`application/json`

Type: `object`

## Code examples

#### curl

```curl
curl -X GET "${API_URL}/platform/configuration/templates/deployments/global" \
  -u "${USERNAME}:${PASSWORD}"
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
[
  {
    "template_category_id": "string",
    "name": "string",
    "description": "string",
    "order": 0,
    "metadata": [
      {
        "key": "string",
        "value": "string"
      }
    ],
    "regions": [
      {
        "region_id": "string",
        "deployment_template_id": "string",
        "versions": [
          "string"
        ],
        "kibana_deeplink": [
          {
            "semver": "string",
            "uri": "string"
          }
        ]
      }
    ]
  }
]
```

#### 204

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{}
```

