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

> ## Agent Instructions
> Unkey is two separate products. Compute builds, deploys, and runs apps behind a gateway. API Management issues API keys, enforces rate limits, manages identities and permissions, and reports usage. Say which product a page belongs to; a reader can use either without the other.
> Every Unkey API endpoint is an HTTP POST to https://api.unkey.com/v2/{service}.{procedure} with a root key in the Authorization: Bearer header. Root keys are workspace scoped.
> Error codes have the form err:{system}:{category}:{specific} and each has a page at /errors/{system}/{category}/{specific}.
> The word environment means production or preview in Compute. Rate limiting has four meanings on this site; the glossary lists them.

# Platform

> Manage what both Unkey products share: your workspace, billing, root keys, and the CLI.

Set up what Compute and API Management share: your workspace and team, billing, security, root keys, the CLI, and the HTTP API.

## Workspace

<Columns cols={2}>
  <Card title="Workspaces" icon="folder" href="/docs/platform/workspace/overview">
    What a workspace isolates, its slug and ID, creating one.
  </Card>

  <Card title="Workspace settings" icon="sliders" href="/docs/platform/workspace/settings">
    Name, workspace ID, and the GitHub App connection.
  </Card>

  <Card title="Team" icon="users" href="/docs/platform/workspace/team">
    Admin and developer roles, and how invitations work.
  </Card>

  <Card title="Two-factor authentication" icon="mobile-screen" href="/docs/platform/workspace/two-factor-auth">
    Enroll a second factor on your own account.
  </Card>
</Columns>

## Billing

<Columns cols={2}>
  <Card title="Plans" icon="credit-card" href="/docs/platform/billing/plans">
    API tier and Compute plan, billed separately.
  </Card>

  <Card title="Limits" icon="gauge-high" href="/docs/platform/billing/limits">
    Every ceiling, per plan.
  </Card>

  <Card title="Usage" icon="chart-line" href="/docs/platform/billing/usage">
    What you consumed this month.
  </Card>
</Columns>

## Security

<Columns cols={2}>
  <Card title="Security" icon="shield-halved" href="/docs/platform/security/overview">
    How we protect your keys and what you can turn on.
  </Card>

  <Card title="Key storage" icon="lock" href="/docs/platform/security/key-storage">
    Why a key is shown once, and recoverable keys.
  </Card>

  <Card title="GitHub secret scanning" icon="github" href="/docs/platform/security/github-secret-scanning">
    What happens when a key leaks to a public repository.
  </Card>

  <Card title="Delete protection" icon="trash-can-slash" href="/docs/platform/security/delete-protection">
    Block deletion of keyspaces, apps, and projects.
  </Card>
</Columns>

## CLI

<Columns cols={2}>
  <Card title="The unkey CLI" icon="terminal" href="/docs/platform/cli/overview">
    What the command groups are and which product owns each.
  </Card>

  <Card title="Install the CLI" icon="download" href="/docs/platform/cli/install">
    npm package or GitHub release.
  </Card>

  <Card title="CLI authentication" icon="key" href="/docs/platform/cli/authentication">
    Flag, environment variable, or `unkey auth login`, in that order.
  </Card>

  <Card title="CLI output and shared flags" icon="sliders" href="/docs/platform/cli/output-and-flags">
    `--output json`, `--body`, `--api-url`, `--config`.
  </Card>
</Columns>

## API

<Columns cols={2}>
  <Card title="HTTP API basics" icon="globe" href="/docs/platform/api/overview">
    Base URL, envelope, request IDs, pagination.
  </Card>

  <Card title="API authentication" icon="key" href="/docs/platform/api/authentication">
    Bearer root keys and the errors they can produce.
  </Card>

  <Card title="RPC naming convention" icon="code" href="/docs/platform/api/rpc-convention">
    POST /v2/{service}.{procedure}, services, verbs.
  </Card>

  <Card title="API error envelope" icon="triangle-exclamation" href="/docs/platform/api/errors">
    RFC 7807 fields, validation errors, status codes.
  </Card>
</Columns>

## Root keys

<Columns cols={2}>
  <Card title="Root keys" icon="key-skeleton" href="/docs/platform/root-keys/overview">
    Create, edit, rotate, and delete the credential for the API.
  </Card>

  <Card title="Root key permissions" icon="shield-halved" href="/docs/platform/root-keys/permissions">
    Choose permissions and fix a permission error.
  </Card>

  <Card title="Permission reference" icon="list" href="/docs/platform/root-keys/permissions-legacy">
    Every resource.id.action string by product.
  </Card>
</Columns>

## Reference

<Columns cols={2}>
  <Card title="Glossary" icon="book" href="/docs/platform/glossary">
    Every term, tagged with the product that owns it.
  </Card>

  <Card title="Compute" icon="server" href="/docs/compute">
    Build, deploy, and run your app.
  </Card>

  <Card title="API Management" icon="key" href="/docs/api-management">
    Keys, rate limits, identities, analytics.
  </Card>
</Columns>
