OriginChain docs
examples · graph

Graph examples

← All examples

7 graph examples, each on its own page. Every example has the request, the response shape, side-by-side cURL / Python / TypeScript / Go, and notes on common mistakes.

7 work today. All seven endpoints land on the same adjacency substrate - they differ only in the traversal shape and what they return.

prerequisite

Every endpoint below requires a [[relations]] block on the schema - the relation must be declared before any traversal can resolve. See schemas/reference#relations for the shape. Without a matching relation, the engine returns 404.