Skip to main content
GET
/
api
/
v1
/
compliance
/
alerts
curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts?status=open&limit=20" \
  -H "Authorization: Bearer olive_live_xxx"
{
  "alerts": [
    {
      "id": 101,
      "subscriber_id": "sub_abc123",
      "alert_type": "VELOCITY_LIMIT",
      "severity": "HIGH",
      "details": "10 transactions in 5 minutes",
      "status": "open",
      "created_at": "2025-01-20T10:00:00Z"
    }
  ],
  "total": 1,
  "limit": 20,
  "offset": 0
}

Request

Authorization
string
required
Bearer olive_live_xxx (Compliance Officer/Admin)

Query Parameters

status
string
Filter: open, investigating, resolved, false_positive
limit
integer
default:"50"
Page size
offset
integer
default:"0"
Pagination offset

Response

alerts
array
List of alert objects
total
integer
Total count

Examples

curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/compliance/alerts?status=open&limit=20" \
  -H "Authorization: Bearer olive_live_xxx"
{
  "alerts": [
    {
      "id": 101,
      "subscriber_id": "sub_abc123",
      "alert_type": "VELOCITY_LIMIT",
      "severity": "HIGH",
      "details": "10 transactions in 5 minutes",
      "status": "open",
      "created_at": "2025-01-20T10:00:00Z"
    }
  ],
  "total": 1,
  "limit": 20,
  "offset": 0
}