Skip to main content
Creates a new feature in the specified project. Each project can have a maximum of 50 features.

Endpoint

Authentication

string
required
Bearer token with your API key. Requires read_write permission.

Path Parameters

string
required
The project’s URL-friendly slug identifier.

Body Parameters

string
required
Feature display name.
string
Description of the feature.
number
required
Base price for this feature. Must be >= 0.
boolean
Whether this feature tracks usage or has limits.
string
Type of feature. One of:
  • "Standart" — simple included/not-included feature
  • "Limits" — feature with a usage limit
  • "Usage Based" — metered usage feature
number
Default usage count or limit value. Relevant for "Limits" and "Usage Based" types.
string
Condition label displayed with the count (e.g. "Up to", "Unlimited").
number
Price per unit of usage. Relevant for "Usage Based" type.
string
How usage events are aggregated (e.g. "count", "sum").

Response

Returns the created feature object with status 201 Created.

Example — Standard Feature

Example — Usage-Based Feature

Errors