API reference

Counter position

Generate a counter to a counterparty’s position

GET/api/negotiation/counter/{obligation_id}

Takes the extracted obligation as the counterparty’s proposal and produces a counter grounded in your playbook (preferred → fallback → walk-away).

json
{
  "preferred": {
    "position": "Cap at 12 months' fees; mutual",
    "clause":   "…",
    "rationale": "Matches Tier 1 vendor-MSA standard."
  },
  "fallback":  { "position": "…", "clause": "…", "rationale": "…" },
  "walk_away": { "position": "…", "rationale": "Beyond 6 months exposes us to …" },
  "sample_email": "Subject: Liability cap …\n\nHi …"
}