---
type: api
title: Get a coordinator
description: Retrieve overview of a single coordinator.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/v4/operation/operation-get-coordinator
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/v4/operation/operation-get-coordinator
products:
  - Elastic Cloud Enterprise
---

# Get a coordinator

Authentication: required

## Paths

- `GET` `/platform/infrastructure/coordinators/{coordinator_id}`

#### Path parameters

- `coordinator_id` (string) — required
  The identifier for the coordinator

## Description

Retrieve overview of a single coordinator.

## Responses

#### `200`

An overview of a coordinator instance.

`application/json`

- `name` (string)
  Name of this coordinator
- `public_hostname` (string)
  Public hostname of this coordinator
- `leader_port` (integer · format: int32)
  Leader port of this coordinator
- `election_port` (integer · format: int32)
  Election port of this coordinator
- `client_port` (integer · format: int32)
  Client port of this coordinator
- `attributes` (map string to string)
  Attributes of this coordinator
#### `404`

Unable to find coordinator {coordinator_id}. Edit your request, then try again. (code: `coordinators.coordinator_not_found`)

`application/json`

- `errors` (object[])
  A list of errors that occurred in the failing request
  - `code` (string)
    A structured code representing the error type that occurred
  - `message` (string)
    A human readable message describing the error that occurred
  - `fields` (string[])
    If the error can be tied to a specific field or fields in the user request, this lists those fields
##### Response headers

- `x-cloud-error-codes` (enum)
  The error codes associated with the response

## Code examples

#### curl

```curl
curl -X GET "${API_URL}/platform/infrastructure/coordinators/${COORDINATOR_ID}" \
  -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
{
  "name": "string",
  "public_hostname": "string",
  "leader_port": 0,
  "election_port": 0,
  "client_port": 0,
  "attributes": {
    "key": "string"
  }
}
```

#### 404

`application/json`

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

```json
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}
```

