import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const response = await client.v1.events.features.retrieveFeature('x');
console.log(response.data);{
"data": {
"id": "feature-api-calls",
"displayName": "API Calls",
"description": "Number of API calls allowed per month",
"featureType": "NUMBER",
"meterType": "INCREMENTAL",
"featureUnits": "call",
"featureUnitsPlural": "calls",
"featureStatus": "ACTIVE",
"unitTransformation": null,
"enumConfiguration": null,
"metadata": {},
"createdAt": "2026-12-29T01:57:54.675Z",
"updatedAt": "2026-12-29T01:57:54.677Z"
}
}Retrieves a feature by its unique identifier.
import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const response = await client.v1.events.features.retrieveFeature('x');
console.log(response.data);{
"data": {
"id": "feature-api-calls",
"displayName": "API Calls",
"description": "Number of API calls allowed per month",
"featureType": "NUMBER",
"meterType": "INCREMENTAL",
"featureUnits": "call",
"featureUnitsPlural": "calls",
"featureStatus": "ACTIVE",
"unitTransformation": null,
"enumConfiguration": null,
"metadata": {},
"createdAt": "2026-12-29T01:57:54.675Z",
"updatedAt": "2026-12-29T01:57:54.677Z"
}
}Server API Key
Server API Key
The unique identifier of the entity
1 - 255The feature object with full details.
Response object
Feature configuration object
Show child attributes