---
title: "Get Decision Lane Counts"
method: GET
path: "/snapshots/{snapshot_id}/decisions/lane-counts"
tags: ["dashboard"]
---

# Get Decision Lane Counts

`GET /snapshots/{snapshot_id}/decisions/lane-counts`

Counts per review lane, from the acceptance join.

Not substitutable with ``/decisions/counts``. That endpoint groups the
``status`` column, which is the extractor's projection kept in step for
readers that predate the acceptance split, so its ``active`` and this
endpoint's ``active`` answer different questions: a record can be stored
active and have no acceptance at all. A tab row labelled from the other
one's answer would overcount every lane it names.

Declared above ``/{decision_index}`` for the same reason ``/counts`` is:
FastAPI matches in declaration order, and ``lane-counts`` would otherwise be
parsed as an integer index and 422.

A missing decisions artifact 404s exactly as the list endpoint does.

## Path parameters

- `snapshot_id` string, required

## Response `200`

Successful Response

- DecisionLaneCountsResponse — Records per review lane, from the acceptance join. Separate from ``DecisionCountsResponse``, which groups the ``status`` column. That column is the extractor's projection, kept in step for readers that predate the acceptance split, so its ``active`` and this model's ``active`` are different questions: a record can be stored active and have no acceptance at all. A tab row must not be labelled from the other one's answer. ``candidates`` and the four currency lanes partition the repository and sum to ``total``. ``governing`` is the roll-up of the two that still bind, so a caller can say "N rules" without adding two tabs together -- it deliberately overlaps and is not a partition member.
  - `candidates` integer
  - `active` integer
  - `needs_review` integer
  - `uncheckable` integer
  - `history` integer
  - `governing` integer
  - `total` integer

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc.dev/repowise/apis/repowise-hosted-api/revisions/b717017b882f?raw)
