Endpoint
Authentication
Bearer token with your API key. Requires
read_write permission.Path Parameters
The project’s URL-friendly slug identifier.
Body Parameters
Feature display name.
Description of the feature.
Base price for this feature. Must be
>= 0.Whether this feature tracks usage or has limits.
Type of feature. One of:
"Standart"— simple included/not-included feature"Limits"— feature with a usage limit"Usage Based"— metered usage feature
Default usage count or limit value. Relevant for
"Limits" and "Usage Based" types.Condition label displayed with the count (e.g.
"Up to", "Unlimited").Price per unit of usage. Relevant for
"Usage Based" type.How usage events are aggregated (e.g.
"count", "sum").Response
Returns the created feature object with status201 Created.
Example — Standard Feature
Example — Usage-Based Feature
Errors
| Status | Description |
|---|---|
400 | Missing name or basePrice, or basePrice is negative |
400 | Project already has 50 features (maximum reached) |
401 | Invalid or missing API key |
403 | API key does not have read_write permission |
404 | Project with the given slug not found |
