Atomic multi-shape writes
← All examples5 recipes for writing the same logical object across multiple shapes - row, vector, full-text index, graph edge. Each recipe is on its own page with the schema TOML, the separate API calls, side-by-side cURL / Python / TypeScript / Go, and the common mistakes.
There is no single "write everything" endpoint. Each shape has its own call - /rows, /vector, /fts - and each call is atomic by itself. The SDKs auto-attach an Idempotency-Key on every mutating call, so if one of the three fails you can retry just that one without re-writing the others.
The differentiator. One product written as a row, a similarity vector, a BM25 full-text index, and a supplier edge declared by the schema.
RAG and help-center search. Row plus an embedding of the body plus a keyword index on the body. No graph.
Profile row, profile embedding for similar-user lookup, and a follows self-relation that writes both directions.
Simplest atomic write. Append-only event row plus a free-text index over the payload for compliance search.
Long-term memory for agents. Row, embedding with agent_id + session_id metadata, and a keyword index over the text.