Autumn's V2 API is live in beta. We recommend using this version.
import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.features.get('feature_id');{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"display": {
"singular": "<string>",
"plural": "<string>"
},
"credit_schema": [
{
"metered_feature_id": "<string>",
"credit_cost": 123
}
],
"archived": true
}import { Autumn } from 'autumn-js';
const autumn = new Autumn();
const { data, error } = await autumn.features.get('feature_id');{
"id": "<string>",
"type": "boolean",
"name": "<string>",
"display": {
"singular": "<string>",
"plural": "<string>"
},
"credit_schema": [
{
"metered_feature_id": "<string>",
"credit_cost": 123
}
],
"archived": true
}Documentation Index
Fetch the complete documentation index at: https://docs-v1.useautumn.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the feature, used to refer to it in other API calls like /track or /check.
boolean, single_use, continuous_use, credit_system The name of the feature.
Singular and plural display names for the feature.
Show child attributes
Credit cost schema for credit system features.
Show child attributes
Whether or not the feature is archived.