# Cursor

platforma citește membrii echipei dvs. Cursor prin intermediul administratorului CursorAPI, astfel încât să puteți revizui cine are acces.

:::caution
Use a team API key (`crsr_…`) with the **Read-only** scope, created by a team administrator in the Cursor dashboard. A personal **User API Key** will **not** work because it cannot list team members through the Admin API.
:::

## Prerequisites

- accesul administratorului organizației platformei - rolul administratorului de echipă** în Cursor (numai administratorii de echipă pot crea și gestiona cheile AdminAPI) - O echipă Cursor pe un plan plătit **Business** (administratorulAPInu este disponibil pe conturile individuale)

## Collected Fields

| the platform field | Cursor field                                             | Notes                                                                                                                     |
| ----------- | -------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| Name        | `name`                                                   | Member display name                                                                                                       |
| Email       | `email`                                                  | Member email address                                                                                                      |
| Role        | `role`                                                   | `owner` and `free-owner` map to Owner, `member` to Member, `removed` to Removed; any other value passes through unchanged |
| Admin       | `role`                                                   | Flagged as an administrator when `role` is `owner` or `free-owner`                                                        |
| Status      | `isRemoved`, `role`                                      | Shown inactive when `isRemoved` is true or `role` is `removed`, otherwise active                                          |
| MFA         |  |                                                                                                                           |
| Last login  |  |                                                                                                                           |
| External ID | `id`                                                     | Stable identifier used to track the account across reviews                                                                |
| Created at  |  |                                                                                                                           |

## Step 1: Create an API Key

1. In Cursor (signed in as a team administrator), open `cursor.com/dashboard`, go to **Settings**, and select **API Keys** in the sidebar.
2. Open the **Team** tab and click **New API Key**.
3. Enter a name (e.g. `Probo Access Review`), choose an expiration date, and set **Scope** to **Read-only**.
4. Create and copy the key (`crsr_…`), then store it securely. It's shown only once.

## Step 2: Connect in the platform

1. În platformă, mergeți la **Access Reviews** > **Sources** > **Add Source**. 2. Găsiți **Cursor**, faceți clic pe **APIKey**, lipiți cheia și faceți clic pe **Connect**.

AdministratorulAPInu expune niciun punct final de nume de echipă sau organizație, astfel încât platforma enumeră sursa sub numele fix Cursor și atrage membrii săi în campaniile dvs.

## Troubleshooting

- **Key rejected.** Confirm it's a team API key (`crsr_…`) with the **Read-only** scope, created by a team administrator. A personal User API Key won't work, and because the Admin API accepts only Basic auth, Bearer tokens are rejected.
- **No members appear.** The key must be created by a team administrator and belong to the team you're reviewing on a paid Business plan.
