Generated Reference
What the published OpenAPI document describes, rendered in full — and what it does not.
Generated Reference
These pages are generated from CodeSpar's published OpenAPI document — the same one served at https://api.codespar.dev/openapi.json without a credential — and cover all 213 operations it describes, across 46 resource groups.
What this is not
It is not the whole product surface. The OpenAPI document describes part of the API, and this reference is complete only with respect to that document. Anything the document does not describe is absent here — silently, because a generator cannot report what its input never mentioned. When you cannot find an operation on these pages, the right conclusion is "the spec does not describe it yet", not "it does not exist".
The hand-written pages under API Reference are the other half. They carry narrative, field rules, and worked flows, and several of them document surfaces the spec has never described. Neither set replaces the other, and the generated ones never overwrite the written ones — they live in this subtree for exactly that reason.
About the examples
Every example on these pages is synthesised from the schema, not captured from a real call. The published document carries no example values, so what you see is a body of the right SHAPE with placeholder contents: the field names, the nesting and the enum choices are real, the values are not. Ids are shown with this product's own prefixes so the shape reads correctly, but no id here ever existed.
Use them to see which field goes where. Do not use them as fixtures, and do not read a value as a supported one unless it comes from an enum, which the field tables mark.
How it stays current
Pages are generated from a snapshot committed at scripts/api-reference/openapi-snapshot.json, not from the live endpoint, so the freshness check runs without a network call and cannot pass because a proxy answered. Refreshing the snapshot is a separate, reviewable commit.
Spec version at generation time: 0.3.0.
Pages
- Well-known documents — 2 operations
- Account Applications — 1 operations
- Agents — 4 operations
- Approvals — 3 operations
- Audit — 1 operations
- Audit Events — 6 operations
- Bank Consents — 1 operations
- Cards — 1 operations
- Cart — 2 operations
- Commerce Memory — 12 operations
- Connect — 1 operations
- Connections — 10 operations
- Consent Records — 1 operations
- Consumers — 22 operations
- Counterparties — 3 operations
- Discovery — 1 operations
- Evaluations — 1 operations
- Events — 1 operations
- Facilitator — 2 operations
- Funding Sources — 1 operations
- Generate — 1 operations
- Health — 1 operations
- Issuer — 1 operations
- KYC — 1 operations
- Mandates — 5 operations
- MCP Servers — 8 operations
- Meta Tools — 1 operations
- OAuth — 4 operations
- OFB — 5 operations
- Spec — 2 operations
- Organizations — 1 operations
- Orgs — 15 operations
- Payment Links — 5 operations
- Paywalls — 4 operations
- Policies — 6 operations
- Policy Evaluations — 1 operations
- Projects — 8 operations
- Providers — 4 operations
- Sellers — 6 operations
- Servers — 4 operations
- Sessions — 12 operations
- Tool Calls — 6 operations
- Triggers — 10 operations
- Wallets — 15 operations
- Webhook Endpoints — 10 operations
- Whoami — 1 operations
- Schemas