Accountant Portal

List the bookkeeping agent's open findings and the work they hold

Changed on

Agent key only (issue loop, #2587). The company's findings that are not cleared, closed or abandoned, that still hold work, or that cleared with an issue the worker has yet to close, each with its held items. Ids, codes and counts only. releasable and resumeKey are decided by the API from the fixes this build carries (shippedFixes on the settings read) and never by the caller; resumeKey is null while the run the item was held from is still open and less than an hour old. A run under the current resumeKey left open for over an hour is ended (as failed) by the next start under that key, which is refused with 409 AGENT_HELD_NOT_RESUMABLE; the item is then handed back under the same key, or the next one. Each held item carries createdAt, when it was held. githubWrites counts the GitHub writes recorded for this company's findings in the last hour and day. Refused with 403 AGENT_PHI_RESTRICTED for a patient-data-restricted company. Mounted only when the deployment enables the bookkeeping agent (default off); otherwise 404. The shared cloud-bookkeeping service token gets 404 here.

get/accountant/companies/{customerId}/agent/findings

Request

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

Path parameters

customerId, string uuid required

Response

Success envelope

object required
data, object

Changes