Accountant Portal

Read the bookkeeping agent's autonomy state per capability

Changed on

Self-managing rollout (#2587, decision D3). One state per capability: shadow (the agent records what it would have done and writes nothing; no row is shadow), live (it writes) or paused (it does nothing). Each read first judges the pending shadow verdicts against what happened since (the same pair applied: agreement; a leg matched to another partner, the pair rejected or unwound by a person, or the blocker resolved by a person with no pair: disagreement) and moves the state on its own only from live to paused, when a person unwinds a pair the agent applied (human_unwind). Shadow to live happens only by a super-admin's recorded change (set_by_admin, PUT on this path); no verdict count promotes (J4). Stored promoted and promoted_pooled reasons are no longer written and still read back. documents (the document pass) is not part of this deployment: the agent's key cannot match a document and records no document verdicts, so that capability never leaves the state a person sets. No environment variable decides any of it. Readable by the bookkeeping agent's key (409 AGENT_DISABLED / AGENT_KILLED, or 403 AGENT_PHI_RESTRICTED, where it may not work) and by human accountants assigned to the customer. The shared cloud-bookkeeping service token gets 404. Mounted only when the deployment enables the bookkeeping agent; otherwise 404.

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

Request

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

Path parameters

customerId, string uuid required

Response

Success envelope

object required
success, boolean required
data, AgentAutonomy required

Changes

    • info

      added the optional property data/capabilities/items/latestDueDate to the response with the status

    • warning

      added the new blind_sample_review_high enum value to the data/capabilities/items/reason response property for the response status

    • warning

      added the new scorecard_fallback enum value to the data/capabilities/items/reason response property for the response status

    1 more change in this revision