Watch lists
List watch lists
To retrieve a list of watch lists, use the following method:
GET /watch-lists/
The REQUEST contains the following QUERY-STRING PARAMETERS:
Name |
Type |
Description |
---|---|---|
|
integer |
Number of results to return per page. |
|
string |
Field for sorting the request results. Available fields: |
The list of all available parameters can be found at http://<findface-ip:port>/api-docs
.
To find a specific watch list ID in the response, specify values for the limit
and ordering
parameters to narrow and organize the search results.
CURL example
curl -X GET "http://<findface-ip:port>/watch-lists/?limit=2&ordering=id" \
-H "Authorization: Token <token>"
If the response is successful (OK: 200), it returns a JSON object that contains the following parameters:
Name |
Type |
Description |
---|---|---|
|
string┃null |
Next page. |
|
string┃null |
Previous page. |
|
[{…}] |
Array containing the following parameters. Example. |
Note
* – means required parameters. 🆁 – read only.
Name |
Type |
Description |
---|---|---|
|
integer 🆁 |
Watch list ID. |
|
date-time 🆁 |
Timestamp indicating when the watch list was created. |
|
date-time 🆁 |
Timestamp indicating when the watch list was last updated. |
|
boolean |
|
|
string |
Name of the watch list. Constraints: Min 1┃Max 256 chars. |
|
string |
Extended description. Constraints: Min 0┃Max 2048 chars. |
|
string |
Color of the watch list label in hex. Constraints: Min 0┃Max 6 chars. |
|
boolean |
|
|
boolean |
|
|
array of integers |
IDs of camera groups associated with the watch list. |
|
number┃null |
Confidence threshold for face detection in the watch list. Constraints: Min 0┃Max 1. |
|
number┃null |
Confidence threshold for body detection in the watch list. Constraints: Min 0┃Max 1. |
|
number┃null |
Confidence threshold for vehicle detection in the watch list. Constraints: Min 0┃Max 1. |
|
boolean |
|
|
boolean |
|
|
string |
Name of the application module in which the watch list was created. Constraints: Min 0┃Max 256 chars. |
|
boolean |
Used only in FindFace CIBR when the FindFace CIBR instance is configured as a puppeteer. |
Response example
{
"next_page": null,
"prev_page": null,
"results": [
{
"id": 3,
"created_date": "2025-05-13T12:10:28.303303Z",
"modified_date": "2025-05-13T12:10:28.303325Z",
"active": true,
"name": "Parking watch list",
"comment": "",
"color": "cccccc",
"notify": false,
"acknowledge": false,
"camera_groups": [],
"face_threshold": null,
"body_threshold": null,
"car_threshold": null,
"ignore_events": false,
"send_events_to_external_vms": false,
"origin": "ffsecurity",
"collect_location": false
},
{
"id": 2,
"created_date": "2025-05-13T11:37:43.593898Z",
"modified_date": "2025-07-01T15:42:33.537511Z",
"active": true,
"name": "Shopping mall watch list",
"comment": "",
"color": "cccccc",
"notify": false,
"acknowledge": true,
"camera_groups": [
2,
3
],
"face_threshold": 0.702,
"body_threshold": 0.65,
"car_threshold": 0.65,
"ignore_events": true,
"send_events_to_external_vms": false,
"origin": "ffsecurity",
"collect_location": false
}
]
}
Create a new watch list
To add a new watch list, use the following method:
POST /watch-lists/
The REQUEST BODY is required and contains an application/json object with the following parameters:
Name |
Type |
Description |
---|---|---|
|
boolean |
If |
|
string |
Name of the watch list. Constraints: Min 1┃Max 256 chars. |
|
string |
Extended description. Constraints: Min 0┃Max 2048 chars. |
|
string |
Color of the watch list label in hex. Constraints: Min 0┃Max 6 chars. |
|
boolean |
If |
|
boolean |
If |
|
array of integers |
IDs of camera groups associated with the watch list. |
|
number┃null |
Confidence threshold for face detection in the watch list. Constraints: Min 0┃Max 1. |
|
number┃null |
Confidence threshold for body detection in the watch list. Constraints: Min 0┃Max 1. |
|
number┃null |
Confidence threshold for vehicle detection in the watch list. Constraints: Min 0┃Max 1. |
|
boolean |
If |
|
boolean |
If |
|
string |
Name of the application module in which the watch list will be created. Constraints: Min 0┃Max 256 chars. |
|
boolean |
If Used only in FindFace CIBR when the FindFace CIBR instance is configured as a puppeteer. |
Request example
Tip
This example is provided for reference only. Substitute your own values in the corresponding fields. You only need to fill in the required fields; all other fields will use their default values.
{
"active": false,
"name": "A",
"comment": "AAAAAA",
"color": "A",
"notify": false,
"acknowledge": false,
"camera_groups": [
0
],
"face_threshold": 0,
"body_threshold": 0,
"car_threshold": 0,
"ignore_events": false,
"send_events_to_external_vms": false,
"origin": "A"
}
For example, you can send these parameters:
{
"active": true,
"name": "new watch list",
"comment": "sample",
"color": "35a2ee"
}
CURL example
curl -X POST "http://<findface-ip:port>/watch-lists/" \
-H "Authorization: Token <token>" \
-H "Content-Type: application/json" \
-d '{"active":true,"name":"new watch list","comment":"sample","color":"35a2ee"}'
If the response is successful (Created: 201), it returns a JSON object that contains parameters. Example.
Response example
{
"id": 9,
"created_date": "2025-07-22T09:36:00.253232Z",
"modified_date": "2025-07-22T09:36:00.253273Z",
"active": true,
"name": "new watch list",
"comment": "sample",
"color": "35a2ee",
"notify": false,
"acknowledge": false,
"camera_groups": [],
"face_threshold": null,
"body_threshold": null,
"car_threshold": null,
"ignore_events": false,
"send_events_to_external_vms": false,
"origin": "ffsecurity",
"collect_location": false
}
Use the watch list ID in the POST
request to create a new record.
Useful requests
GET /watch-lists/
POST /watch-lists/
GET /watch-lists/{id}/
DELETE /watch-lists/{id}/
PATCH /watch-lists/{id}/
POST /watch-lists/{id}/purge/
GET /watch-lists/count/
POST /watch-lists/purge_all/