> ## Documentation Index
> Fetch the complete documentation index at: https://docs.integrateledger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List active features

> List current feature costs in the environment selected by your API key.

Returns all active metered features for the organization identified by your API key. The `items` array contains each feature's stable ID, display name, and positive integer `creditCost`; it is empty before you create any features. Archived features are omitted.

Use these IDs in [Check credits](https://docs.integrateledger.com/api-reference/usage/check.md) and [Record usage](https://docs.integrateledger.com/api-reference/usage/track.md). [Create a feature](https://docs.integrateledger.com/api-reference/features/create.md) adds one without replacing the rest of the catalog. See [Catalog](https://docs.integrateledger.com/catalog.md) for feature cost changes and archiving.


## OpenAPI

````yaml openapi.json GET /v1/features
openapi: 3.1.0
info:
  title: Ledger API
  version: 0.1.0
servers:
  - url: https://api.integrateledger.com
    description: Hosted Ledger API
security: []
paths:
  /v1/features:
    get:
      tags:
        - Features
      summary: List active features
      operationId: listFeatures
      responses:
        '200':
          description: Active features
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeatureList'
        '401':
          description: Invalid Ledger API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKey: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl --request GET 'https://api.integrateledger.com/v1/features' \
              -H "Authorization: Bearer $LEDGER_API_KEY"
        - lang: python
          label: Python SDK (source only)
          source: |-
            import os
            from ledger_sdk import Ledger

            ledger = Ledger(api_key=os.environ["LEDGER_API_KEY"])
            ledger.list_features()
        - lang: typescript
          label: TypeScript SDK (source only)
          source: >-
            import { Ledger } from "@ledger/sdk";


            const ledger = new Ledger({ apiKey: process.env.LEDGER_API_KEY ?? ""
            });

            await ledger.listFeatures();
components:
  schemas:
    FeatureList:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/FeatureItem'
      required:
        - items
    FeatureItem:
      type: object
      properties:
        id:
          type: string
          minLength: 1
          maxLength: 100
          pattern: ^[a-zA-Z0-9_-]+$
        name:
          type: string
          minLength: 1
          maxLength: 120
        creditCost:
          type: integer
          exclusiveMinimum: 0
          maximum: 2147483647
      required:
        - id
        - name
        - creditCost
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.