API reference
Renewals
Upcoming
GET/api/renewals/upcoming?days=60
Agreements in their notice window within the next N days.
Pack
GET/api/renewals/{agreement_id}/pack
json
{
"agreement": { /* …agreement record… */ },
"facts": [ /* key obligations with citations */ ],
"risk": { "open_deviations": 2, "sla_breaches": 0, "posture": "amber" },
"standardVsActual": [ /* per-obligation comparison */ ],
"recommendation": {
"action": "renew_with_renegotiation",
"narrative": "Liability cap is below standard; renegotiate to 12 months' fees…",
"cited": [ /* obligation IDs referenced in the narrative */ ]
}
}