---
title: "One Penny metric's firm-wide values over time, for a chart (#4319)"
method: GET
path: "/accountant/penny/metrics/{metricId}/values"
tags: ["Accountant Portal"]
---

# One Penny metric's firm-wide values over time, for a chart (#4319)

`GET /accountant/penny/metrics/{metricId}/values`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/penny/metrics/{metricId}/values`
- Auth: HTTP bearer

The firm-wide rows (no company: R2, R6) of one metric from the metric history (F2), oldest first, in [`from`, `to`): the newest 2000 at most, with `truncated` true when the window held more. `to` defaults to now and `from` to 7 days before `to`; the window must run forward and span at most 31 days (422 otherwise). An unknown metric id that matches the id pattern returns no values. Any signed-in accountant. Every API key is refused, the service token included (404).

## Path parameters

- `metricId` string, required

## Query parameters

- `from` string, date-time
- `to` string, date-time

## Response `200`

The metric's values

- object
  - `success` true, required
  - `data` PennyMetricSeries, required
    - `metricId` string, required
    - `companyId` string, uuid, nullable, required
    - `from` string, date-time, required
    - `to` string, date-time, required
    - `truncated` boolean, required: true when the window held more than 2000 values: `values` are the newest 2000
    - `values` object[], required
      - `computedAt` string, date-time, required
      - `windowStart` string, date-time, required
      - `windowEnd` string, date-time, required
      - `state` 'green' | 'amber' | 'red' | 'no_data', required
      - `value` number, nullable, required
      - `numerator` number, nullable, required
      - `denominator` number, nullable, required
      - `reason` string, nullable, required
      - `version` integer, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found
- `422`: Request failed validation

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/penny/metrics/:metricId/values/get.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)
