listAiInsightUnknownFace: List unknown faces
listAiInsightUnknownFace: List unknown faces
What it does
List unknown / unregistered face clusters for registration via addAiInsightFaceImages.
Request URL
POST https://openapi-[DataCenter].easy4ip.com/openapi/listAiInsightUnknownFace
Minimum permission
Administrator or sub-account token. See Permission codes.
Request parameters
| Parameter name | Parameter type | Required or not | Parameter description |
|---|---|---|---|
| token | String | Yes | Administrator or sub-account accessToken |
Common request fields and signing: Signing conventions and Common request payload.
Sample input
{
"id": "d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"system": {
"ver": "1.0",
"appId": "lcdxxxxxxxxx",
"sign": "xjhCQBoJ9hRDsCjyDcHjtDNzRZ3ZJezcawsfWeiaoxU=",
"time": 1706511734,
"nonce": "f5a1ae2d-c09c-4d39-a744-83a5c2c653c2"
},
"params": {
"token": "<yourAccessToken>"
}
}
Response data fields
| Field name | Field type | Description |
|---|---|---|
| list | Array | Cluster list |
| list[].clusterId | String | Cluster id |
| list[].imageCount | Integer | Image count in the cluster |
| list[].faces | Array | Unknown face images |
| list[].faces[].faceId | String | Face image id |
| list[].faces[].imagePath | String | Image short path |
| list[].faces[].regionId | String | Image region ID |
| list[].faces[].imageUrl | String | Image URL (time-limited) |
| list[].faces[].deviceId | String | Device serial number |
| list[].faces[].productId | String | Product ID |
| list[].faces[].channelId | String | Channel ID |
| list[].faces[].saveTime | String | Saved at |
Sample output
{
"id": "d5c287b4-5b2f-4f03-baf5-8032c5c354af",
"result": {
"data": {
"list": [
{
"clusterId": "c-1",
"imageCount": 2,
"faces": [
{
"faceId": "face-1",
"imagePath": "face/example.jpg",
"regionId": "1",
"imageUrl": "https:\/\/example.com/unknown-face.jpg",
"deviceId": "TESTQWERXXXX",
"productId": "DV2009",
"channelId": "0",
"saveTime": "2026-11-02 12:00:00"
},
{
"faceId": "face-2",
"imagePath": "face/example-2.jpg",
"regionId": "1",
"imageUrl": "https:\/\/example.com/unknown-face-2.jpg",
"deviceId": "TESTQWERXXXX",
"productId": "DV2009",
"channelId": "0",
"saveTime": "2026-11-02 12:00:00"
}
]
}
]
},
"code": "0",
"msg": "The operation was successful"
}
}
Error codes
This API may return the codes below. See Error codes for the full list.
Gateway and auth (SN / TK / OP)
| Code | Meaning | Next step |
|---|---|---|
SN1001 | Signature error | Check sign per Signature |
TK1002 | Token invalid or expired | Refresh accessToken |
OP1002 | Missing required parameter | Add required fields |
OP1003 | Invalid parameter | Match this page’s parameter table |
OP1009 | Permission denied | Check token and device bind/share grants |
OP1013 | Total call limit exceeded | Reduce call rate |
OP1014 | Daily per-interface limit exceeded | See Interface call limits |
DV1007 | Device offline | Wait until the device is online |
See Error codes · OP/SN/TK for the full catalog.
AI Insight (AI)
| Code | Meaning | Next step |
|---|---|---|
AI1004 | No AI Insight plan in inventory | Verify inventory id |
AI1006 | No active AI Insight plan on channel / plan not found | Enable a plan or verify deviceAiInsightId |
AI1007 | Insufficient quota or inventory (strategyId and deviceAiInsightId both missing) | Supply strategyId or inventory id |
AI1010 | Device does not support this strategyId (e.g. non dual-lens device) | Use a supported plan or device |
AI1011 | GB-standard device cannot enable AI Insight | Use a non-GB device or product path |
AI1101 | Account has no face library rights | Enable AI Insight or cloud plan with face rights |
See Error codes · AI.
