For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Search User

Performs a 1:N facial recognition search within the collection. Returns users who match and meet the configured similarity threshold.

Endpoint

POST /users/search

Authentication

Type
Location
Name

API Key

Header

x-api-key

Request body

Content-Type: application/json

Parameters

Parameter
Type
Required
Description

face

string

Yes

The user's face image encoded in Base64 or tokenized. For raw images, the supported formats are JPEG and PNG. Maximum supported size: 5 MB.

threshold

number

No

Value specifying the minimum confidence required for a facial match to return a result. The default value is 80%.

Request example

{
  "face": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg==",
  "threshold": 75.5
}

Responses

200 Success

Response parameters

Parameter
Type
Description

matches

array

Array of matching users, sorted by similarity score from highest to lowest.

matches[].userId

string

Unique identifier of the matching user.

matches[].similarity

number

Similarity score from 0 to 100, indicating the confidence of the match.

Response example

400 Bad Request

401 Unauthorized

403 Forbidden

404 Not Found

413 Payload Too Large

The request exceeds the maximum allowed size. The gateway rejects it without processing it: the response does not include serviceResultCode or serviceTransactionId. See Request size limit.

Request larger than 6 MB and up to 10 MB (Content-Type: application/json):

Request larger than 10 MB (10,485,760 bytes) (Content-Type: text; charset=utf-8, plain text, not JSON):

Last updated