Report what the bookkeeping agent did for a customer
Changed onHuman accountants only: an accountant assigned to the customer (or one with access to every customer). The bookkeeping agent's key and the shared cloud-bookkeeping service token both get 404. Read-only. One item per agent run (work item) started in [from, to), newest first, with what it tried, how it ended, the row it acted on as the customer's books show it now, the reason code it recorded, what it cited (counted by kind), its confidence and the question it raised. The model's free-text reasoning is never returned. Filters narrow the list and its total: kind, outcome, q (the acted-on row's payee or bank description contains the text, case aside), reason (the item's reasonCode) and accountId (the account the run categorized into or proposed). summary counts every run in the period and ignores the filters. Mounted only when the deployment enables the bookkeeping agent (default off); otherwise 404.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Query parameters
Start of the period (inclusive), an ISO 8601 instant.
End of the period (exclusive), an ISO 8601 instant after from and at most 93 days after it.
What the run did. Applied runs are named by their action; the others by their outcome.
How the run ended. held: stopped by a run limit, the kill switch or the patient-data flag, or failed and waiting for a fix.
Text the acted-on row's payee or bank description contains, case aside. % and _ are taken literally.
The item's reasonCode (for example model_asked, money_line, switched_off).
The account the run categorized into or proposed.
The nextCursor of the previous page.
Response
Success envelope
Changes
- warning
added the new
run_billsenum value to thedata/items/items/actionresponse property for the response status - warning
added the new
run_closeenum value to thedata/items/items/actionresponse property for the response status - warning
added the new
run_revenueenum value to thedata/items/items/actionresponse property for the response status
- warning