Skip to main content

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 via groupIds. If omitted, the user is assigned to the default group (Viewer).
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.
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). EditorREGISTRY:*, AGENT_CONVERSATIONS:*, HITL_REQUESTS:*, API_KEYS:READ/WRITE, AUDIT:READ, GROUPS:READ. ViewerREGISTRY:READ, AGENT_CONVERSATIONS:READ, HITL_REQUESTS:READ, AUDIT:READ. Billing ManagerBILLING:*, PAYMENT:*, TENANT:READ.

Creating Custom Groups

You can create custom groups with any combination of permissions.
Updating a group creates a new immutable version — the previous version is preserved for audit purposes. All members of the group receive the updated permissions on their next login.

Viewing Your Own Permissions

Any authenticated user can call the /v1/me endpoint to see their identity, group memberships, and effective permissions:
Response:

Listing Users

Response:

Getting a Specific User


Removing Users

Returns 204 No Content on success.
Deleting a user is permanent and cannot be undone. The user will immediately lose access to the platform.

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.