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

# List features



## OpenAPI

````yaml https://api.meteroid.com/api-docs/openapi.json get /api/v1/features
openapi: 3.1.0
info:
  title: meteroid
  description: ''
  license:
    name: LicenseRef-Proprietary
    identifier: LicenseRef-Proprietary
  version: 0.1.0
servers: []
security: []
tags:
  - name: Meteroid
    description: Meteroid API
  - name: Add-ons
  - name: Batch Jobs
  - name: Checkout Sessions
  - name: Connect
    description: Manage connected accounts (Express & Standard)
  - name: Coupons
  - name: Credit Notes
  - name: Customers
  - name: Entitlements
  - name: Events
  - name: Features
  - name: Invoices
  - name: Metrics
  - name: OAuth
    description: OAuth 2.0 token endpoints (public, client-credentials auth)
  - name: OAuth Apps
    description: Manage OAuth applications for Connect integrations
  - name: Plans
  - name: Product Families
  - name: Products
  - name: Subscriptions
  - name: Usage
paths:
  /api/v1/features:
    get:
      tags:
        - Features
      summary: List features
      operationId: list_features
      parameters:
        - name: statuses
          in: query
          description: >-
            Filter by feature status. Repeat the param to select multiple, omit
            to return all.
          required: false
          schema:
            type: array
            items:
              $ref: '#/components/schemas/FeatureStatus'
        - name: product_id
          in: query
          description: Filter by product. Omit to return features across all products.
          required: false
          schema:
            $ref: '#/components/schemas/ProductId'
        - name: search
          in: query
          description: Search by feature name.
          required: false
          schema:
            type: string
        - name: page
          in: query
          description: Page number (0-indexed)
          required: false
          schema:
            type: integer
            format: int32
            minimum: 0
        - name: per_page
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
            format: int32
            maximum: 100
            minimum: 1
      responses:
        '200':
          description: List of features
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FeatureListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrorResponse'
        '429':
          description: Too many requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestErrorResponse'
      security:
        - bearer_auth: []
