LogoAI ForensiX

Face Search – Enroll

Enrolls a face embedding into the Ai-ForensiX face search index for fast similarity lookup.

The Face Search Enroll API extracts a face embedding from an input image and stores it in the search index.
This enables fast similarity-based face search in subsequent queries.


Endpoint

POST /v1/facesearch/enroll

Request Body

FieldTypeRequiredDescription
filebinaryYesFace image to enroll.

Example Request (cURL)

curl -X POST "https://forensiz.ai/enroll" \
  -H "x-api-key: YOUR_API_KEY" \
  -F file=@"/path/face.jpg"

Response Status Codes

Status CodeMeaning
200 OKFace enrolled successfully.
400 Bad RequestInvalid image or missing file.
401 UnauthorizedMissing or invalid API key.
403 ForbiddenAPI access not permitted.
404 Not FoundEndpoint does not exist.
415 Unsupported Media TypeInvalid file format.
500 Internal Server ErrorUnexpected server error.

On this page