---
title: "Get Alerts"
method: GET
path: "/api/alerts"
tags: ["Vehicle Alerts"]
---

# Get Alerts

`GET /api/alerts`

## Request

- Base URL: `https://pegarex.com.br` (the document declares no server; this is the origin it was published from)
- URL: `https://pegarex.com.br/api/alerts`
- Auth: HTTP bearer

List all alerts for the current user with match counts

## Response `200`

Successful Response

- AlertResponse[]
  - `id` string, uuid, required
  - `brand` string, nullable
  - `model` string, nullable
  - `version` string, nullable
  - `brand_id` integer, nullable
  - `model_id` integer, nullable
  - `version_id` integer, nullable
  - `min_year` integer, nullable
  - `max_year` integer, nullable
  - `min_price` number, nullable
  - `max_price` number, nullable
  - `fuel_type` string[], nullable
  - `transmission` string[], nullable
  - `mileage_min` integer, nullable
  - `mileage_max` integer, nullable
  - `location` string, nullable
  - `category` string, nullable
  - `is_active` boolean, required
  - `match_count` integer, required
  - `created_at` string, date-time, required

---

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