---
title: "Add a new camera group"
method: POST
path: "/camera-groups/"
tags: ["camera-groups"]
---

# Add a new camera group

`POST /camera-groups/`

## Request body

- CameraGroupRequest — `CameraGroup` is a collection of `Camera`s, set up in same location or used for similar purposes
  - `active` boolean — Process events from this camera group
  - `name` string, required — Short group name, up to 256 characters
  - `comment` string — Extended description of the user, up to 2048 chars
  - `deduplicate` boolean — True if events from this camera group are to be deduplicated
  - `deduplicateDelay` integer — Event deduplication timeout, default value is 15
  - `labels` object — Labels used to allocate a certain ``findface-video-worker`` instance to process video streams from this camera group
  - `face_threshold` number, float, nullable — Camera group face confidence threshold
  - `body_threshold` number, float, nullable — Camera group body confidence threshold
  - `car_threshold` number, float, nullable — Camera group car confidence threshold

## Response `201`

- CameraGroup — `CameraGroup` is a collection of `Camera`s, set up in same location or used for similar purposes
  - `id` integer, required
  - `created_date` string, date-time, required — Object creation date
  - `modified_date` string, date-time, required — Object modification date
  - `active` boolean — Process events from this camera group
  - `name` string, required — Short group name, up to 256 characters
  - `comment` string — Extended description of the user, up to 2048 chars
  - `deduplicate` boolean — True if events from this camera group are to be deduplicated
  - `deduplicateDelay` integer — Event deduplication timeout, default value is 15
  - `labels` object — Labels used to allocate a certain ``findface-video-worker`` instance to process video streams from this camera group
  - `face_threshold` number, float, nullable — Camera group face confidence threshold
  - `body_threshold` number, float, nullable — Camera group body confidence threshold
  - `car_threshold` number, float, nullable — Camera group car confidence threshold

---

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