AntflyAntfly

Antfly Public API

Antfly is a database with the retrieval pipeline built in. Tables carry full-text, vector, graph, algebraic, and relational indexes side by side, and the models that chunk, embed, rerank, and extract run inside the engine. It runs embedded, as a single standalone node, or as a distributed cluster built on a multi-Raft consensus architecture.

Create a table, insert a document, and search it. Every other endpoint builds on these three.

curl -X POST http://localhost:8080/db/v1/tables/knowledge \
  -H "Content-Type: application/json" \
  -d '{}'

curl -X POST http://localhost:8080/db/v1/tables/knowledge/batch \
  -H "Content-Type: application/json" \
  -d '{"inserts":{"doc-1":{"content":"Antfly keeps the retrieval pipeline inside the engine."}},"sync_level":"full_text"}'

curl -X POST http://localhost:8080/db/v1/query \
  -H "Content-Type: application/json" \
  -d '{"table":"knowledge","full_text_search":{"query":"content:pipeline"},"fields":["content"],"limit":5}'