Flags API
The Flags API lets you create, read, update, and delete feature flags programmatically.
| Method | Endpoint | Description |
|---|---|---|
GET | /api/flags | List all flags in a project |
POST | /api/flags | Create a new flag |
GET | /api/flags/:key | Get a flag by key |
PUT | /api/flags/:key | Update a flag |
DELETE | /api/flags/:key | Delete a flag |
Flag objects include the flag key, name, description, type (boolean or multivariate), variants, and per-environment targeting rules. All endpoints require a valid JWT token in the Authorization header.
note
Full request/response schemas and examples are coming soon.