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

# List products

> Returns a paginated list of products. Supports filtering by fee type (`fixed` or `metered`), payment terms (`advance` or `arrears`), and associated metric IDs.



## OpenAPI

````yaml /api-reference/v2/specs/2026-04-01.json get /products
openapi: 3.1.0
info:
  title: Alguna Public API
  version: '2026-04-01'
servers:
  - url: https://api.alguna.io
security:
  - bearerAuth: []
tags:
  - name: Billing Events and Metrics
  - name: Credit Notes
  - name: Credits
  - name: Customer Portal Sessions
  - name: Customers
  - name: Insights
  - name: Invoices
  - name: Payments
  - name: Plans
  - name: Product Bundles
  - name: Products
  - name: Refunds
  - name: Revenue Schedules
  - name: Subscription Changes
  - name: Subscription Versions
  - name: Subscriptions
  - name: Wallet Grants
  - name: Wallets
paths:
  /products:
    get:
      tags:
        - Products
      summary: List products
      description: >-
        Returns a paginated list of products. Supports filtering by fee type
        (`fixed` or `metered`), payment terms (`advance` or `arrears`), and
        associated metric IDs.
      operationId: list-products
      parameters:
        - in: header
          name: Alguna-Version
          required: true
          schema:
            enum:
              - '2026-04-01'
            type: string
        - explode: false
          in: query
          name: fee_type
          schema:
            description: Filter by fee type (comma-separated to match any)
            example: fixed
            items:
              enum:
                - fixed
                - metered
              type: string
            type: array
        - in: query
          name: limit
          required: true
          schema:
            description: Number of items to return per page
            example: 20
            format: int64
            type: integer
        - explode: false
          in: query
          name: metric_ids
          schema:
            description: Filter by associated metric IDs (comma-separated to match any)
            example: mtr_01H2ABC
            items:
              type: string
            type: array
        - in: query
          name: offset
          required: true
          schema:
            description: Number of items to skip
            example: 0
            format: int64
            type: integer
        - explode: false
          in: query
          name: payment_terms
          schema:
            description: Filter by payment terms (comma-separated to match any)
            example: arrears
            items:
              enum:
                - advance
                - arrears
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductListResponse'
          description: Success
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unprocessable Entity
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    ProductListResponse:
      properties:
        data:
          description: List of products
          items:
            $ref: '#/components/schemas/ProductResponse'
          type: array
        pagination:
          allOf:
            - $ref: '#/components/schemas/PaginationMeta'
          description: Pagination metadata
      required:
        - data
        - pagination
      type: object
    ErrorResponse:
      properties:
        detail:
          type: string
        status:
          format: int64
          type: integer
      required:
        - status
        - detail
      type: object
    ProductResponse:
      properties:
        billing_frequency:
          description: How often the product is billed
          enum:
            - recurring
            - one-off
          example: recurring
          nullable: true
          type: string
        created_at:
          description: Timestamp when the product was created
          example: '2026-04-01T10:00:00Z'
          format: date-time
          type: string
        description:
          description: A brief description of the product
          example: Monthly platform access fee
          type: string
        fee_type:
          description: Whether the product is fixed-price or usage-based
          enum:
            - fixed
            - metered
          example: fixed
          type: string
        id:
          description: Unique identifier for the product
          example: prod_01H1VECT
          type: string
        metric_ids:
          description: Identifiers for associated metrics. Applicable for metered products
          example:
            - mtr_01H2ABC
          items:
            type: string
          type: array
        name:
          description: The name of the product
          example: Platform Fee
          type: string
        payment_terms:
          description: When the product is billed relative to the billing period
          enum:
            - advance
            - arrears
          example: arrears
          type: string
        revenue_allocation_method:
          description: How revenue is allocated across time periods within a billing cycle
          enum:
            - straight_line
            - usage_based
            - contract_level_straight_line
          example: straight_line
          type: string
        sku:
          description: >-
            Stock keeping unit code used in external ERP or revenue recognition
            systems
          example: PLATFORM_FEE
          nullable: true
          type: string
        tag_ids:
          description: Identifiers for tags associated with this product
          example:
            - tag_01H3DEF
          items:
            type: string
          type: array
        unit_label_plural:
          description: >-
            Custom plural term for multiple units of the product (e.g. 'API
            calls'). Falls back to 'units' when omitted
          example: API calls
          nullable: true
          type: string
        unit_label_singular:
          description: >-
            Custom singular term for one unit of the product (e.g. 'API call').
            Falls back to 'unit' when omitted
          example: API call
          nullable: true
          type: string
        updated_at:
          description: Timestamp when the product was last updated
          example: '2026-04-01T12:30:00Z'
          format: date-time
          type: string
      required:
        - created_at
        - description
        - fee_type
        - id
        - name
        - payment_terms
        - revenue_allocation_method
        - updated_at
      type: object
    PaginationMeta:
      properties:
        per_page:
          description: Number of items returned per page
          example: 20
          format: int64
          type: integer
        total_pages:
          description: Total number of pages available
          example: 5
          format: int64
          type: integer
      required:
        - per_page
        - total_pages
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: API key authentication. Pass your API key as a Bearer token.
      scheme: bearer
      type: http

````