Skip to documentation
OriginChainDB Docs
Ask AI
Queries
how-to · query

Query data

Choose SQL, vector, graph, full-text, or natural-language queries to retrieve the data your application needs.

Each shape gets its own reference page below. The HTTP API reference lists every endpoint in one place. SDKs (Python, TypeScript, Go) wrap each one.

Shared mechanics.

Every shape compiles to a JSON-serialisable Plan tree, cached by question hash, replayable. ?explain=true on any read endpoint returns the executed plan annotated with per-node row counts and µs timings. Cancel an in-flight plan with the ULID handed back in X-OC-Query-Id.

The operator catalog is Scan, IndexScan, Filter, HashJoin, OuterJoin, Aggregate, Sort, Limit, and RelationHop.