This chapter covers the core features and capabilities of Feature Flags.
eq, neq, contains, in, gt, ltFollow this guide to get Feature Flags up and running in your environment.
# Start with demo flags
python src/main.py --init-demo
# Custom port
python src/main.py --port 8003Then try the API:
# List all flags
curl http://localhost:8003/api/flags
# Evaluate a flag for a user
curl -X POST http://localhost:8003/api/flags/new_dashboard/evaluate \
-H "Content-Type: application/json" \
-d '{"context": {"user_id": "user_123", "plan": "pro", "email": "user@example.com"}}'
# Kill switch
curl -X POST http://localhost:8003/api/flags/new_dashboard/kill
# Revive
curl -X POST http://localhost:8003/api/flags/new_dashboard/revive| Method | Path | Description |
|---|---|---|
| GET | /api/flags | List all flags |
| POST | /api/flags | Create a new flag |
| POST | /api/flags/:key/evaluate | Evaluate flag for a user context |
| POST | /api/flags/:key/evaluate-all | Evaluate ALL flags for a user |
| POST | /api/flags/:key/kill | Emergency kill switch |
| POST | /api/flags/:key/revive | Re-enable a killed flag |
Get the full Feature Flags and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.