contractorOps.agreements.ended
List agreements that have ended for active contractors with no decision yet (not renewed, no renewal waiting for signatures, and no end decision recorded): the end date, what happened since (minutes logged, timesheet entries, pay periods, payouts and payments after the end date), a one-line summary, and the renewal to offer (the same terms from the day after it ended). An ended agreement blocks nothing. Contractors who kept working come first. Filter by contractorId. Renew with contractorOps.terms.propose, or record a decision with contractorOps.terms.endDecision (continuing keeps them working without renewing, ending lets it end); either decision removes it from this list.
/api/v1/accounting/contractorOps.agreements.endedPermissions
Who can call it
Retries
MCP
accounting_contractor_ops_agreements_endedFields
contractorIdstring (ID)The ID of a contractor, from contractors.list.
Example
curl https://app.getoatmilk.com/api/v1/accounting/contractorOps.agreements.ended \
-H "Authorization: Bearer $OATMILK_API_KEY"{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
curl https://app.getoatmilk.com/api/v1/accounting/contractorOps.agreements.ended \
-H "Authorization: Bearer $OATMILK_API_KEY"More in Contractors.