People & faces
Facial recognition groups the faces Shade detects into individuals. Name an individual once, and you can find every asset they appear in.
To find assets with a person in them, call POST /search with an individual filter whose options contain the individual's ID.
Get all the faces an asset contains
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The asset to get the faces for
c2d9e8f1-3b4a-4c5d-8e6f-7a8b9c0d1e2fThe id of the drive this asset is in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eSuccessful Response
Not found
Validation Error
GET /assets/{asset_id}/faces?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]Get a list of all significant individuals. Note: an individual is only sig and returned if it contains >=1 faces.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to get individuals for
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe page to query
0The limit that is fetched per page
100If set, only labeled individuals will be returned
A list of all individuals
Not found
Validation Error
GET /individuals?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}
]Search for individuals by name using trigram similarity. Uses the GIN trigram index for efficient fuzzy matching. Supports sorting by name or face count.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to search individuals in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe name to search for (uses trigram similarity)
The page to query
0The limit that is fetched per page
100Field to sort by: 'name' or 'face_count'
face_countPossible values: Sort direction: 'asc' or 'desc'
descPossible values: A list of individuals matching the search query
Not found
Validation Error
GET /individuals/search?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}
]Get an individual by id
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the individual (a recognized person). List them with GET /individuals.
The individual
Not found
Validation Error
GET /individuals/{individual_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Update an individual with a new name/label.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the individual to be updated
The new name/label for the individual
The updated individual
Not found
Validation Error
PUT /individuals/{individual_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Get an individual with full details including profile attachment, reference attachments, and assigned faces.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the individual (a recognized person). List them with GET /individuals.
Maximum number of faces to return
If true and faces_limit is set, returns a random sample of faces
falseThe individual with profile, references, and faces
Extended individual DTO with full details including references and faces.
Not found
Validation Error
GET /individuals/{individual_id}/details HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"reference_attachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
}
],
"faces": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Delete a reference attachment from an individual and recalculate the centroid.
The attachment's per-embedding is auto-deleted via CASCADE. We recompute the attachment_embedding from remaining stored embeddings without re-processing through FR.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the individual (a recognized person). List them with GET /individuals.
The updated individual details
Extended individual DTO with full details including references and faces.
Not found
Validation Error
DELETE /individuals/{individual_id}/reference/{attachment_id} HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"reference_attachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
}
],
"faces": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Update the profile attachment for an individual. Deletes the existing profile attachment (if any), links the new one, and recalculates the centroid.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the individual (a recognized person). List them with GET /individuals.
JWT token for the new profile image attachment
The updated individual details
Extended individual DTO with full details including references and faces.
Not found
Validation Error
PUT /individuals/{individual_id}/profile HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 35
{
"profile_attachment_token": "text"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"reference_attachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
}
],
"faces": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Add new reference attachments to an existing individual and recalculate the centroid.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
ID of the individual (a recognized person). List them with GET /individuals.
JWT tokens for the new reference image attachments
The updated individual details
Extended individual DTO with full details including references and faces.
Not found
Validation Error
POST /individuals/{individual_id}/references HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"reference_attachment_tokens": [
"text"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"reference_attachments": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
}
],
"faces": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]
}Hide individuals by their ids.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to hide individuals in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe ids of the individuals to hide
Successful Response
Not found
Validation Error
PUT /individuals/{drive_id}/individual/disable HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"individual_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Permanently delete individuals by their ids.
Faces associated with these individuals will be unassigned (not deleted) and can be re-assigned to other individuals later.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to delete individuals from
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe ids of the individuals to delete
Successful Response
Not found
Validation Error
DELETE /individuals/{drive_id}/individual/delete HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 59
{
"individual_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Create an individual from a set of faces defined by the user.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to create the individual in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe ids of the faces to create the individual from
The name/label for the individual
If provided, the individual that the faces are being taken from (must be a labeled individual)
The new individual
Not found
Validation Error
POST /individuals/{drive_id}/individual/create HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 137
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"individual_name": "text",
"old_individual_id": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Create a labeled individual and attach manually uploaded reference images via attachments.
This is used by the create-individual wizard:
The client first uploads images via /attachments/upload to obtain tokens
Those tokens are then passed here to be linked to the individual
Note: embedding/face creation from these attachments is handled by follow-up jobs.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to create the individual in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe name/label for the individual
JWT tokens for the primary profile image attachments
[]JWT tokens for additional reference image attachments
[]The new individual
Not found
Validation Error
POST /individuals/{drive_id}/individual/create_manual HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 102
{
"individual_name": "text",
"profile_attachment_tokens": [
"text"
],
"reference_attachment_tokens": [
"text"
]
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Assign face(s) to an individual.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to create the individual in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe id of the faces to assign
The id of the individual to assign the face to (must be a labeled individual)
If provided, the individual that the faces are being taken from (must be a labeled individual)
If true, updates the individual's centroid embedding with the assigned faces. Should only be true for manual user actions (e.g., verification step, manual reassignments).
falseThe new individual
Not found
Validation Error
PUT /individuals/{drive_id}/individual/assign HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 191
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"individual_id": "123e4567-e89b-12d3-a456-426614174000",
"old_individual_id": "123e4567-e89b-12d3-a456-426614174000",
"update_centroid": false
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Unassign face(s) from an individual and blacklist them so they won't be re-clustered back into the same individual.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive containing the individual
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe ids of the faces to unassign
The id of the individual to unassign the faces from
The updated individual
Not found
Validation Error
PUT /individuals/{drive_id}/individual/unassign HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Merge multiple individuals into one, combining their faces and setting a new name.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to get faces for
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe ids of the individuals to merge
The new name given to the combined individuals
The newly merged individual
Not found
Validation Error
PUT /individuals/{drive_id}/individual/merge HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 73
{
"individual_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"name": "text"
}{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Delete unclustered faces (faces not assigned to any individual). This permanently removes them from the database.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive containing the unclustered faces
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe IDs of unclustered faces to delete
Successful Response
Not found
Validation Error
DELETE /individuals/{drive_id}/faces/unclustered HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
]
}No content
Get a paginated list of faces for an individual by id.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the individual to get faces for
Maximum number of faces to return
100Number of faces to skip
0A list of faces for an individual
Not found
Validation Error
GET /individuals/{individual_id}/faces HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]Return likely face matches for an individual using its embedding and unclustered faces.
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the drive to search faces in
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe id of the individual to suggest faces for
Maximum number of candidate faces to return
12A list of candidate faces for verification
Not found
Validation Error
GET /individuals/{drive_id}/individual/{individual_id}/verify_candidates HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]Get the individual that a face is for by id
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the face whose individual to get
The individual
Not found
Validation Error
GET /faces/{face_id}/individual HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"labeled": true,
"preview_face": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
},
"profile_attachment": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"uploader_id": "123e4567-e89b-12d3-a456-426614174000",
"uploaded": true,
"name": "text",
"mime_type": "text",
"size": 1,
"download_url": "text"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Get the asset that a face is for by id
Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The id of the face whose asset to get
The asset
Full asset DTO with relationship fields that require eager loading.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
The state of a processing job on an asset, such as previews or transcription.
Not found
Validation Error
GET /faces/{face_id}/asset HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"path": "text",
"name": "text",
"extension": "text",
"updated": "2026-01-01T00:00:00.000Z",
"created": "2026-01-01T00:00:00.000Z",
"type": "IMAGE",
"size_bytes": 1,
"stack_id": "123e4567-e89b-12d3-a456-426614174000",
"stack_number": 1,
"is_fs_draft_blob": true,
"is_fs_null_blob": true,
"rating": 1,
"ai_indexed": true,
"system_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"custom_metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"category": "text",
"palette": [
[
1
]
],
"ocr": "text",
"transcription_id": "123e4567-e89b-12d3-a456-426614174000",
"faces_present": true,
"content_length": 1,
"comment_count": 1,
"preview_job_state": "NOT_STARTED",
"metadata_job_state": "NOT_STARTED",
"custom_metadata_job_state": "NOT_STARTED",
"core_vision_job_state": "NOT_STARTED",
"color_palette_job_state": "NOT_STARTED",
"core_audio_job_state": "NOT_STARTED",
"audio_job_state": "NOT_STARTED",
"facial_recognition_job_state": "NOT_STARTED",
"proxy_job_state": "NOT_STARTED",
"audio_proxy_job_state": "NOT_STARTED",
"transcription_job_state": "NOT_STARTED",
"scrub_sheet_job_state": "NOT_STARTED",
"objects": [],
"texture_data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"integration_data": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"preview_images": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
],
"custom_thumbnail": "text",
"proxy": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"audio_proxy": {
"id": "123e4567-e89b-12d3-a456-426614174000"
},
"scrub_sheet": {
"preview_width": 1,
"preview_height": 1,
"columns": 1,
"rows": 1,
"interval": 1,
"total_frames": 1,
"scrub_sheets": [
"text"
]
},
"grid_scrub_sheet": {
"preview_width": 1,
"preview_height": 1,
"columns": 1,
"rows": 1,
"interval": 1,
"total_frames": 1,
"scrub_sheets": [
"text"
]
}
}Your Shade API key, sent as-is with no Bearer prefix. Create one under
Settings → Integrate → API keys.
The drive id to list faces for
7b1e4d2c-5a6f-4e8b-9c3d-2f1a0b9c8d7eThe page to query
0The limit that is fetched per page
100List of all unclustered faces
Not found
Validation Error
GET /faces?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Host: api.shade.inc
Authorization: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"bbox": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"face_preview": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
},
"individual_id": "123e4567-e89b-12d3-a456-426614174000"
}
]Last updated
Was this helpful?