components:
  schemas:
    FeatureStatus:
      type: string
      description: Lifecycle status of a feature.
      enum:
        - ACTIVE
        - DISABLED
        - ARCHIVED
    ProductId:
      type: string
      format: MeteroidId
      examples:
        - prd_7n42DGM5Tflk9n8mt7Fhc7
    FeatureListResponse:
      type: object
      required:
        - data
        - pagination_meta
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Feature'
        pagination_meta:
          $ref: '#/components/schemas/PaginationResponse'
    RestErrorResponse:
      type: object
      required:
        - code
        - message
      properties:
        code:
          $ref: '#/components/schemas/ErrorCode'
        message:
          type: string
    Feature:
      type: object
      required:
        - id
        - name
        - feature_type
        - status
        - created_at
      properties:
        created_at:
          type: string
          format: date-time
        description:
          type:
            - string
            - 'null'
        entitlement:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/Entitlement'
              description: >-
                Feature-level (default) entitlement, applied to all
                subscriptions as the lowest-priority.
        feature_type:
          $ref: '#/components/schemas/FeatureType'
        id:
          $ref: '#/components/schemas/FeatureId'
        name:
          type: string
        product:
          oneOf:
            - type: 'null'
            - $ref: '#/components/schemas/ProductRef'
              description: Product this feature belongs to.
        status:
          $ref: '#/components/schemas/FeatureStatus'
    PaginationResponse:
      type: object
      required:
        - page
        - per_page
        - total_items
        - total_pages
      properties:
        page:
          type: integer
          format: int32
          minimum: 0
        per_page:
          type: integer
          format: int32
          minimum: 0
        total_items:
          type: integer
          format: int64
          minimum: 0
        total_pages:
          type: integer
          format: int32
          minimum: 0
    ErrorCode:
      type: string
      enum:
        - BAD_REQUEST
        - NOT_FOUND
        - CONFLICT
        - FORBIDDEN
        - UNAUTHORIZED
        - TOO_MANY_REQUESTS
        - INTERNAL_SERVER_ERROR
    Entitlement:
      type: object
      description: >-
        A raw entitlement row attached to one entity (feature, plan version,
        add-on, or subscription).
      required:
        - id
        - feature_id
        - value
        - created_at
        - updated_at
      properties:
        created_at:
          type: string
          format: date-time
        feature_id:
          $ref: '#/components/schemas/FeatureId'
        id:
          $ref: '#/components/schemas/EntitlementId'
        updated_at:
          type: string
          format: date-time
        value:
          $ref: '#/components/schemas/EntitlementValue'
    FeatureType:
      oneOf:
        - $ref: '#/components/schemas/BooleanFeatureType'
        - $ref: '#/components/schemas/MeteredFeatureType'
      discriminator:
        propertyName: type
        mapping:
          BOOLEAN:
            $ref: '#/components/schemas/BooleanFeatureType'
          METERED:
            $ref: '#/components/schemas/MeteredFeatureType'
    FeatureId:
      type: string
      format: MeteroidId
      examples:
        - feat_7n42DGM5Tflk9n8mt7Fhc7
    ProductRef:
      oneOf:
        - $ref: '#/components/schemas/ExistingProductRef'
        - $ref: '#/components/schemas/NewProductRef'
      discriminator:
        propertyName: type
        mapping:
          EXISTING:
            $ref: '#/components/schemas/ExistingProductRef'
          NEW:
            $ref: '#/components/schemas/NewProductRef'
    EntitlementId:
      type: string
      format: MeteroidId
      examples:
        - ent_7n42DGM5Tflk9n8mt7Fhc7
    EntitlementValue:
      oneOf:
        - $ref: '#/components/schemas/BooleanEntitlementValue'
        - $ref: '#/components/schemas/MeteredEntitlementValue'
      discriminator:
        propertyName: type
        mapping:
          BOOLEAN:
            $ref: '#/components/schemas/BooleanEntitlementValue'
          METERED:
            $ref: '#/components/schemas/MeteredEntitlementValue'
    BooleanFeatureType:
      type: object
    MeteredFeatureType:
      type: object
      required:
        - metric_id
      properties:
        metric_id:
          $ref: '#/components/schemas/BillableMetricId'
    ExistingProductRef:
      type: object
      required:
        - id
      properties:
        id:
          $ref: '#/components/schemas/ProductId'
    NewProductRef:
      type: object
      required:
        - name
        - fee_type
        - fee_structure
      properties:
        fee_structure:
          $ref: '#/components/schemas/ProductFeeStructure'
        fee_type:
          $ref: '#/components/schemas/ProductFeeTypeEnum'
        name:
          type: string
    BooleanEntitlementValue:
      type: object
      required:
        - enabled
      properties:
        enabled:
          type: boolean
    MeteredEntitlementValue:
      type: object
      properties:
        enabled:
          type: boolean
          description: Per-entitlement kill switch. `false` means disabled.
        limit:
          type:
            - string
            - 'null'
          format: decimal
          description: Cap on usage. Null means unlimited.
        reset_period:
          $ref: '#/components/schemas/ResetPeriod'
    BillableMetricId:
      type: string
      format: MeteroidId
      examples:
        - bm_7n42DGM5Tflk9n8mt7Fhc7
    ProductFeeStructure:
      oneOf:
        - $ref: '#/components/schemas/RateFeeStructure'
        - $ref: '#/components/schemas/SlotFeeStructure'
        - $ref: '#/components/schemas/CapacityFeeStructure'
        - $ref: '#/components/schemas/UsageFeeStructure'
        - $ref: '#/components/schemas/ExtraRecurringFeeStructure'
        - $ref: '#/components/schemas/OneTimeFeeStructure'
      discriminator:
        propertyName: type
        mapping:
          CAPACITY:
            $ref: '#/components/schemas/CapacityFeeStructure'
          EXTRA_RECURRING:
            $ref: '#/components/schemas/ExtraRecurringFeeStructure'
          ONE_TIME:
            $ref: '#/components/schemas/OneTimeFeeStructure'
          RATE:
            $ref: '#/components/schemas/RateFeeStructure'
          SLOT:
            $ref: '#/components/schemas/SlotFeeStructure'
          USAGE:
            $ref: '#/components/schemas/UsageFeeStructure'
    ProductFeeTypeEnum:
      type: string
      enum:
        - RATE
        - SLOT
        - CAPACITY
        - USAGE
        - EXTRA_RECURRING
        - ONE_TIME
    ResetPeriod:
      oneOf:
        - $ref: '#/components/schemas/BillingCycleResetPeriod'
          description: >-
            Resets each time your subscription renews — anchored to your billing
            cycle.
        - $ref: '#/components/schemas/CalendarResetPeriod'
          description: >-
            Resets on calendar boundaries (e.g. the 1st of every month) — not
            tied to subscription start date.
        - $ref: '#/components/schemas/FixedWindowResetPeriod'
          description: >-
            Resets at regular intervals — anchored to your subscription's exact
            activation time.
        - $ref: '#/components/schemas/SlidingWindowResetPeriod'
          description: >-
            Always ends at now — e.g. 30 days means the last 30 days, old usage
            drops off automatically.
        - $ref: '#/components/schemas/NeverResetPeriod'
          description: >-
            Never resets — counts all usage since the subscription was
            activated.
      discriminator:
        propertyName: type
        mapping:
          BILLING_CYCLE:
            $ref: '#/components/schemas/BillingCycleResetPeriod'
          CALENDAR:
            $ref: '#/components/schemas/CalendarResetPeriod'
          FIXED_WINDOW:
            $ref: '#/components/schemas/FixedWindowResetPeriod'
          NEVER:
            $ref: '#/components/schemas/NeverResetPeriod'
          SLIDING_WINDOW:
            $ref: '#/components/schemas/SlidingWindowResetPeriod'
    RateFeeStructure:
      type: object
    SlotFeeStructure:
      type: object
      required:
        - slot_unit_name
        - upgrade_policy
        - downgrade_policy
      properties:
        downgrade_policy:
          $ref: '#/components/schemas/SlotDowngradePolicyEnum'
        slot_unit_name:
          type: string
        upgrade_policy:
          $ref: '#/components/schemas/SlotUpgradePolicyEnum'
    CapacityFeeStructure:
      type: object
      required:
        - metric_id
      properties:
        metric_id:
          $ref: '#/components/schemas/BillableMetricId'
    UsageFeeStructure:
      type: object
      required:
        - metric_id
        - model
      properties:
        metric_id:
          $ref: '#/components/schemas/BillableMetricId'
        model:
          $ref: '#/components/schemas/UsageModelEnum'
    ExtraRecurringFeeStructure:
      type: object
      required:
        - billing_type
      properties:
        billing_type:
          $ref: '#/components/schemas/ExtraRecurringBillingTypeEnum'
    OneTimeFeeStructure:
      type: object
    BillingCycleResetPeriod:
      type: object
      description: >-
        Resets each time your subscription renews — anchored to your billing
        cycle.
    CalendarResetPeriod:
      type: object
      description: >-
        Resets on calendar boundaries (e.g. the 1st of every month) — not tied
        to subscription start date.
      required:
        - unit
        - interval
      properties:
        interval:
          type: integer
          format: int32
          minimum: 0
        unit:
          $ref: '#/components/schemas/CalendarUnit'
    FixedWindowResetPeriod:
      type: object
      description: >-
        Resets at regular intervals — anchored to your subscription's exact
        activation time.
      required:
        - unit
        - interval
      properties:
        interval:
          type: integer
          format: int32
          minimum: 0
        unit:
          $ref: '#/components/schemas/CalendarUnit'
    SlidingWindowResetPeriod:
      type: object
      description: >-
        Always ends at now — e.g. 30 days means the last 30 days, old usage
        drops off automatically.
      required:
        - unit
        - interval
      properties:
        interval:
          type: integer
          format: int32
          minimum: 0
        unit:
          $ref: '#/components/schemas/CalendarUnit'
    NeverResetPeriod:
      type: object
      description: Never resets — counts all usage since the subscription was activated.
    SlotDowngradePolicyEnum:
      type: string
      enum:
        - REMOVE_AT_END_OF_PERIOD
    SlotUpgradePolicyEnum:
      type: string
      enum:
        - PRORATED
    UsageModelEnum:
      type: string
      enum:
        - PER_UNIT
        - TIERED
        - VOLUME
        - PACKAGE
        - MATRIX
    ExtraRecurringBillingTypeEnum:
      type: string
      enum:
        - ADVANCE
        - ARREARS
    CalendarUnit:
      type: string
      enum:
        - HOUR
        - DAY
        - WEEK
        - MONTH
        - YEAR
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer

````