---
search:
  tags:
    - Alerts
    - GET
seo:
  description: >-
    Lists the account's alert rules. Reference for the GET /v1/me/alerts
    endpoint in the INVICTUS API.
sidebar:
  label: The alert rules.
  badge: GET
title: The alert rules.
type: openapi-operation
---
Lists the account's alert rules.

`GET /v1/me/alerts`

**Responses**

- `200` — Success.
- `400` — Invalid input; \`errors\` names the fields.
- `401` — No session, or it ended.
- `429` — Too many requests; \`retryAfterSeconds\` says when to ask again.
- `500` — Server error.

Response example, 200:

```json
{
  "rules": [
    {
      "kind": "out-of-range",
      "subject": {
        "type": "pool",
        "id": "string"
      },
      "condition": {
        "thresholdPercent": "1234.56",
        "levelUsd": "1234.56",
        "direction": "up",
        "windowSeconds": 300,
        "metric": "fee-apr"
      },
      "delivery": {
        "channels": [
          "inbox"
        ],
        "cooldownSeconds": 0,
        "quietHours": {
          "from": "string",
          "to": "string",
          "timeZone": "Asia/Jakarta"
        },
        "digest": "off"
      },
      "id": "Xq3v9Kp2LmN8RtY4",
      "enabled": true,
      "mutedUntil": 1793145600,
      "lastFiredAt": 1793145600,
      "revision": 0
    }
  ],
  "nextCursor": "string",
  "asOf": 1793145600
}
```
