Skip to main content
Base URL https://app.contenthero.ai/api/v1. All endpoints take a bearer API key. The tables on this page are generated from the route contract: the Scope column is the scope the key needs, and None means any valid key.

Your account

PATCH /account sets spendCap, the monthly spend cap in credits (null removes it). That field needs the billing:write scope and the account’s owner.
Body
GET /status/{id} is the one place to follow any background job: pass the id the starting call returned.
Query
Query

Cost preflight

There is no separate pricing endpoint. Every generation can be previewed for free by passing getCost: true (SDK and MCP) or --cost (CLI) on the generate call. The preflight takes the same parameters as the real call, so the quote matches the charge. See Account & Billing.

Usage attribution

Spends made with an API key are attributed to that key. Per-key usage is visible in the API Keys view in the app.