Graph
The hanzo graph commands.
Also for this capability: API · CLI · MCP · SDKs
One organization's entities and the relations between them, held as assertions: somebody, at some moment, from some evidence, asserted that this thing stands in that relation to that other thing.
hanzo graph getEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
| Command | What it does |
|---|---|
hanzo graph answer | Answers a question from the whole graph and cites the assertions it rests on. |
hanzo graph communities | Partitions the edge graph into sets of entities more densely connected to each other than to the rest. |
hanzo graph create | Records a batch of assertions and counts what became of each. |
hanzo graph diff | Reports what came into force, was superseded and was retracted between two points. |
hanzo graph erase | Removes every assertion that names an entity and returns a receipt. |
hanzo graph extract | Reads the relations a source states and returns them, recording nothing. |
hanzo graph get | Lists the assertions recorded, every version, oldest first. |
hanzo graph graphql | Ask the graph in one request, traversing. |
hanzo graph ingest | Reads a source and records what it states, through the same admission as assert. |
hanzo graph neighbors | Walks the in-force edges from a set of seeds and lists every entity reached, bounded. |
hanzo graph path | Finds the shortest chain of in-force edges from one entity to another. |
hanzo graph resolve | Answers what holds for one entity and relation at a point, winner first, with every weaker account that disagreed. |
hanzo graph search | Finds assertions by their words, where read finds them by their keys, best match first. |
hanzo graph vocabulary | Lists the relations in use, the schema declared for them and the rule that settles a conflict. |
Was this page useful?