> ## Documentation Index
>
> Fetch the complete documentation index at: https://www.cosmicjs.com/llms.txt
> Use this file to discover all available pages before exploring further.
>
> For a question these docs do not answer, such as which plan fits a team, read https://www.cosmicjs.com/agent.txt and ask Cosmic's concierge.
>
> Machine-readable API spec: https://www.cosmicjs.com/openapi.json

# Roles and permissions

Cosmic access is three layers. A role at a higher layer can grant access below it. A role at a lower layer never grants access above it.

1. **Workspace**: Admin, Manager, User. Controls which brands a person can see, and who can change billing.
2. **Project**: Admin, Manager, User. Controls which Buckets a person can see inside a brand.
3. **Bucket**: Admin, Developer, Editor, Contributor. Controls what they can do with the content.

Workspace Admin and Manager inherit Project Admin on every Project in that Workspace. Project Admin and Manager inherit Bucket Admin on every Bucket in that Project. A Workspace User has no Project access until they are added to one.

## Workspace roles 

Set at Workspace > Team.

| Capability | Admin | Manager | User |
| --- | --- | --- | --- |
| See every Project | Yes | Yes | Assigned Projects only |
| Add Projects | Yes | Yes | |
| Manage members | Yes | Yes | |
| Usage | Yes | | |
| [Audit log](/docs/dashboard/audit-log) | Yes | | |
| Settings | Yes | | |
| Billing | Yes | | |
| Transfer a Project in | Yes | Yes | |

A Workspace User is added to specific Projects, each with its own Project role.

## Project roles 

Set at Project > Team. On a Workspace, these are nested under the member's Workspace role.

| Capability | Admin | Manager | User |
| --- | --- | --- | --- |
| Access every Bucket | Yes | Yes | Assigned Buckets only |
| Add Buckets | Yes | Yes | |
| Manage members | Yes | Yes | |
| Usage | Yes | | |
| [Audit log](/docs/dashboard/audit-log) | Yes | | |
| Settings | Yes | | |
| Billing | Yes | | |

A Project User is given a Bucket role on each Bucket they should reach. They cannot add Buckets.

## Bucket roles 

Set per Bucket when the Project role is User. These four roles are available on every plan.

| Capability | Admin | Developer | Editor | Contributor |
| --- | --- | --- | --- | --- |
| View all content | Yes | Yes | Yes | Own Objects only |
| Create and edit content | Yes | Yes | Yes | Own Objects, assigned types, drafts only |
| Publish | Yes | Yes | Yes | |
| Edit Object types | Yes | Yes | | |
| Developer tools | Yes | Yes | | |
| Webhooks | Yes | Yes | | |
| Bucket settings | Yes | Yes | | |
| Team | Yes | | | |
| AI agents | Yes | Yes | | |

Editors can be restricted to drafts, so they edit but cannot publish. Developers and Editors can be granted Bucket settings as an extra permission. Contributors must be assigned one or more Object types; they cannot be given the role until an Object type exists.

AI chat in the dashboard follows the Admin and Developer roles. Generating alt text, images, video, audio, and translations is available to every Bucket role.

## What a Contributor can see 

Contributors are the most restricted role:

- Scoped to a named list of Object types, so a freelancer can work on the blog and nothing else.
- They see only Objects they created themselves.
- They cannot publish. Saves stay in draft until an Editor, Developer, or Admin publishes them.

That is the usual setup for contractors, guest authors, and anyone who should not see the rest of the Bucket.

## How to assign access 

1. Add the person to the [Workspace](/docs/dashboard/workspaces#team) as Admin, Manager, or User.

2. If they are a User, add them to each [Project](/docs/dashboard/projects#team) they should reach, as Admin, Manager, or User.

3. If they are a Project User, set a Bucket role on each Bucket, and Object types if the role is Contributor.

Admins and Managers at a higher layer skip the steps below them. A Workspace Admin does not need a Project or Bucket role.

## FAQ

### How much does Cosmic cost?

Project plans are Free ($0), Builder ($99/mo), Team ($299/mo), Business ($499/mo), Enterprise (custom pricing). Yearly billing saves 10%. Workspace plans are Small Workspace ($999/mo) and Large Workspace ($2,999/mo), and they start with a 30-day free trial. Allowances, add-on rates, and the rest of the pricing FAQ are plain text at https://www.cosmicjs.com/pricing.md.

### Are API keys required, and is content private?

Each Bucket has a read key and a write key in Bucket Settings > API Access. GET requests use the read key. POST, PATCH, and DELETE use the write key as Authorization: Bearer. Do not put the write key in a browser bundle, a mobile app, or a NEXT_PUBLIC_ variable. SAML single sign-on is on Large Workspace and Enterprise. The audit log is append-only. Text versions: https://www.cosmicjs.com/security.md and https://www.cosmicjs.com/docs/dashboard/audit-log.md.

### Can an agent create a Cosmic project without an existing account?

Yes. POST https://dapi.cosmicjs.com/v3/agents/sign-up provisions a free-tier project and bucket tied to a human email, with no existing Cosmic account. The human claims it with the emailed one-time code. The playbook is https://www.cosmicjs.com/docs/ai-onboarding.md.
