---
title: "Get all facilities"
method: GET
path: "/inventory/locations"
tags: ["Inventory"]
---

# Get all facilities

`GET /inventory/locations`

## Headers

- `X-Fields` string, mask

## Response `200`

Location data was found

- Location[]
  - `racks` integer[]
  - `sites` string[]
  - `switches` integer[]

## Other responses

- `403` — You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission.
- `404` — Unable to find locations
- `500` — Unable to gather locations

---

[API](https://skmtc.net/hivelocity/apis/hivelocity-api.md) · [All operations](https://skmtc.net/hivelocity/apis/hivelocity-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hivelocity/hivelocity-api/revisions/ee6b717b5015/schema)
