---
title: "GET /2015-01-01/domain"
method: GET
path: "/2015-01-01/domain"
---

# GET /2015-01-01/domain

`GET /2015-01-01/domain`

Returns the name of all Elasticsearch domains owned by the current user's account.

## Query parameters

- `engineType` 'OpenSearch' | 'Elasticsearch'

## Response `200`

Success

- ListDomainNamesResponse — The result of a <code>ListDomainNames</code> operation. Contains the names of all domains owned by this account and their respective engine types.
  - `DomainNames` DomainInfo[] — List of domain names and respective engine types.
    - `DomainName` string — Specifies the <code>DomainName</code>.
    - `EngineType` 'OpenSearch' | 'Elasticsearch' — Specifies the <code>EngineType</code> of the domain.

## Other responses

- `480` — BaseException
- `481` — ValidationException

---

[API](https://skmtc.net/aws/apis/es.md) · [All operations](https://skmtc.net/aws/apis/es/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/es/versions/2aa0f7663d92/schema)
