---
title: "GET /locations/{locationId}/floors"
method: GET
path: "/locations/{locationId}/floors"
tags: ["Floors"]
---

# GET /locations/{locationId}/floors

`GET /locations/{locationId}/floors`

This endpoint allows you to retrieve the floors at the given location. Support for Location-based camera grouping is only available in the professional and enterprise editions.
It is important to note that after using the pageSize parameter, the "totalSize" in the response represents the total number of available floors, not the number of floors resulting from the query string.

## Query parameters

- `pageToken` string
- `pageSize` integer
- `include` string[]

## Response `200`

Successfully fetched

- PaginatedExtendedFloorResponse — Used to wrap results for a paginated response, containing information on how to retrieve further pages.
  - `nextPageToken` string, nullable, required — Token to retrieve the next page. The value of this token is passed into the field pageToken. This value can be null if there is no next page.
  - `prevPageToken` string, nullable, required — Token to retrieve the previous page. The value of this token is passed into the field pageToken. This value can be null of there is no previous page.
  - `results` object[], required — The result set from a collection API call.
    - `id` string, required — Unique identifier of the floor
    - `name` string, required
    - `floorLevel` integer, required — The floor level in a multi-storey building
    - `topLeftCoordinates` PointPosition, required
      - `latitude` number, double, required — The latitude of the device. (WGS 84)
      - `longitude` number, double, required — The longitude of the device. (WGS 84).
    - `bottomRightCoordinates` PointPosition, required
      - `latitude` number, double, required — The latitude of the device. (WGS 84)
      - `longitude` number, double, required — The longitude of the device. (WGS 84).
    - `floorPlans` FloorPlanGetResponse[]
      - `id` string — Unique identifier of the floor plan
      - `floorId` string — Unique identifier of the floor
      - `type` 'png' | 'svg' | 'pdf' — Type of the floor image
      - `creator` 'originalUpload' | 'cloudGenerated'
  - `totalSize` integer, required — Size of the total result set.

## Other responses

- `400` — The supplied object is invalid. Error detail will contain the validation error.
- `401` — You are not authenticated. Please authenticate and try again.
- `403` — You have no permission to access the specified resource.
- `500` — Something went wrong in the server. Please try again.

---

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