Query examples.
Copy-paste JSON for every common query against OriginChain. Each example is the full request body plus the full response shape — no chrome, no abridged snippets. Pick a shape and the example you need.
- Get your bearer from /app/keys.
- Get your engine endpoint from /app/instances.
- Pick an example below and paste the curl body into your terminal.
Nineteen JSON requests covering predicates, joins, aggregates, multi-row inserts, and bound parameters. Every example pairs the curl body with the row JSON the engine returns.
Twelve copy-paste calls for HNSW. Default high_recall hits recall@10 = 0.96 at 100k vectors with p99 109 ms; fast mode runs p99 37 ms at recall 0.69.
Ten BM25 examples — boolean AND/OR/NOT, phrase match, ranked retrieval, and per-language Snowball stemming with the full supported language list.
Twelve graph traversals on direction-tagged relation keys. Forward and reverse adjacency, depth-bounded BFS, existence checks, weighted shortest path.
Eight English-to-SQL calls. Each response carries the compiled plan and the executed SQL, so the planner is never a black box. Repeat questions hit the plan cache at p99 < 50 ms.
Five recipes that write a row, its embedding, its full-text document, and its graph edges in a single atomic request. One fsync, one write path, one bearer.
Nineteen error responses with the request that triggers each one. Canonical error body shape, including addon-required, rate-limit Retry-After, and OCC write-write conflict.