---
type: api
title: Get the inference region policy
description: ## Required authorization
url: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/elasticsearch/v9/operation/operation-inference-get-region-policy
resource: https://www.elastic.co/elastic/docs-builder/docs/4493/api/doc/elasticsearch/v9/operation/operation-inference-get-region-policy
products:
  - Elasticsearch
---

# Get the inference region policy

Availability: Generally available since 9.5

## Paths

- `GET` `/_inference/_region_policy`

## Required authorization

- Cluster privileges: `monitor_inference`

## Authentication

- Api key: `Authorization: <value>`
  Elasticsearch APIs support key-based authentication.
  You must create an API key and use the encoded value in the request header.
  For example:
  
  
  ```
  curl -X GET "${ES_URL}/_cat/indices?v=true" \
    -H "Authorization: ApiKey ${API_KEY}"
  ```
  
  To get API keys, use the `/_security/api_key` APIs.
- Basic: `Authorization: Basic <credentials>`
- Bearer: `Authorization: Bearer <token>`
  Elasticsearch APIs support the use of bearer tokens in the `Authorization` HTTP header to authenticate with the API.
  For examples, refer to [Token-based authentication services](https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/token-based-authentication-services)

## Response

`application/json`

- `region_policy` (object)
  - `allowed_geos` (string[])
    The list of allowed geographic areas.
Mutually exclusive with `allowed_regions`.
  - `allowed_regions` (object[])
    The list of allowed cloud service provider regions.
Mutually exclusive with `allowed_geos`.
    - `csp` (string)
      The cloud service provider, for example `aws`, `gcp`, or `azure`.
    - `region` (string)
      The region of the cloud service provider, for example `us-east-1`.
- `created_at` (union)
  The date and time the region policy was created.
- `created_by` (string)
  The user who created the region policy.
- `updated_at` (union)
  The date and time the region policy was last updated.
- `updated_by` (string)
  The user who last updated the region policy.
## Code examples

#### Console

```console
GET /_inference/_region_policy
```

#### curl

```curl
curl -X GET "${ELASTICSEARCH_URL}/_inference/_region_policy" \
  -H "Authorization: ApiKey ${API_KEY}"
```

## Response examples

#### The configured region policy

A successful response when retrieving the currently configured region policy.

```json
{
  "region_policy": {
    "allowed_geos": ["us", "eu"]
  },
  "created_at": "2026-07-13T12:00:00.000Z",
  "created_by": "inference_user",
  "updated_at": "2026-07-13T13:30:00.000Z",
  "updated_by": "inference_user"
}
```

