HTTP API reference

This reference is generated from the same code-owned registry as /openapi.json. It covers every operation in that public document, including response bodies and errors. Each operation has its own page and Markdown mirror. The command reference and report reference explain each operation variant in detail. Download the full Markdown export.

For an end-to-end call, use the direct API walkthrough. For the model behind the fields, read concepts. Authentication and recovery explain the shared request rules.

This public contract grants no access. Obtain a bearer for the OAuth resource https://economi.co/mcp, select a business with X-Economico-Business, and use GET /v1/openapi.json to discover that connection’s permitted operations. Commands marked browser require a signed-in human. Never paste credentials into documentation prompts. Practice writes only in a disposable sandbox.

Agents: use the agent entry point and agent concepts. For POST /v1/commands, choose the request variant whose name constant is the command you need. Describe it through GET /v1/catalog/commands/{name} first. For POST /v1/reports, choose the variant whose kind constant matches the report. Resolve local $ref values in the reusable schemas below. Keep exact integer-string amounts and stable idempotency keys.

HTTP operations

Reusable schemas

Navigate documentation