---
title: "Audit findings by urgency, against the period before"
method: GET
path: "/api/dashboard-analytics/audits-metrics/urgencies/{companyId}"
tags: ["Dashboard Analytics/Audits Metrics"]
---

# Audit findings by urgency, against the period before

`GET /api/dashboard-analytics/audits-metrics/urgencies/{companyId}`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/dashboard-analytics/audits-metrics/urgencies/{companyId}`
- Auth: none declared

Per urgency A–E, the findings of the latest audits in the company's network dated between `startDate` and `endDate` (the past 6 months without both), and in the period just before — ending the day before it and reaching back as many days as it spans, at least 180. `filter` is a JSON-encoded `AuditMetricsFilter`; its lists narrow both counts. Days are read in the `x-timezone` header's timezone (UTC without it). Only the company itself or Retraced staff may read it.

## Path parameters

- `companyId` string, required

## Query parameters

- `filter` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
  - `data` object, required
    - `data` object[], required
      - `auditFindingUrgency` string, required
      - `count` number, required
      - `previousCount` number, required
      - `countDateRange` object, required
        - `startDate` string, required
        - `endDate` string, required
      - `previousCountDateRange` object, required
        - `startDate` string, required
        - `endDate` string, required
      - `countDifference` number, required
      - `differencePercentage` number, required
    - `totalCount` number, required

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-13** `b9cf8bef8ed3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/dashboard-analytics/audits-metrics/urgencies/:companyId/get.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) - [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
