Check if a feature flag is enabled
GET/api/features/v1/check/:key
Returns the enabled status of a specific feature flag by key
Requestโ
Responsesโ
- 200
- 429
Success response - Check if a feature flag is enabled
Too Many Requests. The rate limit has been exceeded.
Response Headers
RateLimit-Policy
The rate limit policy. Format: limit;w=window. limit is the max requests, w is the window in seconds. The specify value should be set in the .env-RATE_LIMIT_XXX
RateLimit
The current rate limit state. remaining is the remaining quota, reset is the seconds until reset. The specify value should be set in the .env-RATE_LIMIT_XXX