Accountant Portal

End the company's bookkeeping agent runs left open past their time limit

Changed on

Agent key only. Ends every run of the company still open 8 minutes after it started, as failed with zero usage, under the same attempt and given-up rules as any failed run. Answers how many it ended. Mounted only when the deployment enables the bookkeeping agent (default off); otherwise 404.

post/accountant/companies/{customerId}/agent/runs/expire-stale

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Response

Success envelope with expired, the number of runs ended

object required

Changes