Call this API to list all faceSets.
Request Example:
curl -X GET \
https://sg-api.advance.ai/intl/openapi/face-search/facesets/list \
-H 'Content-Type: application/json' \
-H 'X-ACCESS-TOKEN:{Your Access Token}'
https://sg-api.advance.ai/intl/openapi/face-search/facesets/list
GET
| 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 | list The list of faceSet object. |
| extra | object Extra response info (Exception Message). |
| Parameter | Description |
|---|
| id | string The unique id of the faceSet. |
| createdAt | string The create time of the faceSet. in the format of ISO 8601 . |
| lastUpdatedAt | string The last update time of the faceSet. in the format of ISO 8601 . |
| deletedAt | string The deleted time of the faceSet. in the format of ISO 8601 . |
| name | string The name of the faceSet. |
| country | string The alpha-2 country code. Refer to ISO ALPHA-2 Country Code . |
| Status Code | Message |
|---|
| SUCCESS | free OK |
| ERROR | free Server error |
ISO 8601
{
"code": "SUCCESS",
"message": "OK",
"data": [
{
"id": "66b33063e0ecb052f932bea4",
"createdAt": "2024-08-07T08:29:23.061",
"lastUpdatedAt": "2024-08-07T08:29:25.72",
"deletedAt": null,
"name": "Faces Collection",
"country": "SG"
}
],
"extra": null
}