---
title: "GET /locations"
method: GET
path: "/locations"
tags: ["Locations"]
---

# GET /locations

`GET /locations`

Get all locations

## Response `200`

Ok

- object[]
  - `data` Location, required — Entity location for a specific entity.
    - `target` string, required
    - `type` string, required
    - `id` string, required
    - `entityRef` string, required — The entity ref of the corresponding Location kind entity, e.g. location:default/generated-<sha1hex>.

## Other responses

- `default` — An error response from the backend.

## Changes

> 37 revisions in range; 1 not diffed, 6 could not be searched.

- **2026-04-07** `128fbc7a6d66` — 1 info
  - added the required property `items/data/entityRef` to the response with the `200` status
- **2023-04-03** `ab70c9407c7a` — 1 breaking, 1 info
  - removed the required property `items/data/entityRef` from the response with the `200` status
  - api tag `Locations` removed

[Change history](https://skmtc.dev/backstage/apis/catalog/changes/locations/get.md)

---

[API](https://skmtc.dev/backstage/apis/catalog.md) · [All operations](https://skmtc.dev/backstage/apis/catalog/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/backstage/catalog/revisions/cf26233702b7/schema)
