Get alert history

View a log of triggered alerts for a specific alert

GET
/quota-alerts/{alertId}/history
AuthorizationBearer <token>

Project API key

In: header

Path Parameters

alertId*string

Query Parameters

limit?string

Maximum number of log entries to return (1-100, default: 50)

Default"50"
cursor?string

Pagination cursor from the previous response

Response Body

application/json

application/json

application/json

curl -X GET "https://api.limitry.com/v1/quota-alerts/string/history"
{
  "data": [
    {
      "id": "qal_abc123",
      "quotaAlertId": "qa_xyz789",
      "quotaId": "qta_def456",
      "threshold": 80,
      "currentUsage": 85000,
      "limitValue": 100000,
      "percentage": 85,
      "webhookStatus": "success",
      "webhookResponseCode": 200,
      "triggeredAt": "2024-01-15T12:00:00Z"
    }
  ],
  "nextCursor": "qal_xyz789",
  "hasMore": true
}
{
  "error": "Invalid or missing API key"
}
{
  "error": "Resource not found"
}