Skip to main content
POST
Create a feature
Click the base URL in the API playground and select the Sandbox host for test data or the Production host for live data. Use credentials from the same environment.

Authorizations

Authorization
string
header
required

The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'

Body

application/json
name
string
required
Example:

"API Calls"

featureType
enum<string>
required
Available options:
BOOLEAN,
CUSTOMIZABLE,
METER
Example:

"METER"

identifier
string
Example:

"api-calls"

description
string
Example:

"Number of API calls per billing cycle."

featureDetails
object
Example:
meter
object
Example:
metadata
object
Example:

Response

Feature created.

A feature that can be granted as an entitlement on a plan.

id
string<uuid>
read-only
Example:

"3a3e92ab-90a3-4f43-8e87-9d4c8c5a9c01"

identifier
string

URL-safe slug, auto-generated from name if not provided.

Example:

"api-calls"

name
string
Example:

"API Calls"

description
string
Example:

"Number of API calls per billing cycle."

featureType
enum<string>

BOOLEAN: on/off flag. CUSTOMIZABLE: numeric limit. METER: usage-based metering.

Available options:
BOOLEAN,
CUSTOMIZABLE,
METER
Example:

"METER"

featureDetails
object

Configuration for the feature. For METER features, expects featureSubType (PRE_AGGREGATED_USAGE or RAW_EVENTS), units, and optionally customerUnit for unit conversion.

Example:
meter
object

For RAW_EVENTS meter features: an object with aggregation (function, field) and filters.

Example:
details
object
read-only
Example:
metadata
object
Example:
isArchived
boolean
read-only
Example:

false

modifiedOn
string<date-time>
read-only
Example:

"2025-04-12T08:21:14.910Z"