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

# Access

> Create and revoke keys, copy the endpoint settings, and invite people.

**Access management** has three tabs: **Keys**, **Endpoints** and **Team**.

## Keys

A key is what a tool sends with each call. Each key names the project its sessions belong to.

![The Keys tab of Access management: a table of keys, each with its project, and the Create key button](https://mintcdn.com/senselab/7GJRxwA5n_G2FDq5/images/sensei/access-keys.png?fit=max\&auto=format\&n=7GJRxwA5n_G2FDq5\&q=85\&s=68d430b45bb45cfe9315084956ad648f)

### Create a key

1. Click **Create key**.
2. Name it for the tool or person that will use it, for example "Ana's laptop" or "CI runner".
3. Pick the project. This decides which model serves the key and where its sessions are kept. You can move the key later.
4. Copy the key. It is shown once.

Keys start with `amfs_`. After creation the table shows only the start of the key.

![The New key dialog, with a name and a project](https://mintcdn.com/senselab/7GJRxwA5n_G2FDq5/images/sensei/access-create-key.png?fit=max\&auto=format\&n=7GJRxwA5n_G2FDq5\&q=85\&s=ceef023f3a28b6ba800e802780ff1bf9)

### Manage keys

| Column | Meaning |
| - | - |
| Project | The project the key's calls belong to. Change it here, and the next call goes to the new project. |
| Limit | Requests per minute. New keys start at 120. |
| Last used | When the key last made a call |

Revoking a key takes effect on the next call. Tools using it stop working. Tick **Show revoked** to see revoked keys.

Members create keys and manage their own. An admin manages every key on the account.

A key over its limit gets `429` with a `retry-after` header that says how long to wait.

## Endpoints

The **Endpoints** tab has the three settings every tool needs, each with a copy button, and a setup guide for Cursor, Claude Code, Codex, the OpenAI SDK, curl and other apps. [Connect your tool](https://docs.sense-lab.ai/sensei/connect-your-tool.md) covers the same steps.

![The Endpoints tab: the base URL, the key and the model name, each with a copy button, and a setup guide for each tool](https://mintcdn.com/senselab/7GJRxwA5n_G2FDq5/images/sensei/access-endpoints.png?fit=max\&auto=format\&n=7GJRxwA5n_G2FDq5\&q=85\&s=517d0041f6a095ad45d4be0dc28109c0)

Under **More options** are three optional settings:

* **Outcomes from your editor** installs the hook. See [Outcomes](https://docs.sense-lab.ai/sensei/outcomes.md#from-your-editor).
* **Outcomes from CI or a script** shows the outcome request. See [Outcomes](https://docs.sense-lab.ai/sensei/outcomes.md#from-ci-or-a-script).
* **Privacy Mode**, or on Team **Improve Sensei with this team's sessions**, controls whether your sessions are used to improve Sensei. See [Privacy](https://docs.sense-lab.ai/sensei/privacy.md).

## Team

People join an account through a team. Create a team on the **Team** tab, open it, and invite people by email as an admin, a developer or a viewer.

![The Team tab of Access management, with the account's teams](https://mintcdn.com/senselab/7GJRxwA5n_G2FDq5/images/sensei/access-team.png?fit=max\&auto=format\&n=7GJRxwA5n_G2FDq5\&q=85\&s=d018c587df44fa9180c8bddbaf9b7a45)

An admin or a developer can create a team. Only an admin can delete one, and deleting a team removes its memberships.

## Roles

| Action | Who can do it |
| - | - |
| Call the endpoint with a key | Anyone with a key |
| Create a key and manage your own | Any member |
| Manage every key | Admin |
| Start, stop, answer and mark runs; connect repositories and tools; save and delete agents | Developer, admin, owner |
| Create a team | Developer, admin |
| Delete a team | Admin |
| Edit routing rules and provider keys | Admin |
| Add a project, change what a project keeps, delete kept turns | Admin |
| Promote, discard or roll back a version of your model, and run trials | Admin, owner |
| Buy credits | Admin |
| Change whether sessions improve Sensei | Admin. On Developer, any user. |

Everyone on the account can read sessions, runs, projects, routing and usage.

## Invitations to Sensei

You do not need an invitation: anyone can create an account at [sensei.sense-lab.ai/signup](https://sensei.sense-lab.ai/signup). Temporary email addresses cannot be used to sign up.

An invitation link also signs a person up in one step. It is valid for a month and works once. A person who opens one while signed in to SenseLab adds Sensei to that account.


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