---
title: "Capabilities"
description: "Every capability: what it gives the app, what powers it, how it runs in development, and the env names, findings, docs, DevTools tab and playground pages it owns."
canonical_url: "https://nuxt-backend.dev/docs/reference/capabilities"
---
# Capabilities

> Every capability: what it gives the app, what powers it, how it runs in development, and the env names, findings, docs, DevTools tab and playground pages it owns.

Version: nuxt-backend 0.6.x · Tab: Reference · Kind: reference · Status: stable

Every page: [llms.txt](https://nuxt-backend.dev/llms.txt) · Skill for coding agents: [nuxt-backend](https://nuxt-backend.dev/.well-known/skills/nuxt-backend/SKILL.md)

Commands use npm; use your project's package manager.

- [Source](https://github.com/qruto/nuxt-backend/blob/main/src/capabilities/registry.ts)

This page lists every capability with what it owns: its env names, the `doctor` findings that check it, its docs home, its DevTools tab and its playground pages. Use it to find the capability a variable or a finding belongs to. [Capabilities](https://nuxt-backend.dev/docs/start/concepts/capabilities) explains the idea, and [`npx nuxt-backend status`](https://nuxt-backend.dev/docs/reference/cli#status) shows each capability's state. A capability's state is detected from the env and `doctor`'s checks, never configured.

## What each one covers

There are twelve capabilities: `auth`, `data`, `jobs`, `billing`, `email`, `notifications`, `ai`, `protection`, `monitoring`, `flags`, `analytics` and `hosting`. Each one's development mode is its provider's test mode: Polar's sandbox, Resend's test addresses read back in the dev inbox, and the Convex AI Gateway. One variable, `BACKEND_ENVIRONMENT`, owned by `data`, says what kind of deployment this is. Beside what the table below says each one gives:

- **auth**: launch phases, invite codes and access links, the waitlist, consents with a minimum age, codes bound to the browser that asked, passkeys that ask for a PIN or biometrics every time, and passkey-only accounts.
- **data**: checked uploads, storage refs and share links, and retention.
- **ai** and **jobs**: the generation queue.
- **protection** and **ai**: moderation of uploads and prompts, and user reports.
- **billing**: the cancel flow, renewal reminders and the withdrawal button.
- **ai**: content credentials and the AI label.
- **monitoring**: the error-reporting preset (personal data scrubbed, log lines, replay after consent, the feedback widget), the email quota and AI spend alerts, and AI cost per person in the admin console.
- **notifications**: the in-app inbox, and web push with `PUSH_PUBLIC_KEY` and `PUSH_PRIVATE_KEY`.
- **analytics**: revenue metrics in the admin console, the growth funnel and experiments.
- **hosting**: the packaged legal pages, filled from the capabilities the app uses.

The packaged UI is not a capability: its pages and components follow the capabilities they serve, and its stylesheets load only for those detected.

[Environment variables](https://nuxt-backend.dev/docs/reference/configuration/environment-variables) lists the env names by group, and [Diagnostics](https://nuxt-backend.dev/docs/reference/cli/diagnostics) every finding.

## Every capability

The table, the states and the sections below are generated from `src/capabilities/registry.ts`.

<table>
<thead>
  <tr>
    <th>
      Capability
    </th>
    
    <th>
      Gives the app
    </th>
    
    <th>
      Built on
    </th>
    
    <th>
      In development
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <a href="#auth">
        <code>
          auth
        </code>
      </a>
    </td>
    
    <td>
      Sign-in by email code and passkey, sessions, workspaces with roles and invitations, the admin console with impersonation, the activity trail, and each account's data export and complete erasure.
    </td>
    
    <td>
      Better Auth
    </td>
    
    <td>
      sign-in codes print in the dev console, or reach the email provider's test addresses, which the dev inbox reads back
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#data">
        <code>
          data
        </code>
      </a>
    </td>
    
    <td>
      The database with realtime queries, server rendering, full-text search, aggregates, counters and file storage.
    </td>
    
    <td>
      Convex
    </td>
    
    <td>
      a dev deployment of your own, or a local one on this machine
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#jobs">
        <code>
          jobs
        </code>
      </a>
    </td>
    
    <td>
      Scheduled jobs, durable workflows, queued work, cached action results, migrations and the backend's own hourly maintenance.
    </td>
    
    <td>
      Convex
    </td>
    
    <td>
      the dev deployment's scheduler
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#billing">
        <code>
          billing
        </code>
      </a>
    </td>
    
    <td>
      Plans with monthly and yearly prices, prepaid credits, a server-rendered pricing page, feature gates, gifts and the customer portal, from a catalog in code.
    </td>
    
    <td>
      Polar
    </td>
    
    <td>
      the billing provider's sandbox, with a test card
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#email">
        <code>
          email
        </code>
      </a>
    </td>
    
    <td>
      Transactional and marketing mail from one template registry, with delivery tracking and the dev inbox.
    </td>
    
    <td>
      Resend
    </td>
    
    <td>
      the provider's test mode: its test addresses accept mail and send real delivery events, and the dev inbox reads what was sent back
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#notifications">
        <code>
          notifications
        </code>
      </a>
    </td>
    
    <td>
      An in-app inbox for every event the backend records about a person and for events of your own, live and in each person's language, with the unread count and marking read; the kinds that allow it by email, and as web push to each device a person allowed, under their channel choices.
    </td>
    
    <td>
      Web Push
    </td>
    
    <td>
      the same code on your dev deployment: events recorded there reach the inbox at once, and a push reaches a browser that subscribed on the dev app
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#ai">
        <code>
          ai
        </code>
      </a>
    </td>
    
    <td>
      Metered model calls and streams: each call reserves prepaid credits, runs the model by its provider/model id, then settles at the cost it reports.
    </td>
    
    <td>
      AI SDK, Convex AI Gateway, Vercel AI Gateway, Convex persistent text streaming, Polar
    </td>
    
    <td>
      the models themselves, through the Convex AI Gateway or a Vercel AI Gateway key, and credits from the billing sandbox
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#protection">
        <code>
          protection
        </code>
      </a>
    </td>
    
    <td>
      Bot checks on the requests that send a sign-in code or create an account, and on the calls of your own that verifyHuman guards.
    </td>
    
    <td>
      Vercel BotID, Cloudflare Turnstile
    </td>
    
    <td>
      test mode: the dev server's bot check answers human, and the challenge provider's test keys
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#monitoring">
        <code>
          monitoring
        </code>
      </a>
    </td>
    
    <td>
      Error reports from the browser, the Nuxt server and the backend's actions, cron check-ins, and a health endpoint for uptime checks.
    </td>
    
    <td>
      Sentry
    </td>
    
    <td>
      the dev server's local error log, listed in DevTools
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#flags">
        <code>
          flags
        </code>
      </a>
    </td>
    
    <td>
      Feature flags read inside queries and mutations, targeted by account, workspace, plan or a stable percentage, and the kill switches that pause sign-ups, checkout and AI or put up a maintenance banner.
    </td>
    
    <td>
      Convex
    </td>
    
    <td>
      nothing: flags are the package's own code, the same in dev, tests and production
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#analytics">
        <code>
          analytics
        </code>
      </a>
    </td>
    
    <td>
      Revenue metrics in the admin console: recurring revenue, subscriptions and churn with cancellations per reason, checkouts, usage per meter, and costs and margin, read live from the billing provider.
    </td>
    
    <td>
      Polar
    </td>
    
    <td>
      the billing sandbox's metrics, from the purchases made there with a test card
    </td>
  </tr>
  
  <tr>
    <td>
      <a href="#hosting">
        <code>
          hosting
        </code>
      </a>
    </td>
    
    <td>
      The app on its host: one-command production, the app's env written into the host, and the live site's HTTPS, security headers, backend and docs for agents checked.
    </td>
    
    <td>
      Vercel
    </td>
    
    <td>
      the Nuxt dev server
    </td>
  </tr>
</tbody>
</table>

## States

<table>
<thead>
  <tr>
    <th>
      State
    </th>
    
    <th>
      Light
    </th>
    
    <th>
      Means
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        live
      </code>
    </td>
    
    <td>
      green
    </td>
    
    <td>
      The real service is configured, and the capability acts for real.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        test
      </code>
    </td>
    
    <td>
      amber
    </td>
    
    <td>
      The capability runs in its service's test mode: a dev deployment, the email provider's test mode or the billing sandbox.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        missing
      </code>
    </td>
    
    <td>
      grey
    </td>
    
    <td>
      What it needs is not configured, so it degrades the way its env names describe.
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        failing
      </code>
    </td>
    
    <td>
      red
    </td>
    
    <td>
      A check of the capability failed, whatever else holds.
    </td>
  </tr>
</tbody>
</table>

## `auth`

Sign-in by email code and passkey, sessions, workspaces with roles and invitations, the admin console with impersonation, the activity trail, and each account's data export and complete erasure.

- **Built on:** Better Auth, for sessions, sign-in codes, passkeys and workspaces.
- **In development:** sign-in codes print in the dev console, or reach the email provider's test addresses, which the dev inbox reads back.
- **Env:** [`AUTH_SECRET`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`SITE_URL`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`auth-secret`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#auth-secret), [`site-url`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-url), [`deployment-auth-secret`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-auth-secret), [`deployment-site-url`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-site-url), [`site-url-origin`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-url-origin), [`site-gated-page`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-gated-page), [`site-auth-proxy`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-auth-proxy), [`consent-urls`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#consent-urls), [`admin-bootstrap`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#admin-bootstrap), [`page-paths`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#page-paths), [`auth-provider`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#auth-provider); `doctor --only auth` runs them.
- **Docs:** [Auth](https://nuxt-backend.dev/docs/build/auth).
- **DevTools:** the Account tab.
- **Playground:** [`/playground/strips`](https://nuxt-backend.dev/playground/strips), [`/playground/welcome`](https://nuxt-backend.dev/playground/welcome), [`/playground/profile`](https://nuxt-backend.dev/playground/profile), [`/playground/security`](https://nuxt-backend.dev/playground/security), [`/playground/settings`](https://nuxt-backend.dev/playground/settings), [`/playground/admin`](https://nuxt-backend.dev/playground/admin).

## `data`

The database with realtime queries, server rendering, full-text search, aggregates, counters and file storage.

- **Built on:** Convex, for the database, realtime queries, search and file storage.
- **In development:** a dev deployment of your own, or a local one on this machine.
- **Env:** [`NUXT_PUBLIC_BACKEND_URL`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`BACKEND_ENVIRONMENT`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`backend-site-url`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#backend-site-url), [`deployment-env`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-env), [`deployment-backend-environment`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-backend-environment), [`deployment-removed-env`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-removed-env), [`env-defaults`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#env-defaults), [`convex-codegen`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#convex-codegen), [`paths-file`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#paths-file), [`brand-file`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#brand-file), [`labels-file`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#labels-file), [`dev-script`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#dev-script), [`convex-config`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#convex-config), [`function-contract`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#function-contract), [`agent-files`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#agent-files), [`env-example`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#env-example), [`name-collisions`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#name-collisions), [`bundle-duplicates`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#bundle-duplicates); `doctor --only data` runs them.
- **Docs:** [Data](https://nuxt-backend.dev/docs/build/data).
- **DevTools:** the Overview tab.
- **Playground:** [`/playground/strips`](https://nuxt-backend.dev/playground/strips), [`/playground`](https://nuxt-backend.dev/playground).

## `jobs`

Scheduled jobs, durable workflows, queued work, cached action results, migrations and the backend's own hourly maintenance.

- **Built on:** Convex, for the scheduler, and the crons, workflow, workpool, action cache and migrations components.
- **In development:** the dev deployment's scheduler.
- **Env:** none of its own.
- **Findings:** none of its own.
- **Docs:** [Jobs](https://nuxt-backend.dev/docs/build/data/jobs).
- **DevTools:** the Overview tab.
- **Playground:** [`/playground/strips`](https://nuxt-backend.dev/playground/strips), [`/playground/admin/demo`](https://nuxt-backend.dev/playground/admin/demo).

## `billing`

Plans with monthly and yearly prices, prepaid credits, a server-rendered pricing page, feature gates, gifts and the customer portal, from a catalog in code.

- **Built on:** Polar, for products, checkout, subscriptions, meters and the customer portal.
- **In development:** the billing provider's sandbox, with a test card.
- **Env:** [`BILLING_PROVIDER`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`BILLING_ACCESS_TOKEN`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`BILLING_WEBHOOK_SECRET`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`billing-access`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-access), [`billing-webhook-secret`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-webhook-secret), [`deployment-billing-access-token`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-billing-access-token), [`deployment-billing-webhook-secret`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-billing-webhook-secret), [`billing-webhook-route`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-webhook-route), [`billing-webhook-enabled`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-webhook-enabled), [`billing-webhook-events`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-webhook-events), [`billing-meter-usage`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-meter-usage), [`billing-organization`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-organization), [`billing-customer-mapping`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-customer-mapping), [`billing-multiple-subscriptions`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-multiple-subscriptions), [`billing-proration`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-proration), [`billing-benefit-grace`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-benefit-grace), [`billing-trial-abuse`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-trial-abuse), [`billing-portal`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-portal), [`billing-customer-emails`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-customer-emails), [`billing-team-customers`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-team-customers), [`billing-checkout-links`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-checkout-links), [`billing-currency`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-currency), [`billing-plan-benefits`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-plan-benefits), [`billing-gift-twins`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-gift-twins), [`billing-pass-products`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-pass-products), [`billing-feature-benefits`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-feature-benefits), [`billing-promotion-limits`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-promotion-limits), [`billing-promotion-portal`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-promotion-portal), [`billing-provider-sdk`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-provider-sdk), [`billing-catalog-production`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-catalog-production), [`billing-launch`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#billing-launch); `doctor --only billing` runs them.
- **Docs:** [Billing](https://nuxt-backend.dev/docs/build/billing).
- **DevTools:** the Billing tab.
- **Playground:** [`/playground/pricing`](https://nuxt-backend.dev/playground/pricing), [`/playground/settings`](https://nuxt-backend.dev/playground/settings), [`/playground/gifts`](https://nuxt-backend.dev/playground/gifts).

## `email`

Transactional and marketing mail from one template registry, with delivery tracking and the dev inbox.

- **Built on:** Resend, for sending, delivery events, contacts and topics.
- **In development:** the provider's test mode: its test addresses accept mail and send real delivery events, and the dev inbox reads what was sent back.
- **Env:** [`EMAIL_API_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`EMAIL_FROM`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`EMAIL_MARKETING_FROM`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`EMAIL_REGION`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`EMAIL_WEBHOOK_SECRET`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`EMAIL_DEV_INBOX`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`email-transport`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-transport), [`email-webhook-secret`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-webhook-secret), [`deployment-email-api-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-api-key), [`deployment-email-from`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-from), [`deployment-email-webhook-secret`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-webhook-secret), [`email-webhook-route`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-webhook-route), [`deployment-email-dev-inbox`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-email-dev-inbox), [`email-sender-domain`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-sender-domain), [`email-reputation`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-reputation), [`email-quota`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-quota), [`email-key-permission`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-key-permission), [`email-topics`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-topics), [`email-flows`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-flows), [`email-webhook-events`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-webhook-events), [`email-webhook-enabled`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-webhook-enabled), [`email-postal-address`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-postal-address), [`email-marketing-from`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-marketing-from), [`email-region`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#email-region); `doctor --only email` runs them.
- **Docs:** [Email](https://nuxt-backend.dev/docs/build/email).
- **DevTools:** the Email tab.
- **Playground:** [`/playground/notifications`](https://nuxt-backend.dev/playground/notifications), [`/playground/settings`](https://nuxt-backend.dev/playground/settings).

## `notifications`

An in-app inbox for every event the backend records about a person and for events of your own, live and in each person's language, with the unread count and marking read; the kinds that allow it by email, and as web push to each device a person allowed, under their channel choices.

- **Built on:** Web Push, for notifications on a phone or a desktop with the app closed, through the browsers' own push services, signed and encrypted inside the deployment; no account.
- **In development:** the same code on your dev deployment: events recorded there reach the inbox at once, and a push reaches a browser that subscribed on the dev app.
- **Env:** [`PUSH_PUBLIC_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`PUSH_PRIVATE_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`deployment-push-public-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-push-public-key), [`deployment-push-private-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-push-private-key), [`installable`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#installable); `doctor --only notifications` runs them.
- **Docs:** [Notifications](https://nuxt-backend.dev/docs/build/email/notifications).
- **DevTools:** the Account tab.
- **Playground:** [`/playground/notifications`](https://nuxt-backend.dev/playground/notifications).

## `ai`

Metered model calls and streams: each call reserves prepaid credits, runs the model by its provider/model id, then settles at the cost it reports.

- **Built on:** AI SDK, for model calls and streams, by provider/model id; Convex AI Gateway, for every provider's models on a paid Convex plan, billed to the team with no key, and the cost of each call; Vercel AI Gateway, for one key for every provider's models, and the cost of each call; setupAi({ gateway }) picks between the two; Convex persistent text streaming, for streams that persist server-side and resume after a reload; Polar, for the credit meters each call spends.
- **In development:** the models themselves, through the Convex AI Gateway or a Vercel AI Gateway key, and credits from the billing sandbox.
- **Env:** [`AI_GATEWAY_API_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`PROVENANCE_PRIVATE_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`PROVENANCE_CERTIFICATE`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`CONTENT_SAFETY_ENDPOINT`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`CONTENT_SAFETY_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`SECOND_OPINION_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`KNOWN_ABUSE_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`ai-stream-route`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#ai-stream-route), [`ai-components`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#ai-components), [`ai-spend-limit`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#ai-spend-limit), [`ai-gateway-budget`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#ai-gateway-budget), [`ai-moderation-images`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#ai-moderation-images), [`ai-moderation-providers`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#ai-moderation-providers), [`deployment-content-safety-endpoint`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-content-safety-endpoint), [`deployment-content-safety-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-content-safety-key), [`deployment-second-opinion-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-second-opinion-key), [`deployment-known-abuse-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-known-abuse-key), [`deployment-ai-gateway-api-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-ai-gateway-api-key), [`deployment-provenance-private-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-provenance-private-key), [`deployment-provenance-certificate`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-provenance-certificate); `doctor --only ai` runs them.
- **Docs:** [AI](https://nuxt-backend.dev/docs/build/ai).
- **DevTools:** the Billing tab.
- **Playground:** [`/playground/strips`](https://nuxt-backend.dev/playground/strips), [`/playground/admin/demo`](https://nuxt-backend.dev/playground/admin/demo).

## `protection`

Bot checks on the requests that send a sign-in code or create an account, and on the calls of your own that verifyHuman guards.

- **Built on:** Vercel BotID, for an invisible bot check on the app's server, on Vercel; Cloudflare Turnstile, for a challenge the browser answers wherever the app has a site key, verified through Better Auth's captcha plugin.
- **In development:** test mode: the dev server's bot check answers human, and the challenge provider's test keys.
- **Env:** [`PROTECTION_PROOF_SECRET`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`PROTECTION_CHALLENGE_SECRET_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable), [`NUXT_PUBLIC_BACKEND_CHALLENGE_SITE_KEY`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`bot-protection`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#bot-protection), [`protection-proof`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#protection-proof), [`protection-challenge-keys`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#protection-challenge-keys), [`waitlist-bot-check`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#waitlist-bot-check), [`contact-bot-check`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#contact-bot-check), [`protection-guest-jobs`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#protection-guest-jobs), [`deployment-protection-proof-secret`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-protection-proof-secret), [`deployment-protection-challenge-secret-key`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-protection-challenge-secret-key); `doctor --only protection` runs them.
- **Docs:** [Protection](https://nuxt-backend.dev/docs/build/auth/sign-in/bots).
- **DevTools:** the Overview tab.
- **Playground:** [`/playground/admin`](https://nuxt-backend.dev/playground/admin).

## `monitoring`

Error reports from the browser, the Nuxt server and the backend's actions, cron check-ins, and a health endpoint for uptime checks.

- **Built on:** Sentry, for error tracking, tracing, cron monitors and uptime checks.
- **In development:** the dev server's local error log, listed in DevTools.
- **Env:** [`MONITORING_DSN`](https://nuxt-backend.dev/docs/reference/configuration/environment-variables#every-variable).
- **Findings:** [`deployment-monitoring-dsn`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#deployment-monitoring-dsn), [`monitoring-app`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#monitoring-app), [`monitoring-source-maps`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#monitoring-source-maps), [`monitoring-backend-exceptions`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#monitoring-backend-exceptions), [`monitoring-health`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#monitoring-health), [`monitoring-uptime`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#monitoring-uptime), [`monitoring-usage-alerts`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#monitoring-usage-alerts); `doctor --only monitoring` runs them.
- **Docs:** [Monitoring](https://nuxt-backend.dev/docs/ship/operate/monitoring).
- **DevTools:** the Monitoring tab.
- **Playground:** [`/playground/admin`](https://nuxt-backend.dev/playground/admin).

## `flags`

Feature flags read inside queries and mutations, targeted by account, workspace, plan or a stable percentage, and the kill switches that pause sign-ups, checkout and AI or put up a maintenance banner.

- **Built on:** Convex, for the stored overrides, read in the same transaction as the function that asks.
- **In development:** nothing: flags are the package's own code, the same in dev, tests and production.
- **Env:** none of its own.
- **Findings:** none of its own.
- **Docs:** [Flags](https://nuxt-backend.dev/docs/ship/operate/flags).
- **DevTools:** the Overview tab.
- **Playground:** [`/playground/strips`](https://nuxt-backend.dev/playground/strips), [`/playground/admin`](https://nuxt-backend.dev/playground/admin).

## `analytics`

Revenue metrics in the admin console: recurring revenue, subscriptions and churn with cancellations per reason, checkouts, usage per meter, and costs and margin, read live from the billing provider.

- **Built on:** Polar, for the metrics it computes from its orders, subscriptions, checkouts and meters.
- **In development:** the billing sandbox's metrics, from the purchases made there with a test card.
- **Env:** none of its own.
- **Findings:** [`analytics-metrics`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#analytics-metrics), [`analytics-activation`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#analytics-activation); `doctor --only analytics` runs them.
- **Docs:** [Analytics](https://nuxt-backend.dev/docs/build/growth/measure).
- **DevTools:** the Billing tab.
- **Playground:** [`/playground/admin`](https://nuxt-backend.dev/playground/admin).

## `hosting`

The app on its host: one-command production, the app's env written into the host, and the live site's HTTPS, security headers, backend and docs for agents checked.

- **Built on:** Vercel, for the Nuxt server, previews per branch, the CDN and custom domains, or any host that runs Nuxt.
- **In development:** the Nuxt dev server.
- **Env:** none of its own.
- **Findings:** [`site-https`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-https), [`site-csp`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-csp), [`site-backend-url`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#site-backend-url), [`agent-docs`](https://nuxt-backend.dev/docs/reference/cli/diagnostics#agent-docs); `doctor --only hosting` runs them.
- **Docs:** [Hosting](https://nuxt-backend.dev/docs/ship/deploy).
- **DevTools:** the Overview tab.
- **Playground:** [`/playground`](https://nuxt-backend.dev/playground).


## Sitemap

See the full [sitemap](https://nuxt-backend.dev/sitemap.md) for all pages.
