---
title: "Retrieve accessibility violation history for latest test runs in a workspace over a period of time"
method: POST
path: "/workspaces/{workspace_id}/reports/accessibilityRuleViolationCountOverTime"
tags: ["Report"]
---

# Retrieve accessibility violation history for latest test runs in a workspace over a period of time

`POST /workspaces/{workspace_id}/reports/accessibilityRuleViolationCountOverTime`

Used to retrieve accessibility violation history for latest test runs in a workspace over a period of time

## Path parameters

- `workspace_id` string, required

## Query parameters

- `timezone` string

## Request body

- AccessibilityDashboardFilterOptions
  - `severity_level` 'critical' | 'serious' | 'moderate' | 'minor' — Violation severity level to filter by
  - `rule_ids` string[] — Rule IDs to filter by
  - `test_labels` string[] — Test labels to filter by
  - `application_ids` string[] — Application IDs to filter by
  - `environment_ids` string[] — Environment IDs to filter by
  - `start_time` integer — The start time of the time period (in epoch milliseconds)
  - `end_time` integer — The end time of the time period (in epoch milliseconds)

## Response `200`

Array of accessibility rule violation counts per day

- AccessibilityRuleViolationCount[]
  - `date` integer — The date timestamp for the rule violation
  - `critical_violation_count` integer — The number of critical rule violations by rule and page
  - `serious_violation_count` integer — The number of serious rule violations by rule and page
  - `moderate_violation_count` integer — The number of moderate rule violations by rule and page
  - `minor_violation_count` integer — The number of minor rule violations by rule and page

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `default` — Unexpected error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
