---
title: "Get Overview Trends"
method: GET
path: "/api/v1/alerts/overview/trends"
tags: ["alert-inbox"]
---

# Get Overview Trends

`GET /api/v1/alerts/overview/trends`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/api/v1/alerts/overview/trends`
- Auth: none declared

Get alert volume trends for charts.

Args:
    period: Time period for trends (24h, 7d, 30d, 90d)
    asset_id: Asset public UUID (frontend sends UUID strings)

Returns:
    Trend data with data points and severity breakdown

## Query parameters

- `period` string
- `asset_id` string, nullable: Filter by asset UUID
- `event_type` string, nullable: Filter by event type

## 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)
