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

# Audit findings by impact area, against the period before

`GET /api/dashboard-analytics/audits-metrics/impact-areas/{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/impact-areas/{companyId}`
- Auth: none declared

A page of the impact areas the findings of the latest audits in the company's network fall in, each with its findings dated between `startDate` and `endDate` (the past 6 months without both) and in the period before — the urgency chart's two windows — plus the totals across every area. `sort` is `field:ASC|DESC` over `currentCount`, `comparisonCount` and `impactArea` (`currentCount:DESC` without it); `page` is 0-based. `filter` is a JSON-encoded `AuditMetricsFilter`; its lists narrow every count. 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
- `page` integer
- `count` integer
- `sort` string

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
    - `pagination` object
      - `page` number, required: Current page number (1-based).
      - `limit` number, required: Page size used for this response. Endpoint defaults vary — see each endpoint's limit parameter.
      - `total` number, required: Total number of records across all pages.
      - `totalPages` number, required: Total number of pages. Iterate until page reaches totalPages.
  - `data` object[], required
    - `impactAreaId` string, required
    - `impactArea` string, required
    - `hierarchyId` string, required
    - `currentCount` number, required
    - `currentDateRange` object, required
      - `startDate` string, required
      - `endDate` string, required
    - `totalCurrentCount` number, required
    - `comparisonCount` number, required
    - `totalComparisonCount` number, required
    - `comparedDateRange` object, required
      - `startDate` string, required
      - `endDate` string, 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/impact-areas/: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)
