> For the complete documentation index, see [llms.txt](https://docs.kyvvu.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kyvvu.com/platform/organizations.md).

# Organizations & Access

**What you'll learn:** How organizations, members, and access control work in the Kyvvu platform.

***

## Organizations

Every Kyvvu account belongs to an organization. All data (agents, policies, logs, incidents) is scoped to the authenticated user's organization. There is no cross-organization data access.

When you register with `kyvvu register`, your organization is determined by your email domain. Users with the same email domain are grouped into the same organization.

## Member roles

| Role       | Capabilities                                                                          |
| ---------- | ------------------------------------------------------------------------------------- |
| **Admin**  | Full access: manage members, create/delete agents, manage policies, view all data.    |
| **Member** | Create agents, view data, manage own API keys. Cannot manage org settings or members. |

## Member verification

New members require verification before they can create agents or API keys:

1. User registers → account created, marked as **pending**.
2. An org admin verifies the member via the dashboard or API.
3. Once verified, the member can create agents and API keys.

If you registered and see "pending verification," contact your org admin.

### Registration cap

The platform has an early-access registration cap (`KV_REGISTRATION_CAP`). When the cap is reached, new accounts are created but **waitlisted**. Waitlisted users receive a message:

```
Kyvvu is in early access — we're actively managing growth.
Your account has been created and you're on the waitlist.
We'll contact you at you@company.com when your account is ready.
```

## Dashboard management

1. Navigate to **Organization** in the sidebar.
2. **Members** tab — view all members, their roles, and verification status.
3. Click a member to:
   * **Verify** — approve a pending member.
   * **Change role** — promote to admin or demote to member.
   * **Remove** — revoke access.

## API endpoints

| Method   | Path                                      | Description               |
| -------- | ----------------------------------------- | ------------------------- |
| `GET`    | `/api/v1/orgs`                            | List organizations.       |
| `GET`    | `/api/v1/orgs/{org_id}`                   | Get organization details. |
| `GET`    | `/api/v1/orgs/{org_id}/members`           | List members.             |
| `POST`   | `/api/v1/orgs/{org_id}/members`           | Invite a member.          |
| `PATCH`  | `/api/v1/orgs/{org_id}/members/{user_id}` | Update role or verify.    |
| `DELETE` | `/api/v1/orgs/{org_id}/members/{user_id}` | Remove member.            |
| `GET`    | `/api/v1/orgs/{org_id}/stats`             | Organization statistics.  |

## API keys

API keys authenticate agents with the platform. Manage them via the dashboard (**Organization** > **API Keys**) or the API:

| Method   | Path                             | Description                 |
| -------- | -------------------------------- | --------------------------- |
| `POST`   | `/api/v1/auth/api-keys`          | Create a new API key.       |
| `GET`    | `/api/v1/auth/api-keys`          | List API keys.              |
| `PATCH`  | `/api/v1/auth/api-keys/{key_id}` | Enable/disable a key.       |
| `DELETE` | `/api/v1/auth/api-keys/{key_id}` | Revoke (soft-delete) a key. |

API keys are prefixed with `KvKey-` and are shown only once at creation time.

***

## Next steps

* [Dashboard Guide](/platform/dashboard.md) — navigate the platform
* [Incident Management](/platform/incidents.md) — triage policy violations
* [Configuration Reference](/deployment/configuration.md) — environment variables including registration cap


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.kyvvu.com/platform/organizations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
