Copy into your AI agent
What the API covers
The live OpenAPI explorer contains every route and generated request schema. This guide explains the main objects and gives you complete working paths through the product.
Base URL
All API requests begin with:/api. Endpoint paths in this reference begin with /, so the authentication check resolves to:
Create an API key
Create a Personal Access Token in Settings → Account → API Access Tokens. Tokens begin withpat_ and are shown once.
Use a read-write token for uploads, parsing, edits, and other mutations. A read-only token can safely power an agent, reporting job, or data warehouse sync.
The UI calls this an API Access Token. The credential is a Personal Access Token, or PAT. It is the API key used in every example here.
Make your first request
CallGET /auth/me before doing any work. It returns the user and organization attached to the token, confirming the host, final /api, authorization header, and organization scope in one request.
Get one deal through the API
POST /submit-book is the shortest path from files to a parsed Book. It creates the Book, uploads every file in the multipart request, and starts parsing. This Python example waits for completion and reads the simple account-first bank statement result.
Understand the result
There are four useful views of a parsed bank-statement Book. They serve different jobs.
The Books reference defines the complete Book and canonical raw MCA models. The Analytics reference defines the full computed response, including its nested transaction, position, and screening models.
Main references
Submit a Book
Upload a complete deal package and start parsing in one request.
Documents and parsing
Create a Book, upload documents, and control parsing as separate calls.
Books
Read status, provenance, raw parser output, and the canonical bank result.
Analytics
Read computed bank metrics, transactions, debt positions, and screening results.
Exports
Download CSV, choose an Excel template, or fetch an embeddable spreadsheet URL.
Embed
Render one read-only Book inside your application.
Request conventions
- Send the PAT in
Authorization: Bearer <token>. - Send JSON for normal request bodies and multipart form data for file uploads.
- Dates are ISO strings. Parser dates use
YYYY-MM-DD. Timestamps include a timezone. - Currency values are JSON numbers in dollars.
- JSON endpoints return the response body directly, without an outer
dataenvelope. - Error responses use
{"detail": "..."}. Validation failures return a structured list indetail.
429. Parsing runs asynchronously, so submission and parse-start requests return before the work is complete.