Shapes
WarmHub does not currently mount REST endpoints under /api/graphs/:orgName/:graphName/shapes.
Use these supported surfaces instead:
| Task | Surface |
|---|---|
| Read graph data filtered by shape | GET /api/graphs/:orgName/:graphName/head?shape=... or GET /api/graphs/:orgName/:graphName/query?shape=... |
| Create, revise, or retract shapes | SDK commit APIs, wh commit submit, or warmhub_thing_create and the other write tools |
| Manage shapes with higher-level helpers | SDK shape APIs or wh shape |
Shape writes are graph data writes. They flow through the same operation pipeline as thing and assertion writes, so they share the same validation, history, and per-operation result contract across CLI, SDK, and MCP. See Atomicity for the full contract.