Skip to main content
GET
/
features
TypeScript
import { Autumn } from 'autumn-js';

const autumn = new Autumn();

const { data, error } = await autumn.features.list();
{
  "list": [
    {
      "id": "<string>",
      "type": "boolean",
      "name": "<string>",
      "display": {
        "singular": "<string>",
        "plural": "<string>"
      },
      "credit_schema": [
        {
          "metered_feature_id": "<string>",
          "credit_cost": 123
        }
      ],
      "archived": true
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
list
object[]
required