API v1 — Features
List Features
Retrieve all features for a project
Returns all features defined in a project, including countable data for usage-based and limit-type features.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Retrieve all features for a project
GET /api/v1/projects/{slug}/features
Show Feature object
curl https://app.cuprice.io/api/v1/projects/my-saas-app/features \
-H "Authorization: Bearer cpk_your_key_here"
{
"features": [
{
"id": 101,
"name": "AI Prompts",
"description": "Monthly AI prompt allowance",
"basePrice": 10,
"featureType": "Limits",
"isCountable": true,
"countableData": {
"usageCount": 500,
"condition": "Up to",
"countPrice": 0.02,
"eventAggregationMethod": "count"
},
"createdAt": "2025-09-15T10:35:00.000Z",
"updatedAt": "2025-09-15T10:35:00.000Z"
},
{
"id": 102,
"name": "Team Members",
"description": "Number of team seats included",
"basePrice": 5,
"featureType": "Standart",
"isCountable": false,
"countableData": null,
"createdAt": "2025-09-15T10:36:00.000Z",
"updatedAt": "2025-09-15T10:36:00.000Z"
},
{
"id": 103,
"name": "API Calls",
"description": "Monthly API request quota",
"basePrice": 15,
"featureType": "Usage Based",
"isCountable": true,
"countableData": {
"usageCount": 10000,
"condition": "Up to",
"countPrice": 0.001,
"eventAggregationMethod": "count"
},
"createdAt": "2025-09-15T10:37:00.000Z",
"updatedAt": "2025-09-15T10:37:00.000Z"
}
]
}
| Status | Description |
|---|---|
401 | Invalid or missing API key |
404 | Project with the given slug not found |
