Skip to main content
GET
/
api
/
faces
List individual face detections, optionally filtered by asset, person, or ID
curl --request GET \
  --url https://api.example.com/api/faces
{
  "data": [
    {
      "id": "<string>",
      "asset_id": "<string>",
      "bounding_box": {},
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "person_id": "<string>",
      "timestamp_ms": 123,
      "asset_urls": {}
    }
  ],
  "has_more": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.gumnut.ai/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

asset_id
string | null

Return only faces detected in this asset. Useful for 'show me all the faces in this photo'.

person_id
string | null

Return only faces currently assigned to this person. Useful for reviewing or curating a person's face cluster.

ids
string[] | null

Look up specific faces by ID (max 100). IDs use the face_ prefix.

limit
integer
default:20

Maximum number of faces per page (1–200). Defaults to 20.

Required range: 1 <= x <= 200
starting_after_id
string | null

Cursor for pagination. Pass the id of the last face in the previous response's data to fetch the next page. Omit for the first page.

library_id
string | null

Library to list from. Optional if the user has a single library; required when they have multiple.

Response

Successful Response

data
FaceResponse · object[]
required

List of faces

has_more
boolean
required

True if there are more faces after this page. Pass the last face's id as starting_after_id to fetch the next page.