Dataset isolation
- Each dataset maintains separate storage namespaces.
- Search queries only return results from datasets the user has access to.
- Scoped search (single dataset) and combined search (across accessible datasets) are both supported.
Managing members from the UI
Members, teams and dataset access are managed on the Permissions page (sidebar, Connect > Permissions). Its Teams and people part replaces the old Members page; the Members link in the profile menu opens it. For the model behind it (the Organisation team, team admins, owning teams, rules and promotion), see Permissions and memory promotion.- The workspace owner and admins invite and remove members. Only admins see the Members view; everyone else sees their own teams.
- Only the workspace admin (the workspace’s creator) creates and deletes teams.
- Team admins add and remove people in the teams they lead and manage who else gets the datasets their team owns.
Switching tenants
If your account belongs to more than one tenant, use the workspace switcher to move between them. The selected tenant is remembered in your browser and used as the active workspace for datasets, search, and ingestion until you switch again.Tenant management
Tenants group users and resources. Each Cognee Cloud workspace operates as a tenant. Platform API (api.aws.cognee.ai):
Tenant selection and membership
These endpoints back the in-app workspace switcher and Teams and people on the Permissions page. Users who belong to multiple tenants can switch between them without signing out — the selected tenant is persisted in the
cognee_selected_tenant cookie.
Roles
Roles are what the app calls teams. A role’s dataset grants are the team’s access level, the same for every member.
Nobody adds themselves or their own agents to a team: such requests return
403 with code self_assignment. Nobody can be added to, removed from or leave the Organisation team.
A team’s datasets and admins
Dataset permissions
Grant access to datasets for specific users or agents.POST /api/v1/permissions/datasets/{principal_id} — Grant dataset permissions to a principal.
The principal_id is the UUID of any entity that can hold permissions — this includes both users and agents. The same endpoint is used regardless of whether you are granting access to a human user or to an agent service account.
The permission_name query parameter controls the access level: read, write, or delete.
PUT .../principals/{agent_id}/datasets/{dataset_id}.
Roles vs. direct permissions
Roles and direct dataset permissions work together:- Roles (teams) carry dataset grants for everyone in them. Add a user to a team via
POST /api/v1/permissions/users/{user_id}/roles, and they reach whatever the team reaches. - Direct dataset permissions grant access to specific datasets for a specific principal. Use the
datasets/{principal_id}endpoint above to give a user or agent access to individual datasets, independent of their role.
Agents
An agent is a sub-user of your account with its own API key. Every route below only sees your own agents. To call the API with an agent’s key, see HTTP API.Scope an agent’s datasets
PUT /api/v1/permissions/principals/{agent_id}/datasets/{dataset_id} sets exactly what the agent holds on one dataset: listed permissions are granted, anything not listed is revoked, and an empty list takes the dataset away. Valid permissions are read, write, delete and share; any other name is refused with 400. You need share on the dataset yourself to change who can reach it.
- Only the agent’s owner can change it. Anyone else who can share the dataset, including a workspace admin, gets
403“Only the agent’s owner can change what it reaches”. - An agent never gets more than you have. Asking for a permission you do not hold yourself on that dataset is refused with
403“An agent cannot have more access than you do”. The check runs when you grant; if your own access is later reduced, the agent’s existing grants are not narrowed automatically yet. - A dataset the agent owns cannot be scoped. If the agent created the dataset, the request is refused with
403, because a dataset’s owner always keeps its own access. - The same endpoint also accepts a group, a member, or the workspace id as the principal.
GET /api/v1/datasets/accesslists current grants, including agent grants with theirparentUserId; thesharedWithlist is only filled in for datasets you holdshareon.
For a complete walkthrough of permission patterns, see Permission Snippets and the Cognee Permissions System.