visual_review

Snapshots that keep getting tolerated, counted across baselines, most manual tolerations first. A toleration accepts one exact rendering, so a snapshot that keeps needing them renders differently from run to run, and the fix belongs in the story. With no parameters this is the weekly debt digest's rule (3 or more tolerations by a person or agent in 30 days), except that quarantined snapshots are kept and marked with is_quarantined. The list is small and returns fast; start here to find flaky stories worth fixing, then read one snapshot's history with the per-snapshot tools.

get/api/projects/{project_id}/visual_review/repos/{id}/toleration-pileups/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/visual_review/repos/{id}/toleration-pileups/
  • Auth: HTTP bearer

Path parameters

idstring required
project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

include_quarantinedboolean

Keep snapshots that an active quarantine already covers. They are marked with is_quarantined. Set to false to see only piles nobody has acted on yet.

limitinteger

Maximum number of snapshots to return. total and truncated say whether more matched.

min_automatic_tolerationsinteger

Also list a snapshot when it collected at least this many automatic tolerations in the window. An automatic toleration is a rendering under both diff thresholds, so it never blocked anybody; many of them still mean the story is unstable. Omit to ignore automatic tolerations when deciding what to list. With 10, the list matches the Tolerate dialog's quarantine suggestion.

min_tolerationsinteger

List a snapshot when a person or agent tolerated it at least this many times in the window. The default, 3, is the weekly debt digest's rule. Lower it to see snapshots that are starting to pile up, raise it to see only the worst ones.

run_typestring

Only list snapshots of this run type, for example storybook or playwright.

window_daysinteger

How many days back to count tolerations. Defaults to 30.

Response

window_daysinteger required

Length of the counting window in days that was applied.

min_tolerationsinteger required

Manual toleration threshold that was applied.

min_automatic_tolerationsinteger nullable required

Automatic toleration threshold that was applied, or null when none was.

totalinteger required

How many snapshots matched before limit was applied.

truncatedboolean required

True when limit cut the list short.

generated_atstring date-time required

When the list was computed.

Changes

No recorded changes to this operation across all 1 revision of this API.