Individuals
Get a list of all significant individuals. Note: an individual is only sig and returned if it contains >=1 faces.
The id of the drive to get individuals for
The page to query
0The limit that is fetched per page
100If set, only labeled individuals will be returned
The password header to use to fetch the preview
A list of all individuals
Not found
Validation Error
GET /individuals?drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}[
{
"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"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}
]Get an individual by id
The password header to use to fetch the preview
The individual
Not found
Validation Error
GET /individuals/{individual_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"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"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Update an individual with a new name/label.
The id of the individual to be updated
The password header to use to fetch the preview
The new name/label for the individual
The updated individual
Not found
Validation Error
PUT /individuals/{individual_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 61
{
"name": "text",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"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"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Hide individuals by their ids.
The id of the drive to hide individuals in
The password header to use to fetch the preview
The ids of the individuals to hide
Successful Response
Not found
Validation Error
PUT /individuals/{drive_id}/individual/disable HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"individual_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
Create an individual from a set of faces defined by the user.
The id of the drive to create the individual in
The password header to use to fetch the preview
The 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
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"individual_name": "text",
"old_individual_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"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"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Assign face(s) to an individual.
The id of the drive to create the individual in
The password header to use to fetch the preview
The 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)
The new individual
Not found
Validation Error
PUT /individuals/{drive_id}/individual/assign HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 213
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"individual_id": "123e4567-e89b-12d3-a456-426614174000",
"old_individual_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"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"
},
"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.
The id of the drive to get faces for
The password header to use to fetch the preview
The 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
Content-Type: application/json
Accept: */*
Content-Length: 119
{
"individual_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"name": "text",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"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"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Delete faces from an individual. NOTE: permanently deletes the faces from the DB.
The id of the drive to create the individual in
The password header to use to fetch the preview
The id of the faces to assign
The id of the individual to delete the face from (must be a labeled individual)
The new individual
Not found
Validation Error
DELETE /individuals/{drive_id}/individual/faces HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 154
{
"face_ids": [
"123e4567-e89b-12d3-a456-426614174000"
],
"individual_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"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"
},
"preview_image": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"frame": 1,
"signed_url": "text"
}
}Get a list of all faces for an individual by id.
The id of the individual to get faces for
The password header to use to fetch the preview
A list of all faces for an individual
Not found
Validation Error
GET /individuals/{individual_id}/faces HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}[
{
"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?

