Skip to main content
GET
/
face-match
/
{face_match_id}
Get face match results
curl --request GET \
  --url https://api.cloudglue.dev/v1/face-match/{face_match_id} \
  --header 'Authorization: Bearer <token>'
{
  "face_match_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "face_detection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "frame_extraction_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "file_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "pending",
  "created_at": 123,
  "source_face_bounding_box": {
    "height": 0.5,
    "width": 0.5,
    "top": 0.5,
    "left": 0.5
  },
  "data": {
    "object": "list",
    "total": 123,
    "limit": 50,
    "offset": 1,
    "faces_matches": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "face_bounding_box": {
          "height": 0.5,
          "width": 0.5,
          "top": 0.5,
          "left": 0.5
        },
        "similarity": 50,
        "frame_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "timestamp": 123,
        "thumbnail_url": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

face_match_id
string<uuid>
required

The ID of the face match to retrieve

Query Parameters

limit
integer
default:50

Number of face matches to return

Required range: 1 <= x <= 100
offset
integer
default:0

Offset from the start of the face matches list

Required range: x >= 0

Response

Face match results retrieved successfully

face_match_id
string<uuid>
required

Unique identifier for the face match job

status
enum<string>
required

Status of the face match job

Available options:
pending,
processing,
completed,
failed
created_at
number
required

Unix timestamp of when the job was created

face_detection_id
string<uuid>

ID of the face detection analysis used

frame_extraction_id
string<uuid>

ID of the frame extraction used

file_id
string<uuid>

ID of the target file

source_face_bounding_box
object | null

Bounding box of the source face in the source image (null when job is pending/processing)

data
object

Face match results (only present when status is completed)

I