v1

latestOpenAPI 3.1.02026-07-265817860.8 KB
features

Lists all features in the current environment.

Use this to retrieve all features configured for your organization to display in dashboards or for feature management.

post/v1/features.list

Headers

x-api-versionstring required

Response

OK

Example response

{
  "list": [
    {
      "id": "api-calls",
      "name": "API Calls",
      "type": "metered",
      "consumable": true,
      "archived": false,
      "display": {
        "singular": "API call",
        "plural": "API calls"
      }
    },
    {
      "id": "credits",
      "name": "Credits",
      "type": "credit_system",
      "consumable": true,
      "archived": false,
      "credit_schema": [
        {
          "metered_feature_id": "api-calls",
          "credit_cost": 1
        },
        {
          "metered_feature_id": "image-generations",
          "credit_cost": 10
        }
      ],
      "display": {
        "singular": "credit",
        "plural": "credits"
      }
    }
  ]
}