Playbook/Graph API

Graph API

The portfolio is itself a queryable API — read-only, versioned, CORS-open. This page is derived from the same Zod schemas that validate the graph; it cannot drift from the data.

Endpoints

GET/api/graphFull ratified graph in a versioned envelope.
GET/api/graph?q=kind:Venture,Capability edge:demonstratesAny GQL-lite query the explorer can run — same compiler, same results.
GET/api/graph?focus=v_arctic&depth=2Ego network of a node, expanded N hops (max 4).

GQL-lite terms

kind:Venture,Capability — restrict node kinds
edge:built_with,reuses — restrict edge kinds
tag:ai — require a tag
conf>0.8 — minimum declared confidence
focus:<node-id> depth:2 — ego network, N hops
free text — matches label / summary / tags

Node kinds · 22

RepoServiceModuleSymbolEndpointContractDependencyCommitChangeDecisionPrincipleRiskMitigationPersonConceptDocVentureCapabilityStackIntegrationOutcomeEmployer

Edge kinds · 19

depends_oncallsimplementsownsauthoredderives_fromsupersedesmitigatesviolatesreferencesevolved_intocontainsbuilt_withdemonstratesreusesintegratesacquired_byinformed_bydelivered_at