Typescript
const feature = await autumn.features.get(featureId);
{ "id": "messages", "name": "Messages", "type": "single_use", "display": { "singular": "message", "plural": "messages" }, "archived": false }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The feature ID
Feature retrieved successfully
The response is of type object.
object