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.

API reference →

hanzo graph get

Every 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.

CommandWhat it does
hanzo graph answerAnswers a question from the whole graph and cites the assertions it rests on.
hanzo graph communitiesPartitions the edge graph into sets of entities more densely connected to each other than to the rest.
hanzo graph createRecords a batch of assertions and counts what became of each.
hanzo graph diffReports what came into force, was superseded and was retracted between two points.
hanzo graph eraseRemoves every assertion that names an entity and returns a receipt.
hanzo graph extractReads the relations a source states and returns them, recording nothing.
hanzo graph getLists the assertions recorded, every version, oldest first.
hanzo graph graphqlAsk the graph in one request, traversing.
hanzo graph ingestReads a source and records what it states, through the same admission as assert.
hanzo graph neighborsWalks the in-force edges from a set of seeds and lists every entity reached, bounded.
hanzo graph pathFinds the shortest chain of in-force edges from one entity to another.
hanzo graph resolveAnswers what holds for one entity and relation at a point, winner first, with every weaker account that disagreed.
hanzo graph searchFinds assertions by their words, where read finds them by their keys, best match first.
hanzo graph vocabularyLists the relations in use, the schema declared for them and the rule that settles a conflict.
Was this page useful?