Legal
The `hanzo legal` commands.
Also for this capability: API · CLI · MCP · SDKs
The paperwork your company needs, drafted, signed and filed.
hanzo legal documents listEvery 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 legal health | Reports that the legal subsystem is serving and how many built-in templates its catalog carries. |
documents
| Command | What it does |
|---|---|
hanzo legal documents create | Renders a document from a template and the caller's own merge data, seals it in the org's store, and returns it with… |
hanzo legal documents get <id> | Returns one of the org's documents WITH its rendered body. |
hanzo legal documents list | Returns the org's generated documents, newest first, WITHOUT their rendered content — fetch one document to read its… |
hanzo legal documents sign complete <id> | Record that a generated document's signature request completed |
hanzo legal documents sign create <id> | Opens an e-signature request over one document and moves it to out_for_signature, returning the provider's reference… |
filings
| Command | What it does |
|---|---|
hanzo legal filings create | Records a filing of one or more of the org's documents with a state or agency, and returns the tracking record. |
hanzo legal filings get | Returns the org's filing records, newest first — which documents were filed where, through which provider, and what the… |
templates
| Command | What it does |
|---|---|
hanzo legal templates get <id> | Returns one template resolved for the caller's org — the org's own override if it has saved one, else the built-in —… |
hanzo legal templates list | Returns the org's effective template catalog: every built-in template, with any the org has overridden replaced by its… |
hanzo legal templates set <id> | Saves the org's own version of a template — a custom NDA, a house MSA — and returns it with its new version number. |
How is this guide?