# SchematicHQ ## Instructions for AI Agents - For clean Markdown of any page, append `.md` to the page URL - For section-specific indexes, append `/llms.txt` to any section URL - For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.schematichq.com/_mcp/server ## Docs - [Welcome to Schematic Docs](https://docs.schematichq.com/overview.md): Schematic is a usage-based billing engine for AI and software companies, covering metered consumption, credit balances, and real-time enforcement. - [What is Schematic?](https://docs.schematichq.com/what-is-schematic.md): See how Schematic bills usage, seats, and credits, and enforces every limit in real time. - [Concepts](https://docs.schematichq.com/concepts.md): Definitions of Schematic's core concepts, including features, flags, entitlements, plans, add ons, subscriptions, companies, keys, traits, usage, and credits, plus how an entitlement check resolves at runtime. - [For Product Teams](https://docs.schematichq.com/product-teams.md): Where product and packaging teams start with Schematic: pricing models, credits, plans, features, entitlements, add ons, and what customers see at checkout. - [Quickstart](https://docs.schematichq.com/quickstart/overview.md): Choose between the dashboard track for building your first plan and the code track for wiring Schematic into your application. - [Set up your first plan](https://docs.schematichq.com/quickstart/set-up-your-first-plan.md): The dashboard track of the quickstart. Create an account, add a feature, meter usage, and publish a billing portal without writing code. - [Create your account](https://docs.schematichq.com/quickstart/account-setup.md): Step one of the dashboard track. Create a Schematic account, generate API keys for your engineers, and load sample plans and customers. - [Add your first feature](https://docs.schematichq.com/quickstart/entitling-a-feature.md): Step two of the dashboard track. Create a boolean feature in Schematic and entitle it to a plan so every company on that plan gets access. - [Meter usage](https://docs.schematichq.com/quickstart/tracking-usage.md): Step three of the dashboard track. Create an event-based feature, set a monthly allowance on a plan, and confirm usage is arriving. - [Publish a billing portal](https://docs.schematichq.com/quickstart/create-a-component.md): Step four of the dashboard track. Build a Customer Portal component in Schematic and hand its ID to your engineers to embed. - [Instrument your app](https://docs.schematichq.com/quickstart/instrument-your-app.md): The code track of the quickstart. Install an SDK, identify companies, check entitlements, send usage events, and render a component. - [Install the SDK](https://docs.schematichq.com/quickstart/setup-sdk.md): Install a Schematic SDK, mount the provider with a publishable key, and verify the connection with a flag check. - [Identify users and companies](https://docs.schematichq.com/quickstart/identifying-users.md): Identify companies and users with your own keys, on the frontend with identify or on the backend with upsertCompany, and attach traits. - [Use Cases](https://docs.schematichq.com/use-cases/overview.md): The common things teams build with Schematic, and where to start with each. - [Show customers what an action will cost](https://docs.schematichq.com/use-cases/pre-flight.md): Give customers a cost estimate before they run an expensive AI action. - [Warn customers before they hit a limit](https://docs.schematichq.com/use-cases/surprise-throttle.md): Surface usage transparently with soft warnings and grace periods so a limit is never a surprise. - [Protect your margins](https://docs.schematichq.com/use-cases/margin-protection.md): Enforce the limits you priced for in real time, before heavy usage erodes a profitable plan. - [Meter on a real-time credit ledger](https://docs.schematichq.com/use-cases/credit-ledger.md): Drive enforcement and billing off an accurate, real-time ledger instead of a stale snapshot. - [Convert and expand users self-serve](https://docs.schematichq.com/use-cases/self-serve-checkout.md): Let customers sign up, upgrade, and add capacity without talking to sales. - [Give customers a self-service portal](https://docs.schematichq.com/use-cases/customer-portal.md): One branded place for customers to manage subscriptions, payment, invoices, and usage. - [Run free trials](https://docs.schematichq.com/use-cases/free-trials.md): Grant time-limited access and convert trial users cleanly when the trial ends. - [Price by usage](https://docs.schematichq.com/use-cases/usage-based-pricing.md): Meter consumption, enforce limits, and turn rising usage into expansion. - [Bill for usage](https://docs.schematichq.com/use-cases/usage-billing.md): Turn metered usage into accurate Stripe invoices automatically. - [Run credit-based billing](https://docs.schematichq.com/use-cases/credit-billing.md): Sell a prepaid credit balance that burns down as customers use features. - [Close custom deals](https://docs.schematichq.com/use-cases/custom-deals.md): Package bespoke pricing and entitlements for negotiated contracts without touching code. - [Run sales-assisted trials and POCs](https://docs.schematichq.com/use-cases/sales-assisted-trials.md): Grant a time-boxed, scoped evaluation tied to an open opportunity. - [Expand accounts with upsells and add-ons](https://docs.schematichq.com/use-cases/expand-accounts.md): Grow existing accounts with seats, add-ons, and tier upgrades. - [Manage exceptions with overrides](https://docs.schematichq.com/use-cases/overrides.md): Adjust a single company's access for trials, goodwill, or in-flight deals. - [Spot churn and expansion with usage signals](https://docs.schematichq.com/use-cases/usage-signals.md): Watch usage against entitlements to flag at-risk and upsell-ready accounts. - [Stay ahead of renewals and expirations](https://docs.schematichq.com/use-cases/renewals.md): Catch trials, overrides, and contracts before they lapse and access changes. - [Reprice and repackage safely](https://docs.schematichq.com/use-cases/plan-versioning.md): Roll out new pricing and packaging and migrate customers on your terms. - [Keep your billing system in sync](https://docs.schematichq.com/use-cases/stripe-sync.md): Keep entitlements and billing aligned through a native, two-way sync with Stripe or Metronome. - [Automate with webhooks and AI](https://docs.schematichq.com/use-cases/automation.md): Drive Slack, CRM, and AI-assisted workflows off Schematic events. - [Catalog Overview](https://docs.schematichq.com/catalog/overview.md): The Catalog is where plans and add ons are defined, including their entitlements and subscription lifecycle. - [Plans](https://docs.schematichq.com/catalog/plans.md): Define the base entitlement and billing configuration a company sits on, map it to Stripe products, and version it. - [Managing Company Plans](https://docs.schematichq.com/catalog/managing-company-plans.md): Move a company between plans, and see how Schematic classifies upgrades and downgrades, prorates, and defers scheduled downgrades. - [Custom Plans](https://docs.schematichq.com/catalog/custom-plans.md): Scope a negotiated plan to a single company and activate it on invoice payment instead of self-service checkout. - [Configuring the Catalog](https://docs.schematichq.com/catalog/configuration.md): Set the initial, fallback, and trial expiry plans, and choose which plans and add ons appear in checkout. - [Add Ons](https://docs.schematichq.com/catalog/add-ons.md): Sell optional modules alongside a base plan, versioned independently, with usage based entitlements that add to or override the plan. - [Trials](https://docs.schematichq.com/catalog/trials.md): Grant a plan's entitlements for a trial period, set what happens at expiry, and render trial state in your app. - [Setting up your First Plans](https://docs.schematichq.com/catalog/guides/first-plans.md): Build a free and a paid plan with two boolean features, entitle them, and reach a working checkout flow. - [Rolling Out New Plan Versions](https://docs.schematichq.com/catalog/guides/plan-versions.md): Publish a plan draft, choose which existing subscribers migrate, and watch progress on the plan's Migrations tab. - [Creating a Custom Plan](https://docs.schematichq.com/catalog/guides/custom-plans.md): Create a custom plan from a company profile, finalize it to generate the invoice, and confirm activation. - [Billing Overview](https://docs.schematichq.com/billing/overview.md): Compare the pay as you go, pay in advance, overage, and credit burndown models Schematic bills on. - [Usage Based Billing Models](https://docs.schematichq.com/billing/usage-based-billing.md): Configure pay as you go, pay in advance, overage, volume, and graduated pricing on an individual entitlement. - [Credit Burndown Billing Model](https://docs.schematichq.com/billing/credit-burndown.md): Set up credit types, credit based features, credit bundles, and auto top-up so customers draw down a credit balance. - [Seat Based Billing Models](https://docs.schematichq.com/billing/seat-based-billing.md): Bill seats with pay in advance or overage pricing, and enforce the seat limit as companies grow. - [Billing Entities](https://docs.schematichq.com/billing/billing-entities.md): Let one company pay for another company's subscription while each keeps its own plan, entitlements, and usage. - [Feature Management Overview](https://docs.schematichq.com/feature-management/overview.md): Follow how an entitlement check resolves plan entitlements, company overrides, and global rules before defaulting to off. - [Flags](https://docs.schematichq.com/feature-management/flags.md): Toggle functionality with prioritized rules evaluated against stored company context rather than context passed at runtime. - [Features](https://docs.schematichq.com/feature-management/features.md): Map your product's features to Schematic to entitlement them to plans and enforce pricing and packaging. - [Tracking Feature Usage](https://docs.schematichq.com/feature-management/feature-analytics.md): Attach a usage event to a feature so usage is attributed to it and shown on its Usage tab. - [Company Overrides](https://docs.schematichq.com/feature-management/overrides.md): Grant one company more or less of a feature than its plan allows, from the UI or the company-overrides endpoint. - [Feature Types](https://docs.schematichq.com/feature-management/feature-types.md): The 3 different types of features in Schematic -- Boolean, Trait-based, and Event-based. - [Components Overview](https://docs.schematichq.com/components/overview.md): Quickly deploy customer portals and the standalone pricing table, using Schematic's embeddable UI components and component builder. - [Customer Portal and Checkout Flow](https://docs.schematichq.com/components/customer-portal.md): See what Schematic checkout handles beyond Stripe Checkout, how it syncs subscriptions, and which lifecycle events it emits. - [Create a Component](https://docs.schematichq.com/components/create-component.md): Configure your catalog, build a customer portal in the Component Builder, and publish it for embedding. - [Add to Your App](https://docs.schematichq.com/components/set-up.md): Quickly set up pre-built, embeddable components in your application. - [Element Library](https://docs.schematichq.com/components/element-library.md): Compare the elements a component can contain, which ones need Stripe connected, and the design options each exposes. - [Advanced Usage](https://docs.schematichq.com/components/advanced-usage.md): Open checkout from your own paywall, prefill its fields, react to plan changes, and collect tax at checkout. - [Building Your Own Customer Portal](https://docs.schematichq.com/components/headless-customer-portal.md): Replace the portal component with your own UI using the hydrate, invoices, balance, and payment method endpoints. - [Standalone Components](https://docs.schematichq.com/components/standalone-components.md): Embed pricing on a public marketing page using a publishable key instead of a company scoped access token. - [Pricing Table](https://docs.schematichq.com/components/pricing-table.md): Embed a public pricing table and control its CTAs, period toggle, plan sections, and typography from code. - [Integrations](https://docs.schematichq.com/integrations/overview.md): Every system Schematic connects to, what each integration syncs, and where to set it up. - [Stripe Integration](https://docs.schematichq.com/integrations/stripe.md): Sync customers, products, and subscriptions two ways with Stripe, and see how subscription statuses map onto plans. - [Stripe App](https://docs.schematichq.com/integrations/stripe-app.md): Install the Schematic side panel inside Stripe to view a customer's plan and feature usage, and grant overrides. - [Stripe Integration Guide](https://docs.schematichq.com/integrations/stripe-integration-guide.md): Map Schematic companies, plans, add ons, and prices onto their Stripe counterparts so the two-way sync avoids duplicates. - [Stripe Advanced Use Cases](https://docs.schematichq.com/integrations/stripe-advanced-use-cases.md): Collect tax at checkout with Stripe Tax, covering jurisdiction registrations and the component settings that surface it. - [Segment Integration](https://docs.schematichq.com/integrations/segment.md): Add Schematic as a Segment destination so existing track and identify calls populate company profiles and metered features. - [Clerk Integration](https://docs.schematichq.com/integrations/clerk.md): Connect Clerk webhooks and an API key to import organizations, users, and memberships into Schematic automatically. - [WorkOS Integration](https://docs.schematichq.com/integrations/workos.md): Connect WorkOS webhooks and an API key to import organizations, users, and memberships, including migrating a manual setup. - [Auth0 Integration](https://docs.schematichq.com/integrations/auth0.md): Key Schematic companies and users by Auth0 organization and user IDs, backfill existing ones, and keep them in sync. - [Salesforce Integration](https://docs.schematichq.com/integrations/salesforce.md): Set up Salesforce named credentials and a Flow HTTP Callout that upserts companies and traits into Schematic. - [Hubspot Integration](https://docs.schematichq.com/integrations/hubspot.md): Build a HubSpot workflow with a custom code action that upserts companies and traits into the Schematic API. - [Webhooks](https://docs.schematichq.com/integrations/webhooks.md): Subscribe to Schematic's company, catalog, billing, and usage trigger events, with the SDK payload type for each. - [Plan Changed Webhook](https://docs.schematichq.com/integrations/webhooks/plan-changed.md): Read the action, cause, and plan fields on the company.plan_changed payload to tell upgrades, downgrades, and trial endings apart. - [Entitlement & Credit Trigger Webhooks](https://docs.schematichq.com/integrations/webhooks/entitlement-triggers.md): Fire webhooks when a company approaches or crosses a hard, soft, tier, or credit limit on a feature. - [Build with Schematic](https://docs.schematichq.com/developers.md): Where engineers start with Schematic: the SDK matrix, the REST API, MCP and agent tooling, sample apps, keys, and environments. - [Key Management](https://docs.schematichq.com/developer_resources/key_management.md): How Schematic uses keys to identify companies and users across your application, Stripe, and your GTM tools, and how to choose them. - [Environments](https://docs.schematichq.com/developer_resources/environments.md): Separate the Schematic resources scoped per environment from the ones shared account-wide, including API keys. - [Next.js - Weather Search App](https://docs.schematichq.com/developer_resources/sample_apps/sample_nextjs.md): A Next.js weather search app that uses Schematic with Clerk auth for entitlement checks, usage tracking, and an embedded customer portal. - [Python - Image Search App](https://docs.schematichq.com/developer_resources/sample_apps/sample_python.md): A Python image search app that uses Schematic to meter usage, check feature access, and manage the subscription lifecycle. - [Schematic SDKs](https://docs.schematichq.com/developer_resources/sdks/overview.md): Pick a Schematic SDK for your frontend or backend language, each linked to its own setup guide. - [Cross-platform Features](https://docs.schematichq.com/developer_resources/sdks/cross-platform-features.md): Get WebSocket connections, event buffering, local caching, and Replicator support automatically from every Schematic SDK. - [React](https://docs.schematichq.com/developer_resources/sdks/react.md): Use schematic-react to quickly identify users, track events, and check flags client-side in your react app with Schematic. - [React Native](https://docs.schematichq.com/developer_resources/sdks/react-native.md): Use schematic-react to quickly identify users, track events, and check flags in react-native apps with Schematic. - [Vue](https://docs.schematichq.com/developer_resources/sdks/vue.md): Use schematic-vue to quickly identify users, track events, and check flags client-side in your vue app with Schematic. - [Angular](https://docs.schematichq.com/developer_resources/sdks/angular.md): Use schematic-angular to quickly identify users, track events, and check flags client-side in your angular app with Schematic. - [Recommended Setup for Next.js](https://docs.schematichq.com/developer_resources/sdks/nextjs.md): Our recommended setup for using the Schematic React SDK with Next.js. - [JavaScript (Client-side)](https://docs.schematichq.com/developer_resources/sdks/javascript.md): Use schematic-js to quickly identify users, track events, and check flags client-side in your JavaScript app with Schematic. - [Go](https://docs.schematichq.com/developer_resources/sdks/go.md): Use schematic-go to easily implement pricing and packaging in your go app with Schematic. - [Node.js](https://docs.schematichq.com/developer_resources/sdks/nodejs.md): Use schematic-typescript-node to easily implement pricing and packaging in your node app with Schematic. - [Python](https://docs.schematichq.com/developer_resources/sdks/python.md): Use schematic-python to easily implement pricing and packaging in your python app with Schematic. - [C#](https://docs.schematichq.com/developer_resources/sdks/csharp.md): Use schematic-cs to easily implement pricing and packaging in your c# app with Schematic. - [Java](https://docs.schematichq.com/developer_resources/sdks/java.md): Use schematic-java to easily implement pricing and packaging in your java app with Schematic. - [Ruby](https://docs.schematichq.com/developer_resources/sdks/ruby.md): Use schematichq to easily implement pricing and packaging in your Ruby app with Schematic. - [Entity Relationship Diagram](https://docs.schematichq.com/developer_resources/erd.md): Trace how companies, users, plans, features, flags, and entitlements relate to each other in Schematic's data model. - [Playbooks](https://docs.schematichq.com/playbooks/overview.md): Learn how to implement common pricing models with Schematic. - [Creating a metered feature with Schematic](https://docs.schematichq.com/playbooks/metering.md): Metered features have a pre-defined limit either set globally or on a per-company basis. This is a common packaging model and is often paired with boolean features. - [Backfills and usage corrections](https://docs.schematichq.com/playbooks/backfill-and-corrections.md): Submit events with client-provided timestamps to import historical usage or correct events that arrive after the fact. - [Rolling out beta functionality with Flags](https://docs.schematichq.com/playbooks/rollout.md): Tag beta customers with a company trait, target them with flag rules, then promote the flag to a plan entitlement. - [Handling customer exceptions and feature trials](https://docs.schematichq.com/playbooks/exceptions.md): Handle sales-led deals, feature trials, and testing that fall outside your packaged plans using time-limited company overrides. - [Automatically provision customers using Stripe](https://docs.schematichq.com/playbooks/provisioning.md): Map Stripe products to Schematic plans with plan audiences so new subscriptions provision entitlements without manual assignment. - [Build a slack webhook](https://docs.schematichq.com/playbooks/slack-webhook.md): Point a Schematic webhook endpoint at a Slack workflow so company created and deleted events post to a channel. - [Availability](https://docs.schematichq.com/production_readiness/availability.md): Compare built-in caching, the Replicator, SDK fallbacks, and a self-hosted cache as ways to keep flag checks serving. - [Observability & Support](https://docs.schematichq.com/production_readiness/observability.md): Trace events, flag evaluations, and the audit log in Schematic, and find the channels for reporting a bug. - [Security](https://docs.schematichq.com/production_readiness/security.md): Review Schematic's SOC 2 status, encryption, key scoping, application security testing, SSO, and incident response. - [Roles & Permissions](https://docs.schematichq.com/production_readiness/roles-and-permissions.md): Assign the Admin or Member role, then scope a member's permissions per account resource and per environment. - [Troubleshooting](https://docs.schematichq.com/troubleshooting/overview.md): Find the fix for a broken-state problem in Schematic, organized by the symptom you are seeing rather than by the subsystem it came from. - [Commonly Seen Issues (and how to fix them)](https://docs.schematichq.com/integrations/stripe-troubleshooting.md): Fix common Stripe pitfalls including a missing Change Plan button, blocked plan changes, and invoice emails that never arrive. - [AI Tooling](https://docs.schematichq.com/for-developers.md): Connect AI coding assistants to Schematic through the AI skills repos, the hosted MCP server, and the Claude plugin. - [Resources](https://docs.schematichq.com/api-reference/resources.md): Index of every Schematic REST resource and its endpoints, grouped by object. - [Authentication](https://docs.schematichq.com/api-reference/authentication.md): Authenticate Schematic API requests with environment-scoped secret and publishable keys, and know which key belongs on the server and which can ship to the client. - [Pagination](https://docs.schematichq.com/api-reference/pagination.md): Page through Schematic list endpoints using the limit and offset parameters. - [Rate limiting](https://docs.schematichq.com/api-reference/rate_limiting.md): Rate limits for the Schematic API, split between the low-latency application hot path and the core resource management tier. - [The Plan object](https://docs.schematichq.com/api-reference/plans/the-plan-object.md): Reference for the Plan object, covering its attributes and how plans are associated with companies through plan audiences. - [The Company object](https://docs.schematichq.com/api-reference/companies/the-company-object.md): Reference for the Company object, including its attributes, keys, and traits, and how companies are created and updated through the API. - [The User object](https://docs.schematichq.com/api-reference/companies/the-user-object.md): Reference for the User object, including its attributes, keys, and traits, and how users are created and updated through the API. - [The Event object](https://docs.schematichq.com/api-reference/events/the-event-object.md): Reference for the Event object, covering identify and track events, their attributes, and how usage reaches Schematic. - [The Feature object](https://docs.schematichq.com/api-reference/features/the-feature-object.md): Reference for the Feature object, covering boolean and metered feature types and how features reach companies through plan entitlements. - [The Flag object](https://docs.schematichq.com/api-reference/features/the-flag-object.md): Reference for the Flag object, covering its attributes and the rules that target flags at companies and users. ## API Docs - API Reference > API Keys [List api keys](https://docs.schematichq.com/api-reference/accounts/list-api-keys.md) - API Reference > API Keys [Get api key](https://docs.schematichq.com/api-reference/accounts/get-api-key.md) - API Reference > API Keys [Create api key](https://docs.schematichq.com/api-reference/accounts/create-api-key.md) - API Reference > API Keys [Update api key](https://docs.schematichq.com/api-reference/accounts/update-api-key.md) - API Reference > API Keys [Delete api key](https://docs.schematichq.com/api-reference/accounts/delete-api-key.md) - API Reference > Environments [Create environment](https://docs.schematichq.com/api-reference/accounts/create-environment.md) - API Reference > Environments [Update environment](https://docs.schematichq.com/api-reference/accounts/update-environment.md) - API Reference > Environments [Delete environment](https://docs.schematichq.com/api-reference/accounts/delete-environment.md) - API Reference > Plans [List plans](https://docs.schematichq.com/api-reference/plans/list-plans.md) - API Reference > Plans [Get plan](https://docs.schematichq.com/api-reference/plans/get-plan.md) - API Reference > Plans [Create plan](https://docs.schematichq.com/api-reference/plans/create-plan.md) - API Reference > Plans [Update plan](https://docs.schematichq.com/api-reference/plans/update-plan.md) - API Reference > Plans [Delete plan](https://docs.schematichq.com/api-reference/plans/delete-plan.md) - API Reference > Companies [List companies](https://docs.schematichq.com/api-reference/companies/list-companies.md) - API Reference > Companies [Upsert company](https://docs.schematichq.com/api-reference/companies/upsert-company.md) - API Reference > Companies [Lookup company](https://docs.schematichq.com/api-reference/companies/lookup-company.md) - API Reference > Companies [Delete company](https://docs.schematichq.com/api-reference/companies/delete-company.md) - API Reference > Companies [Delete company by keys](https://docs.schematichq.com/api-reference/companies/delete-company-by-keys.md) - API Reference > Companies [List company memberships](https://docs.schematichq.com/api-reference/companies/list-company-memberships.md) - API Reference > Companies [Get or create company membership](https://docs.schematichq.com/api-reference/companies/get-or-create-company-membership.md) - API Reference > Companies [Delete company membership](https://docs.schematichq.com/api-reference/companies/delete-company-membership.md) - API Reference > Companies [Upsert company trait](https://docs.schematichq.com/api-reference/companies/upsert-company-trait.md) - API Reference > Users [List users](https://docs.schematichq.com/api-reference/companies/list-users.md) - API Reference > Users [Lookup user](https://docs.schematichq.com/api-reference/companies/lookup-user.md) - API Reference > Users [Upsert user](https://docs.schematichq.com/api-reference/companies/upsert-user.md) - API Reference > Users [Delete user](https://docs.schematichq.com/api-reference/companies/delete-user.md) - API Reference > Users [Delete user by keys](https://docs.schematichq.com/api-reference/companies/delete-user-by-keys.md) - API Reference > Users [Upsert user trait](https://docs.schematichq.com/api-reference/companies/upsert-user-trait.md) - API Reference > Events [List events](https://docs.schematichq.com/api-reference/events/list-events.md) - API Reference > Events [Create event](https://docs.schematichq.com/api-reference/events/create-event.md) - API Reference > Events [Create event batch](https://docs.schematichq.com/api-reference/events/create-event-batch.md) - API Reference > Events [Get event](https://docs.schematichq.com/api-reference/events/get-event.md) - API Reference > Features [List features](https://docs.schematichq.com/api-reference/features/list-features.md) - API Reference > Features [Get feature](https://docs.schematichq.com/api-reference/features/get-feature.md) - API Reference > Features [Create feature](https://docs.schematichq.com/api-reference/features/create-feature.md) - API Reference > Features [Update feature](https://docs.schematichq.com/api-reference/features/update-feature.md) - API Reference > Features [Delete feature](https://docs.schematichq.com/api-reference/features/delete-feature.md) - API Reference > Flags [List flags](https://docs.schematichq.com/api-reference/features/list-flags.md) - API Reference > Flags [Get flag](https://docs.schematichq.com/api-reference/features/get-flag.md) - API Reference > Flags [Create flag](https://docs.schematichq.com/api-reference/features/create-flag.md) - API Reference > Flags [Update flag](https://docs.schematichq.com/api-reference/features/update-flag.md) - API Reference > Flags [Delete flag](https://docs.schematichq.com/api-reference/features/delete-flag.md) - API Reference > Flags [Update flag rules](https://docs.schematichq.com/api-reference/features/update-flag-rules.md) - API Reference > Flags [Check flag](https://docs.schematichq.com/api-reference/features/check-flag.md) - API Reference > Flags [Check flags](https://docs.schematichq.com/api-reference/features/check-flags.md) - API Reference > Entitlements [List company overrides](https://docs.schematichq.com/api-reference/entitlements/list-company-overrides.md) - API Reference > Entitlements [Get company override](https://docs.schematichq.com/api-reference/entitlements/get-company-override.md) - API Reference > Entitlements [Create company override](https://docs.schematichq.com/api-reference/entitlements/create-company-override.md) - API Reference > Entitlements [Update company override](https://docs.schematichq.com/api-reference/entitlements/update-company-override.md) - API Reference > Entitlements [Delete company override](https://docs.schematichq.com/api-reference/entitlements/delete-company-override.md) - API Reference > Entitlements [List plan entitlements](https://docs.schematichq.com/api-reference/entitlements/list-plan-entitlements.md) - API Reference > Entitlements [Get plan entitlement](https://docs.schematichq.com/api-reference/entitlements/get-plan-entitlement.md) - API Reference > Entitlements [Create plan entitlement](https://docs.schematichq.com/api-reference/entitlements/create-plan-entitlement.md) - API Reference > Entitlements [Update plan entitlement](https://docs.schematichq.com/api-reference/entitlements/update-plan-entitlement.md) - API Reference > Entitlements [Delete plan entitlement](https://docs.schematichq.com/api-reference/entitlements/delete-plan-entitlement.md) - API Reference > Feature Usage [List feature usage](https://docs.schematichq.com/api-reference/entitlements/list-feature-usage.md) - API Reference > Billing Credits [List credits](https://docs.schematichq.com/api-reference/billing-credits/list-billing-credits.md) - API Reference > Billing Credits [Create credit](https://docs.schematichq.com/api-reference/billing-credits/create-billing-credit.md) - API Reference > Billing Credits [Get credit](https://docs.schematichq.com/api-reference/billing-credits/get-single-billing-credit.md) - API Reference > Billing Credits [Update credit](https://docs.schematichq.com/api-reference/billing-credits/update-billing-credit.md) - API Reference > Billing Credits [Delete credit](https://docs.schematichq.com/api-reference/billing-credits/soft-delete-billing-credit.md) - API Reference > Billing Credits [List credit bundles](https://docs.schematichq.com/api-reference/billing-credits/list-credit-bundles.md) - API Reference > Billing Credits [Create credit bundle](https://docs.schematichq.com/api-reference/billing-credits/create-credit-bundle.md) - API Reference > Billing Credits [Get credit bundle](https://docs.schematichq.com/api-reference/billing-credits/get-credit-bundle.md) - API Reference > Billing Credits [Update credit bundle](https://docs.schematichq.com/api-reference/billing-credits/update-credit-bundle-details.md) - API Reference > Billing Credits [Delete credit bundle](https://docs.schematichq.com/api-reference/billing-credits/delete-credit-bundle.md) - API Reference > Billing Credits [Grant credits to company](https://docs.schematichq.com/api-reference/billing-credits/grant-billing-credits-to-company.md) - API Reference > Billing Credits [List company credit grants](https://docs.schematichq.com/api-reference/billing-credits/list-company-grants.md) - API Reference > Billing Credits [List credit grants](https://docs.schematichq.com/api-reference/billing-credits/list-grants-for-credit.md) - API Reference > Billing Credits [Zero out credit grant](https://docs.schematichq.com/api-reference/billing-credits/zero-out-grant.md) - API Reference > Billing Credits [List plan credit grants](https://docs.schematichq.com/api-reference/billing-credits/list-billing-plan-credit-grants.md) - API Reference > Billing Credits [Create plan credit grant](https://docs.schematichq.com/api-reference/billing-credits/create-billing-plan-credit-grant.md) - API Reference > Billing Credits [Delete plan credit grant](https://docs.schematichq.com/api-reference/billing-credits/delete-billing-plan-credit-grant.md) - API Reference > Billing Credits [Get credit ledger](https://docs.schematichq.com/api-reference/billing-credits/get-credit-ledger.md) - API Reference > Account Members [List account members](https://docs.schematichq.com/api-reference/accounts/list-account-members.md) - API Reference > Account Members [Get account member](https://docs.schematichq.com/api-reference/accounts/get-account-member.md) ## OpenAPI Specification The raw OpenAPI 3.1 specification for this API is available at: - [OpenAPI JSON](https://docs.schematichq.com/openapi.json) - [OpenAPI YAML](https://docs.schematichq.com/openapi.yaml)