API reference

Clauses

List

GET/api/clauses
json
{
  "Liability": [
    {
      "label": "Standard mutual cap",
      "text": "Each party's aggregate liability …",
      "preference": "preferred",
      "scope": { "agreement_type": "MSA" }
    }
  ]
}

Create / update

POST/api/clauses
json
{
  "obligation_type": "Liability",
  "label": "Standard mutual cap",
  "text": "Each party's aggregate liability …",
  "preference": "preferred",
  "scope": { "agreement_type": "MSA" }
}

Delete

DELETE/api/clauses/{obligation_type}/{label}

Derive from templates

POST/api/clauses/derive