Get a quota

Get a specific quota by ID.

GET
/quotas/{id}
AuthorizationBearer <token>

Project API key

In: header

Path Parameters

id*string

Unique identifier for the quota

Response Body

application/json

application/json

application/json

curl -X GET "https://api.limitry.com/v1/quotas/string"
{
  "id": "qta_abc123",
  "projectId": "proj_xyz",
  "name": "Daily Token Limit",
  "dimensionFilters": {
    "customer_id": "cust_123"
  },
  "metric": "total_tokens",
  "limitValue": 100000,
  "period": "day",
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}
{
  "error": "Invalid or missing API key"
}
{
  "error": "Resource not found"
}