---
title: "Read transactions metrics"
method: GET
path: "/accountant/transactions/metrics"
tags: ["Accountant Portal"]
---

# Read transactions metrics

`GET /accountant/transactions/metrics`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/transactions/metrics`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Generated minimal contract (#1940): parameters, auth, and status codes are authoritative; see the route handler for the exact body/response shape. `data.truncated` is authoritative (#1945, #1959): true means at least one in-scope customer's rows are missing from every figure below — either its per-company aggregate failed, or its client-status lookup could not be evaluated — so a 0 here may be a gap rather than a real zero. A customer deliberately excluded by `?clientStatuses=` is not a gap and does not raise it.

## Response `200`

Success envelope; `data.truncated` reports whether every in-scope customer was counted

- object
  - `success` boolean
  - `data` object
    - `truncated` boolean: True when at least one assigned customer was dropped from this practice-wide read because its client-status / report-access lookup could not be evaluated, so the payload is short that customer's rows (#1959). A customer deliberately excluded by its client status is not a gap and does not raise this. Always false on the customer-scoped route, which never fans out.

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member

---

[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/20090ea32b0d?raw)
