# Plans and entitlements

Call authenticated `GET /v1/entitlements` (relative path `/entitlements` when your base URL already ends in `/v1`) to read your key's organization plan and feature access. Both admins and members can read it. It accepts no body, query parameters or organization override. MCP reads the same server policy through `get_entitlements`, using its verified OAuth identity rather than an HTTP API key.

## Current billing availability

Deployments without Stripe configuration return the following explicit response:

```json
{
  "organizationId": "27970bf5-13d3-4a88-8c2b-5a939c6adfb5",
  "billing": {
    "source": "unconfigured",
    "plan": null,
    "status": "unavailable",
    "isPremium": null,
    "trialEndsAt": null,
    "currentPeriodEndsAt": null
  },
  "access": {
    "mode": "unmetered",
    "features": {
      "invoicePdf": true,
      "savedInvoices": true,
      "recurringInvoices": true,
      "httpApi": true
    },
    "limits": { "seats": null }
  }
}
```

This is the `data` inside the normal HTTP response envelope; MCP returns the same object as structured tool output. Null `isPremium` means unknown, not Free. Unmetered access does not prove a paid subscription or free trial. Null seat limits mean no billing-imposed cap; organization creation limits and API rate limits still apply. Feature flags describe plan access only. Role, client and invoice permissions still apply, and a flag does not promise a configured email provider or an available MCP tool. Results are private, uncached and contain no billing cards, billing contact details or payment history.

## Verified subscriptions

Subscriptions belong to organizations. With Stripe configured, the endpoint reads the server-owned subscription reconciled from Stripe and reports `source: provider`, the current plan, status, premium flag and expiry dates. Basic trials require a card and last 30 days. Trialing, active and past-due subscriptions qualify as premium; scheduled cancellation keeps access until the period ends, and terminal or expired trial states do not. No subscription means Free with `isPremium: false`.

The app, HTTP API and MCP use the same reader. A Checkout redirect, JWT claim or sample workspace billing record cannot set subscription status. Verified Stripe webhooks update the stored state; returning from Checkout also reconciles directly with Stripe to cover delivery delays.

Existing API plan access remains `unmetered` during this rollout, including on Free; the daily and per-second request quotas still apply. Subscription reporting does not activate paid feature restrictions, automatically start trials, charge existing accounts or change role/resource permissions. A separate rollout must enforce shared server feature checks before `access.mode` changes to `enforced`. Pro remains unavailable.
