---
title: "Get Category Violation Trends"
method: GET
path: "/api/assignment/violation-trends"
tags: ["Image Assignment"]
---

# Get Category Violation Trends

`GET /api/assignment/violation-trends`

## Request

- Base URL: `https://api.avete.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avete.ai/api/assignment/violation-trends`
- Auth: HTTP bearer

Up to 5 categories: FAIL counts this calendar week vs last calendar week (JST Monday week boundary, UTC+9).

## Response `200`

Successful Response

- CategoryTrendResponse
  - `trends` CategoryTrendItem[], required
    - `category_name` unknown, required
    - `this_week_count` integer, required
    - `last_week_count` integer, required
    - `week_change` integer, required
    - `week_trend` string, required
  - `trend_alert` string, nullable

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
