Call this API to get the info of a faceSet.
Request Example:
curl -X GET \
https://sg-api.advance.ai/intl/openapi/face-search/facesets?id=1 \
-H 'X-ACCESS-TOKEN:{Your Access Token}'
https://sg-api.advance.ai/intl/openapi/face-search/facesets
GET
| Parameter | Description |
|---|
| id | string the unique id of the faceSet. |
| Parameter | Description |
|---|
| code | enum Status Code. |
| transactionId | string The request id, the max length is 64. |
| pricingStrategy | enum Whether the request will be charged, enum type: FREE, PAY |
| message | string The error message used to debug. |
| data | object The faceSet info. Refer to faceSet. |
| extra | object Extra response info (Exception Message). |
| Status Code | Message |
|---|
| SUCCESS | free OK. |
| PARAMETER_ERROR | free Parameter error, please check your request whether has illegal parameters. |
| ERROR | free Server error. |
{
"code": "SUCCESS",
"message": "OK",
"data": {
"id": "1",
"createdAt": "2024-08-07T08:29:23.061",
"lastUpdatedAt": "2024-08-07T08:29:25.72",
"deletedAt": null,
"name": "Faces Collection",
"country": "SG"
},
"extra": null
}
{
"code": "PARAMETER_ERROR",
"message": "FaceSet not found, id: 1",
"data": null,
"extra": null,
"pricingStrategy": "FREE"
}