Get Contract
get-contract[Auth Required] Get a single contract by id. Returns {contract, role_id, read, write, subContracts}. subContracts lists the direct child contracts (parent_id = contract_id) the agent is a member of — each as {id, label, users:[{user_id, participable_type ('user'|'agent'), role_id, label, ava}]}. Empty array for a leaf contract or one with no accessible children.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contract_id | Yes | Contract ID |