Skip to main content
POST
/
api
/
people
Create a new person record (a named identity for grouping faces)
curl --request POST \
  --url https://api.example.com/api/people \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "birth_date": "2023-12-25",
  "is_hidden": false,
  "is_favorite": false,
  "thumbnail_face_id": "<string>",
  "library_id": "<string>"
}
'
{
  "id": "<string>",
  "is_hidden": true,
  "is_favorite": true,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "birth_date": "2023-12-25",
  "asset_count": 123,
  "thumbnail_face_id": "<string>",
  "asset_urls": {}
}

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.

Body

application/json
name
string | null

Display name for the new person (e.g., 'Alice'). Optional — unnamed people can be named later via update_person.

birth_date
string<date> | null

Optional birth date (ISO 8601 date, YYYY-MM-DD) for this person.

is_hidden
boolean | null
default:false

If true, the person is hidden from default listings. Defaults to false.

is_favorite
boolean | null
default:false

If true, the person is marked as a favorite. Defaults to false.

thumbnail_face_id
string | null

ID of the face to use as this person's thumbnail (with face_ prefix). Typically set after the person has at least one associated face — get face IDs from list_faces.

library_id
string | null

Library to create the person in. Optional if the user has a single library; required when they have multiple.

Response

Successful Response

Represents a person identified through face clustering and recognition.

id
string
required

Unique person identifier with 'person_' prefix

is_hidden
boolean
required

Whether this person should be hidden from the UI

is_favorite
boolean
required

Whether this person is marked as a favorite

created_at
string<date-time>
required

When this person record was created

updated_at
string<date-time>
required

When this person record was last updated

name
string | null

Optional name assigned to this person

birth_date
string<date> | null

Optional birth date of this person

asset_count
integer | null

Number of unique photos this person appears in, or null if not computed

thumbnail_face_id
string | null

ID of the face resource used as this person's thumbnail

asset_urls
Asset Urls · object

Asset variants from this person's thumbnail face. May be null when embedded in an AssetResponse; use /api/people endpoints for full person data.