Modules
Feature Flags module
Rollout rules, cohort targeting, kill switches, and SDK-side local evaluation.
Feature Flags module
The feature-flags module manages flag definitions, rollout percentages, cohort gates, kill switches, and transactional history.
Evaluation
SDK helpers evaluate locally using the same rule as the server:
- Killed flags return false.
- Disabled flags return false.
- Non-empty cohort dimensions must match the evaluation context.
- Percentage rollouts use SHA-256 of
flagKey:userId, bucketed into 0-99.
API
| Endpoint | Returns |
|---|---|
GET /api/flags/status | Module health |
GET /api/flags?project_id=... | Flags for a project |
GET /api/flags/{key}?project_id=... | A single flag |
GET /api/flags/stream?project_id=... | Server-sent update stream |
Product page: Feature Flags.