Read p7's functions with status, Penny's mode and 14 days
Changed on#2587 c6960686816, row 7 (OpenBot's contract c6955242018, item 2; wireframe page 7). One row per function in the wireframe's order: Bank feeds, Categorize, Reconcile, Revenue, Bills, Documents, Close prep. mode is the function's capability state as GET …/agent/autonomy reads it (Reconcile is transfers.pairs; Bank feeds has no capability: paused when Penny paused herself on a source that needs a new sign-in, live while feeds are connected, off with none). Where Penny does not run at the client (not enabled, not on the deployment's allowlist, the company no agent may serve, or patient-data restricted), every function but Bank feeds reads mode off and status none, and a stop changes nothing there. stopped is true when someone pressed Stop here or everywhere; it sits on top of the mode and makes every status blocked, Bank feeds included, with the stop as its now. status: blocked (a run failed today, the function is paused, or a feed is in error or disconnected), watch (a question went to a person or a run was held), ok (also a live or shadow function with no run today, with now "No activity yet": PG-p01-001/-002, Lead #2587 c6996984303), or none (nothing to show: an off function with no run today); the screen shows ok as On track and none as Off. now says what happened today (UTC) or why nothing did. history14d is the 14 UTC days ending today, oldest first, each with its status and Penny's run counts (waiting: stopped by design with nothing written; held: stopped by a limit, the switch, the patient-data flag or a broken source). A function's runs are read from their work item keys (txn:, answer:, pair:, doc:); a resumed held run (held:<id>:<n>) is not counted in any function yet; Revenue, Bills and Close prep have no Penny writer yet, so their days are none. Bank feeds' daily state is not recorded: its days have status and runs null. A signed-in person only: both service keys get 404. Mounted only when the deployment enables the bookkeeping agent.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Path parameters
Response
Success envelope
Changes
- info
endpoint added
- info