Add a feature lever to the catalog
Creates a platform-default row. No backfill follows and none is needed: every workspace without an override of its own resolves through this row, so the lever is live everywhere the moment it commits. Requires an admin user.
/api/v1/admin/featuresAuthorization
BearerAuth In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Adds a lever to the catalog.
It applies to every workspace immediately -- resolution falls back to the
platform-default row -- so default_value is what the whole platform
gets until someone is given an override.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/admin/features" \ -H "Content-Type: application/json" \ -d '{ "key": "string", "name": "string", "value_type": "boolean" }'{ "key": "string", "name": "string", "value_type": "string", "default_value": null, "allowed_values": [ "string" ], "is_active": true}List every feature lever and its platform default GET
The catalog. A workspace without its own override follows the default shown here. Requires an admin user.
Edit a feature lever PATCH
Changes the display name, the platform default, or whether the lever applies at all. Deactivating retires it: it is dropped from every workspace's resolved set, which turns a capability off for everyone and stops a quota being enforced. Requires an admin user.