---
title: "List all clusters"
method: GET
path: "/_api/members"
tags: ["Data Centers"]
---

# List all clusters

`GET /_api/members`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/macrometa/apis/macrometa-api-reference/docs/_api/members/get.ts> (a function with typed inputs; its response is checked against the schema)

Fetch data for all the clusters in the federation.

## Response `200`

Successfully fetched clusters.

- object[]
  - `_key` string: key for the data center.
  - `host` string: IP address of the data center.
  - `status` integer: If *0*, the data center is online else data center is having connectivity problem.
  - `city` string: The city of the data center.
  - `countrycode` string: The Country code of the data center.
  - `countryname` string: The Country Name of the data center.
  - `latitude` string: The latitude of the data center.
  - `longitude` string: The longitude of the data center.
  - `url` string: URL for the data center.

## Other responses

- `401`: Failed because you do not have administrator permissions.

---

[API](https://skmtc.dev/macrometa/apis/macrometa-api-reference.md) - [All operations](https://skmtc.dev/macrometa/apis/macrometa-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/macrometa/apis/macrometa-api-reference/revisions/2006b6d7f31d?raw)
