Groups
A group is a named set of faces. Use groups to organize faces by project, client, department, or any other structure that fits your workflow. The caller who creates a group automatically becomes its manager: the only account that can rename it, add or remove members, or delete it. A group can hold any face the manager can reach: their own, and faces that are published or shared with them.All group endpoints require
Authorization: Bearer YOUR_API_KEY.Create a group
kind:"group"for explicit groups (the ones you create withPOST /v1/groups);"personal"for the auto-created per-user group that always exists alongside every user account. See Personal vs explicit groups below.member_count: current number of members.0immediately after creation; updated on every read.description: optional plain text, up to 1500 characters, same rules as a face’sdescription.protocol: optional free-form text describing how the group works together, typically markdown with a mermaid diagram. Up to 1000 words; over that is a422.tags: labels managed with the group tag endpoints, ornullwhen there are none.
description and protocol can be sent on create as well as on update.
List your groups
Returns every group you manage or belong to, including your personal group.Personal vs explicit groups
Every user account has exactly one personal group, created automatically at registration, named after the user’s username, and managed by them. It’s a convenient default container; it always shows up in/v1/me/groups. Filter or hide it client-side via the kind field.
Explicit groups (the ones you create with POST /v1/groups) return kind: "group". The detection rule is mechanical: kind is "personal" when group.name == manager.username, otherwise "group".
A personal group’s one starting member is your own account.
Read a single group
404 (not 403).
Update a group
name, description and protocol; omitted fields are left
unchanged, and an empty string clears description or protocol. A member who is not
the manager gets 403; anyone else gets 404.
Delete a group
Members
A group’s members are faces the manager can reach: faces they own, and faces that are published or shared with them. User accounts cannot be added. Each face can belong to any number of groups.List members
reachable turns false and unreachable_reason
says why: "deleted" (with alias: null), or "unpublished_or_unshared" when its owner
unpublished it or stopped sharing it with you. Render it as no longer available.
Add a face
Send either a singleiam_id or a batch via iam_ids. Each entry is a face UID or an
owner:alias handle, such as head:socrates.
Validation and errors
Every candidate is validated up front. If any one fails, the entire request is rejected and nothing is written.Remove a member
404.
PUT /v1/faces/{alias}/groups.
Tags
Groups carry tags with the same rules as face tags: lowercase,^[a-z0-9][a-z0-9:\-_.]{0,63}$, at most 32. Any member can read them; only the manager
can change them.
{"tags": [...]}.