Base URL and auth
TypeScript SDK
Conventions
- Async: generation endpoints smart-wait, then return an
outputIdto poll atGET /studio/generate/{outputId}. - Chaining: references accept a raw URL or an output-id token
<uuid>-<N>. - Cost preflight: generation accepts a cost-only mode (
getCost: true) that charges nothing. - Scopes: keys are scope-gated; a
403names the missing scope. See API Keys. - Rate limits: per-key, returning
429when exceeded. - Idempotency: a client-supplied
outputIdbecomes the generation id, so a retried request returns the same job and does not double-charge.
By domain
Generate
Library
Pipeline
Brand
Inspiration
Editor
Account
The endpoint tables on these pages are generated from the route contract, so every method, path and scope is checked against the route code before a release. Request fields come from the same contract. For the full shape of an answer, see the SDK types, and
contenthero schema get commands dumps every command’s input schema from the CLI.