List every feature lever and its platform default
The catalog. A workspace without its own override follows the default shown here. Requires an admin user.
/api/v1/admin/featuresAuthorization
BearerAuth In: header
Response Body
application/json
curl -X GET "https://example.com/api/v1/admin/features"[ { "key": "string", "name": "string", "value_type": "string", "default_value": null, "allowed_values": [ "string" ], "is_active": true }]Deduct credits from a workspace's wallet POST
A correction, not a sale -- a deal goes through /wallet/grant so the dollars behind it are recorded. Subtracts `amount` and logs a transaction with source=admin, the acting admin, and `note` as the reason. The balance may go negative: a correction for spend that already happened is still the right entry. Requires an admin user.
Add a feature lever to the catalog POST
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.