Skip to content

OpenAPI

The public API is described by a generated OpenAPI document published from the same contract package that powers the reference pages and first-party tooling.

  curl https://docs.duitmyself.com/openapi.json \
-o duitmyself-openapi.json
Terminal window
pnpm add @duitmyself/api-contract
  • generate internal API clients
  • import into API tools such as Postman, Bruno, or Insomnia
  • validate request and response shapes in tests
  • power custom agent or integration tooling
  • production-focused server metadata
  • resource schemas for accounts, categories, payees, transactions, and bootstrap context
  • write-specific request bodies and upsert response envelopes
  • shared error payload format
  • Use Quickstart when you want a first working request.
  • Use API reference when you want per-resource examples and schemas.
  • Use MCP server if you prefer first-party tooling over raw HTTP.