{"name":"legal","stage":"ga","description":"Package legal is the paperwork your company needs, drafted, signed and filed.","operations":[{"operationId":"get_legal_documents","method":"GET","href":"/v1/legal/documents","summary":"Returns the org's generated documents, newest first, WITHOUT their rendered content — fetch one document to read its body."},{"operationId":"post_legal_documents","method":"POST","href":"/v1/legal/documents","summary":"Renders 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."},{"operationId":"get_legal_documents_by_id","method":"GET","href":"/v1/legal/documents/{id}","summary":"Returns one of the org's documents WITH its rendered body."},{"operationId":"post_legal_documents_by_id_sign","method":"POST","href":"/v1/legal/documents/{id}/sign","summary":"Opens an e-signature request over one document and moves it to out_for_signature, returning the provider's reference for the request."},{"operationId":"post_legal_documents_by_id_sign_complete","method":"POST","href":"/v1/legal/documents/{id}/sign/complete","summary":"Record that a generated document's signature request completed"},{"operationId":"get_legal_filings","method":"GET","href":"/v1/legal/filings","summary":"Returns the org's filing records, newest first — which documents were filed where, through which provider, and what the filing's honest status is."},{"operationId":"post_legal_filings","method":"POST","href":"/v1/legal/filings","summary":"Records a filing of one or more of the org's documents with a state or agency, and returns the tracking record."},{"operationId":"get_legal_health","method":"GET","href":"/v1/legal/health","summary":"Reports that the legal subsystem is serving and how many built-in templates its catalog carries."},{"operationId":"get_legal_templates","method":"GET","href":"/v1/legal/templates","summary":"Returns the org's effective template catalog: every built-in template, with any the org has overridden replaced by its own latest version."},{"operationId":"get_legal_templates_by_id","method":"GET","href":"/v1/legal/templates/{id}","summary":"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."},{"operationId":"put_legal_templates_by_id","method":"PUT","href":"/v1/legal/templates/{id}","summary":"Saves the org's own version of a template — a custom NDA, a house MSA — and returns it with its new version number."}],"_links":{"describedby":{"href":"/v1/openapi.json?capability=legal"},"self":{"href":"/v1/legal"},"up":{"href":"/v1"}}}