Skip to main content
GET
/
v2
/
alerts
curl -X GET "https://api.warrn.io/v2/alerts?limit=5&sort=createdAt&order=desc" \
  -H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..."
{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "tinyId": "A1B2C3D4",
      "alias": "cpu-high-web-03",
      "message": "CPU usage above 95% on web-server-03",
      "status": "open",
      "priority": "P1",
      "tags": ["cpu", "production"],
      "createdAt": "2026-05-05T14:30:00+05:30"
    }
  ],
  "paging": {
    "next": "?offset=5"
  },
  "took": 0.0,
  "requestId": "f7a8b9c0-d1e2-3456-7890-abcdef123456"
}

Documentation Index

Fetch the complete documentation index at: https://docs.warrn.io/llms.txt

Use this file to discover all available pages before exploring further.

List alerts in OpsGenie response format with pagination support.

Authentication

Authorization
string
required
Bearer token. Format: Bearer warrn_xxx. Requires read permission.

Query Parameters

limit
integer
default:"20"
Maximum number of alerts to return.
offset
integer
Pagination offset.
sort
string
default:"createdAt"
Field to sort by.
order
string
default:"desc"
Sort order. One of: asc, desc.
query
string
Search query string.

Response

data
object[]
Array of alerts in OpsGenie format (same structure as the Get Alert response).
paging
object | null
Pagination info. Contains a next field with the offset for the next page, or null if there are no more results.
requestId
string
Unique request ID for tracing.

Example

curl -X GET "https://api.warrn.io/v2/alerts?limit=5&sort=createdAt&order=desc" \
  -H "Authorization: Bearer warrn_k8sM2vL9xQ7nP4wR..."
{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "tinyId": "A1B2C3D4",
      "alias": "cpu-high-web-03",
      "message": "CPU usage above 95% on web-server-03",
      "status": "open",
      "priority": "P1",
      "tags": ["cpu", "production"],
      "createdAt": "2026-05-05T14:30:00+05:30"
    }
  ],
  "paging": {
    "next": "?offset=5"
  },
  "took": 0.0,
  "requestId": "f7a8b9c0-d1e2-3456-7890-abcdef123456"
}