Before you start
You need:- the Neuron host;
- an Agent API account and JWT from the Agent API quickstart;
- a current approved Legal Identity for operations that require one;
- valid template XML, normally prepared in LegalLab.
Path A: propose your template
Base64-encode the complete UTF-8 XML file as one string:Template; record its id. A proposed template must be approved before it can create instances.
Path B: create from an approved template
If the operator has already supplied an approved template ID, you can begin here:Parts and Parameters with the names and value types defined by that template. The response contains the created Contract.
An empty
Parts or Parameters array works only when the selected template does not require those values. The template—not this endpoint—defines what must be supplied.Continue after creation
- Retrieve the returned contract with
POST /Agent/Legal/GetContract. - Present the exact returned human-readable text before signing.
- Use
POST /Agent/Legal/SignContractonly after the signer, role, content, key, nonce, and signatures have been confirmed. - Do not implement
POST /Agent/Legal/SendProposalfrom this page. Obtain the supported request format from the Neuron operator first.