---
title: "Get Occupancy Trends Cameras"
method: GET
path: "/cameras/v1/occupancy_trend_enabled"
tags: ["Devices"]
---

# Get Occupancy Trends Cameras

`GET /cameras/v1/occupancy_trend_enabled`

## Request

- Base URL: `https://api.verkada.com`
- URL: `https://api.verkada.com/cameras/v1/occupancy_trend_enabled`
- Auth: one of:
  - API key in header `x-verkada-auth`
  - API key in header `x-api-key`

Returns a list of of all cameras that support occupancy trends with its line presets ids in the organization.

Details returned per camera are camera_id and list of preset_ids of the line presets of the camera.

## Response `200`

OK

- OccupancyTrendsCamerasResponseV1
  - `cameras` OccupancyTrendsCamera[], required
    - `camera_id` string: The unique identifier of the camera.
    - `preset_ids` string[]: The line preset IDs for the camera.
    - `presets` OccupancyTrendsPreset[]: The line preset metadata for the camera.
      - `object_class` string: The object class of the preset.
      - `preset_id` string: The unique identifier of the preset.

---

[API](https://skmtc.dev/verkada/apis/camera-api.md) - [All operations](https://skmtc.dev/verkada/apis/camera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/verkada/apis/camera-api/revisions/26cbfa5870e4?raw)
