Get a rate limit

Get a specific rate limit by ID.

GET
/rate-limits/{id}
AuthorizationBearer <token>

Project API key

In: header

Path Parameters

id*string

Unique identifier for the rate limit

Response Body

application/json

application/json

application/json

curl -X GET "https://api.limitry.com/v1/rate-limits/string"
{
  "id": "rl_abc123",
  "projectId": "proj_xyz",
  "name": "Customer API limit",
  "dimensionFilters": {
    "customer_id": "cust_123"
  },
  "limitValue": 100,
  "window": "1h",
  "enabled": true,
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}
{
  "error": "Invalid or missing API key"
}
{
  "error": "Resource not found"
}