User Management
Every Swarmd tenant starts with a single admin user (created during tenant setup) who is automatically placed in the Tenant Administrator group. You can invite additional team members and control what they can access by assigning them to groups.Groups
Permissions in Swarmd are managed exclusively through groups. Every tenant is created with four default groups:
The Viewer group is marked as the default — users created without explicit group assignment are automatically added to it.
You can also create custom groups with any combination of permissions to match your team’s needs.
Creating Users
When creating a user, specify which groups they should belong to viagroupIds. If omitted, the user is assigned to the default group (Viewer).
- API
- UI
Invite a user into the Editor group:Invite a user into multiple groups:Invite a user with defaults (Viewer group):
Managing Group Membership
You can add or remove users from groups at any time. Permission changes take effect on the user’s next login.- API
- UI
Add a user to a group:Remove a user from a group:
Permission Model
A user’s effective permissions are the union of all permissions from all groups they belong to. For example, a user in both Editor and Billing Manager gets the combined permissions of both groups.Entity Types
Permission Levels
Default Group Permissions
Tenant Administrator — all entity types with all permission levels (40 permissions). Editor —REGISTRY:*, AGENT_CONVERSATIONS:*, HITL_REQUESTS:*, API_KEYS:READ/WRITE, AUDIT:READ, GROUPS:READ.
Viewer — REGISTRY:READ, AGENT_CONVERSATIONS:READ, HITL_REQUESTS:READ, AUDIT:READ.
Billing Manager — BILLING:*, PAYMENT:*, TENANT:READ.
Creating Custom Groups
You can create custom groups with any combination of permissions.- API
- UI
Viewing Your Own Permissions
Any authenticated user can call the/v1/me endpoint to see their identity, group memberships, and effective permissions:
Listing Users
- API
- UI
Getting a Specific User
- API
- UI
Removing Users
- API
- UI
204 No Content on success.Audit Trail
Every group change and membership change is recorded:- Group versions — each update to a group’s name, description, or permissions creates a new immutable version. View the history with
GET /v1/tenants/TENANT_ID/groups/GROUP_ID/versions. - Membership events — every group assignment and removal is logged with who performed the action and when.
Next Steps
Monitoring & Audit
Track user actions and agent activity in the audit log.
Agent Discovery
Make your agents discoverable on the marketplace.
