Legal

The hanzo legal commands.

Also for this capability: API · CLI · MCP · SDKs

The paperwork your company needs, drafted, signed and filed.

API reference →

hanzo legal documents list

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 legal healthReports that the legal subsystem is serving and how many built-in templates its catalog carries.

Documents

CommandWhat it does
hanzo legal documents createRenders a document from a template and the caller's own merge data, seals it in the org's store, and returns it with its rendered body.
hanzo legal documents get <id>Returns one of the org's documents WITH its rendered body.
hanzo legal documents listReturns the org's generated documents, newest first, WITHOUT their rendered content — fetch one document to read its body.
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 for the request.

Filings

CommandWhat it does
hanzo legal filings createRecords a filing of one or more of the org's documents with a state or agency, and returns the tracking record.
hanzo legal filings getReturns the org's filing records, newest first — which documents were filed where, through which provider, and what the filing's honest status is.

Templates

CommandWhat 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 — with its full text/template body and its declared merge fields.
hanzo legal templates listReturns the org's effective template catalog: every built-in template, with any the org has overridden replaced by its own latest version.
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.
Was this page useful?