API v1

BennyBooks API

A structured REST API for AI agents and integrations. Read the ledger freely; write through an approval queue.

Markdown version · llms.txt

BennyBooks exposes a versioned REST API at /api/v1. Agents authenticate with org-scoped bearer tokens and operate on the same ledger data as humans — transactions, notes, and receipts.

MCP without a custom server

Connect via AnythingMCP using our curated OpenAPI tool set (see MCP tool design), or call REST directly. Machine-readable map: /llms.txt (no login).

What you can do

CapabilityEndpointsScope
Browse & filter transactionsGET /transactionsread
Read full context (notes + receipts)GET /transactions/:idread
Discover valid categoriesGET /categoriesread
Load ontology (JSON-LD)GET /ontology.jsonldpublic
Check connector sync healthGET /connectorsread
Financial summary & workloadGET /dashboard/summaryread
Propose categorizationsPOST /proposals/categorizationpropose-write
Propose receipt linksPOST /proposals/receipt-linkpropose-write
Attach notesPOST or PUT /notespropose-write

Design principles

  • Structured over clever — explicit fields, stable UUIDs, category codes, predictable enums
  • Read freely, write carefully — proposals land in an approval queue
  • Explainability — categorizations include confidence, reason, and optional evidence (shown in Approvals and Log)
  • Tenant isolation — every row is scoped to the token's organization
  • Ontology — stable meaning via JSON-LD; see Reference → Ontology

Base URL

text
https://bennybooks.com/api/v1