List quota alerts

Get all alerts configured for a quota

GET
/quotas/{quotaId}/alerts
AuthorizationBearer <token>

Project API key

In: header

Path Parameters

quotaId*string

Query Parameters

limit?string

Maximum number of alerts 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/quotas/string/alerts"
{
  "data": [
    {
      "id": "qa_abc123",
      "quotaId": "qta_xyz789",
      "threshold": 80,
      "lastTriggeredAt": "2024-01-15T12:00:00Z",
      "createdAt": "2024-01-15T10:30:00Z",
      "updatedAt": "2024-01-15T10:30:00Z"
    }
  ],
  "nextCursor": "qa_xyz789",
  "hasMore": true
}
{
  "error": "Invalid request"
}
{
  "error": "Invalid or missing API key"
}