---
type: api
title: Get regions
description: Retrieve the available cloud service provider regions where a project can be created.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-listregions
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-serverless/operation/operation-listregions
products:
  - Elastic Cloud Serverless
---

# Get regions

- Server: `https://api.elastic-cloud.com`

## Paths

- `GET` `/api/v1/serverless/regions`

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

## Description

Retrieve the available cloud service provider regions where a project can be created.

## Responses

#### `200`

The regions list

`application/json`

Type: `[] Region`

- `id` (string)
  Unique human-readable identifier for a region in Elastic Cloud.
- `name` (string)
  The human readable name for the region
- `csp` (enum CSP)
  The identifier of the cloud service provider hosting this region.
  Values: `aws`, `gcp`, `azure`
- `csp_region` (string)
  The unique identifier of the underlying cloud service provider region.
- `country_code` (string)
  ISO 3166-1 alpha-2 country code which this region is associated with
- `project_creation_enabled` (boolean)
  Specifies whether the region is available for project creation
#### `401`

Unauthorized

`application/json`

- `errors` ([] ErrorResponse)
  - `message` (string)
    A human-readable message of the error.
  - `code` (string)
    An identifier for this type of error.
## Code Examples

#### Console

```console
GET /api/v1/serverless/regions
```

#### curl

```curl
curl -X GET "https://api.elastic-cloud.com/api/v1/serverless/regions"
```

