---
title: "Get Violations"
method: GET
path: "/api/v1/assets/freshness/sla-violations/"
tags: ["freshness-sla"]
---

# Get Violations

`GET /api/v1/assets/freshness/sla-violations/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/assets/freshness/sla-violations/`
- Auth: none declared

Get SLA violations for company, optionally filtered by asset or schedule.

## Query parameters

- `asset_id` string, nullable: Filter by asset UUID
- `schedule_id` string, nullable: Filter by schedule UUID
- `unacknowledged_only` boolean: Only return unacknowledged violations
- `offset` integer: Number of results to skip
- `limit` integer: Maximum number of results

## Headers

- `Authorization` string

## Response `200`

Successful Response

- StandardResponse: Standard API response wrapper.
  - `success` boolean, required
  - `data` unknown
  - `message` string, nullable
  - `error` string, nullable
  - `meta` object, nullable

## Other responses

- `422`: Validation Error

---

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