API reference

Draft

Draft a clause from playbook context

POST/api/draft
json
{
  "obligation_type": "Liability",
  "scope": { "agreement_type": "MSA", "party_role": "vendor", "jurisdiction": "US-NY" },
  "goal": "draft the liability section for a vendor MSA"
}
json
{
  "draft": "Each party's aggregate liability …",
  "resolved": {
    "standard": "Cap at 12 months' fees; carve-outs for IP indemnity and DP",
    "clause":   { "label": "Standard mutual cap", "preference": "preferred" },
    "tier": "tier1"
  }
}