# Permissions

What an API key can do depends on two things at once: its scopes, and the role of its owner in the project.

## The rule

An action is permitted only if **all** these conditions are true:

1. the request uses a valid API key, neither revoked nor expired;
2. the key has the requested scope;
3. the project belongs to the key's organization and to its list of projects if it has one;
4. the key's owner has the necessary role in the project;
5. for the content of a category, the owner has access to that category.

## Scope and role

| Action | Key scope | Minimum owner role |
|---|---|---|
| Read | `read` | Project member, or external collaborator for their shared categories |
| Create, modify, delete content | `write` | **MEMBER** |
| Change project configuration | `manage` | **MANAGER** |
| Create a project | `manage`, key not limited to projects | Depends on the organization and subscription rules |

> **Note:** an external collaborator only sees shared categories with them, in read-only mode, in the tree, search, and lists.

## What a key never does

- Open the frontend API (`/api/...` without `v1`): it responds with `401`.
- Create, list, or revoke keys.
- Manage members, subscription, or organization.

Conversely, an application session never opens `/api/v1` nor `/mcp`.

## Key management

| Who | Sees | Revokes |
|---|---|---|
| Organization member | Their keys | Their keys |
| Manager, organization owner | All keys | All keys |

## Next steps

- [API Keys](/automate/api-keys)
- [Errors](/reference/errors)
