Contractors

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.

GETPOST/api/v1/accounting/contractorOps.agreements.ended

Permissions

accounting:read

Who can call it

admin, finance

Retries

Safe to retry: it only reads

MCP

accounting_contractor_ops_agreements_ended

Fields

  • 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"
Response
{
  "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.

GET/api/v1/accounting/contractorOps.agreements.ended
curl https://app.getoatmilk.com/api/v1/accounting/contractorOps.agreements.ended \
  -H "Authorization: Bearer $OATMILK_API_KEY"

More in Contractors.