---
title: "Evaluate server-computed accuracy and review-rate metrics and auto-demote to shadow when breached"
method: POST
path: "/accountant/companies/{customerId}/agent/autonomy/evaluate-fallback"
tags: ["Accountant Portal"]
---

# Evaluate server-computed accuracy and review-rate metrics and auto-demote to shadow when breached

`POST /accountant/companies/{customerId}/agent/autonomy/evaluate-fallback`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/agent/autonomy/evaluate-fallback`
- Auth: HTTP bearer

Human super-admin only (HUMAN_ONLY_ROUTES). Computes wrongBps and reviewRateBps strictly on the server from stored decisions, blind samples, and human undos/unwinds over the rolling window (default 7 days, minSampleSize 30). When a capability is Live and either wrongBps > 200 (<98% accuracy) or reviewRateBps > 1500 (>15% review rate) over at least minSampleSize samples, demotes the capability to shadow.

## Path parameters

- `customerId` string, uuid, required

## Request body

- object
  - `capability` string, required
  - `windowDays` integer
  - `minSampleSize` integer
  - `source` 'blind_sample' | 'dream_scorecard' | 'corrections_monitor' | 'manual_check'
  - `sourceRef` string

## Response `200`

Server-computed fallback evaluation outcome and measured metrics

- object

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `409`: Request conflicts with the durable onboarding state
- `422`: Request failed validation

## Changes

- **2026-11-28** `24ced4d421d8`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/agent/autonomy/evaluate-fallback/post.md)

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) - [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/4f4c2d34276b?raw)
