---
title: "Location - Get List"
method: GET
path: "/location/get_list"
tags: ["location"]
---

# Location - Get List

`GET /location/get_list`

Retrieve a paginated list of locations with optional filtering.

## Query parameters

- `selector` object, required — Query selector object for filtering results
- `limit` number — Max results to return
- `skip` number — Number of results to skip
- `sort` object — Sort fields object, e.g. { "name": 1 }

## Response `200`

Array of locations matching the query

- Location[]
  - `_id` string, required — Unique location identifier
  - `name` string, required — Location name
  - `warehouse_id` string — Parent warehouse ID
  - `deleted` boolean — Whether the location has been deleted

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden. Insufficient permissions.
- `429` — Too many requests. Rate limit exceeded.
- `500` — Internal server error.

## Changes

> 13 revisions in range; 1 could not be searched.

- **2026-03-02** `fa53dd949b8e` — 2 breaking, 9 info
  - the `query` request parameter `selector` became required
  - for the `query` request parameter `selector`, the type/format was changed from `string`/`` to `object`/``
  - api operation id `get_location_get_list` was added
  - for the `query` request parameter `limit`, the type/format was generalized from `number`/`integer` to `number`/``
  - …7 more
- **2024-04-23** `e4bdf6984278` — 1 breaking
  - for the `query` request parameter `sort`, the type/format was changed from `number`/`integer` to `object`/``
- **2024-04-22** `08cd9cfa14dd` — 3 breaking, 2 info
  - for the `query` request parameter `limit`, the type/format was changed from `string`/`` to `number`/`integer`
  - for the `query` request parameter `skip`, the type/format was changed from `string`/`` to `number`/`integer`
  - for the `query` request parameter `sort`, the type/format was changed from `string`/`` to `number`/`integer`
  - added the non-success response with the status `400`
  - …1 more
- **2024-04-19** `46ceda528000` — 1 breaking, 11 info
  - removed the media type `application/json` for the response with the status `200`
  - api operation id `get_location_get_list` removed and replaced with ``
  - the `query` request parameter `selector` became optional
  - for the `query` request parameter `limit`, the type/format was generalized from `number`/`` to `string`/``
  - …8 more

[Change history](https://skmtc.dev/skulabs/apis/skulabs-api/changes/location/get_list/get.md)

---

[API](https://skmtc.dev/skulabs/apis/skulabs-api.md) · [All operations](https://skmtc.dev/skulabs/apis/skulabs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/skulabs/skulabs-api/revisions/4b5ec0ed78a6/schema)
