> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperspell.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Permissions

> How Hyperspell decides who can see what, from the moment data arrives to the moment an agent answers.

The most useful knowledge in a company lives in places not everyone should see: inboxes, direct messages, call notes. A brain that ignores this either leaks or gets switched off. Hyperspell's permission model is built to let people search everything the company knows without anything traveling further than it should.

## One brain, many views

Everything is stored once, in one company brain. There are no separate personal or team copies. Each document carries a list of who may see it, and [content rules](https://docs.hyperspell.com/advanced/content-rules.md) can hide single passages inside it. Every question is answered from the content the asker is allowed to see. Two people asking the same question can get different answers, because they see different slices of the same brain.

Agents work the same way. When you connect Claude, ChatGPT, or a coding agent, it acts as you and sees only what you see.

## Shared and personal data

Where a document comes from decides who sees it by default. Every integration is set up in one of two ways, and some tools support both.

| | Shared integration | Personal integration |
| - | - | - |
| Who connects it | An admin, once, with an API key or service account | Each person, with their own login |
| Typical tools | Knowledge bases, project trackers, CRMs, shared drives | Email, calendars, direct messages, personal notes |
| Who sees the data by default | Everyone in the organization | Only the person who connected it |

Admins pick the mode for each tool during setup and can change it later in Settings. The choice matters because Hyperspell does not copy the permission lists of the source tools. A Google Drive folder that only three people could open in Drive becomes visible to the whole organization once it arrives through a shared integration. So the rule of thumb is simple: set up a tool as shared only when everything it contains may be seen by everyone. For tools where that is not true, use personal connections, and rely on [content rules](https://docs.hyperspell.com/advanced/content-rules.md) to share the parts that should travel.

> [!NOTE]
>
> Today a document is visible either to the person who connected it or to everyone in the organization. Narrower audiences, such as a single team, are not yet available.

Meeting-notes tools are no exception: a shared connection to Gong, Fireflies, Fathom, Fellow, or Granola makes every recording visible to everyone in the organization. Recordings often include one-on-ones, so connect these tools as shared only if everyone may see every recording.

## How content rules change the defaults

The defaults above are a starting point. [Content rules](https://docs.hyperspell.com/advanced/content-rules.md) let admins adjust them based on what the content says, rather than where it came from:

* Filter rules hide matching passages, or whole documents, from their shared audiences. The people who brought them in keep access; company-wide API writes and generated pages keep their normal audience. Nothing is deleted.
* Sharing rules find personal content that the team should see and put it in its owner's Inbox. Nothing is shared until the owner shares it. A metadata rule, where your organization has them, shares matching documents without an Inbox card, but only the content of members who turned it on for themselves. Entries an agent writes for a person still wait in that person's Inbox.

## API keys

An API key carries an audience that decides what it can read. You choose it when you create the key in Settings, and it never changes.

| Audience | What the key can read | Who can create one |
| - | - | - |
| **Myself** | Everything you can see: your own data plus what is shared with the company. The keys behind the agents you connect from Settings work this way. | Any member |
| **Company** | Only what is shared with the whole company, and none of anyone's personal data. Use it for bots that serve the whole team, such as a shared Slack assistant. | Any member |
| **Admin** | Every user's data, with content filters applied as described below. Pages built for one person and agent activity entries nobody shared with the company stay with that person, entities read as the company sees them, and a saved query comes back without its stored answer. Keep it out of production systems: anything holding it sees every user's data. | Organization admins |

Used without the `X-As-User` header, an Admin key acts for the organization, not for a person, so it does not get the importer's exception for anyone's personal content. With `X-As-User`, it reads as that person. Company-wide API writes and generated pages retain their normal audience, as described in [Filter rules](https://docs.hyperspell.com/advanced/content-rules.md#filter-rules).

A Company key, or an Admin key used without the `X-As-User` header, writes for the whole organization. What it writes belongs to everyone: every member and every Company and Admin key sees all of it, filtered passages included. See [Filter rules](https://docs.hyperspell.com/advanced/content-rules.md#filter-rules).

Older keys may show the audience **Public**. A Public key reads no documents.

An admin role does not widen the documents you can browse in the dashboard. Signed in, an admin sees the documents any member sees: their own and what is shared with the company. Reading every member's data takes an Admin key.

The audience is a ceiling, not a grant: a key never sees more than its audience allows, whatever scopes it was given.

## When people leave

Remove from organization, in a member's Edit menu under Settings, Members, ends their dashboard access. It does not delete their data. Remove data, in the same menu, does:

* Their connections are disconnected and their API keys are deleted, including organization-wide keys they created. Their connected agents stop working.
* Documents only they could see are deleted.
* Documents shared whole with the organization, or that other people also brought in, stay in the brain. A shared passage does not keep its document.

The company keeps what the company paid for, and the person's private data does not linger. If your organization syncs its directory, for example from Okta, deprovisioning someone there does both automatically. Removed data is deleted from the database in the background, with no waiting period, and ages out of [backups](https://docs.hyperspell.com/resources/security.md) after 30 days.

Deleting your last personal connection for a tool works the same way on a smaller scale. What you brought in from that tool is deleted, unless another connection also brought it in or the whole document was shared with another person or the company. While you still have another connection for that tool, deleting one deletes nothing. Deleting a shared connection stops syncing and takes back the company access it gave, but keeps its content.

A connection that stops working without being deleted, for example because its sign-in expired, keeps everything it brought in. That content stops updating until someone reconnects.

## Where data is stored

Data is stored in the region you chose when you created your account, either the United States or the European Union, and is never copied between regions. See [Regions and data residency](https://docs.hyperspell.com/resources/data-residency.md) for what runs where, and [Security](https://docs.hyperspell.com/resources/security.md) for encryption, backups, and our operational practices.

## In short

* Everything is stored once. Access is decided per document, per person.
* Shared integrations are visible to everyone. Personal integrations are private to the person who connected them.
* Hyperspell does not mirror the source tool's permissions. Choose shared only for content the whole company may see.
* Filter rules hide matching content without deleting it. Sharing rules offer personal content to the team, and nothing is shared until its owner shares it. A filter overrides every share, but never hides content from whoever brought it in.
* Agents inherit the permissions of the person who connected them.
* Every answer shows its sources.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.