FiniDB HTTP API

Hosted base URL: /db/<project>/… with Authorization: Bearer <project token>. Local: http://127.0.0.1:7407/db/<db>/…. Machine-readable: openapi.json. Push is Server-Sent Events on /subscribe.

get/dbList databases
post/dbCreate a database
post/db/{db}/applyApply a batch of commands atomically
post/db/{db}/queryRead a grid
post/db/{db}/explainExplain one cell
get/db/{db}/describeCompact model summary for agents
get/db/{db}/specFull model spec
get/db/{db}/errorsCells in error
get/db/{db}/coverageWhich rule governs how many cells of a line item
get/db/{db}/statsEngine statistics
post/db/{db}/parse_formulaParse a formula into its AST (no schema binding)
post/db/{db}/validate_formulaCompile a formula against a module without applying it
post/db/{db}/importImport CSV (text/csv body) or JSON rows into a table
get/db/{db}/exportExport spec (json) or a grid (csv)
post/db/{db}/recomputeDiscard the computed cache and recalculate every cell (then save)
post/db/{db}/saveForce a save
get/db/{db}/subscribeServer-Sent Events for a query window: snapshot, delta, layout, error