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

# Retrieve a product



## OpenAPI

````yaml /openapi.json get /v1/products/{id}
openapi: 3.1.0
info:
  title: Elapse API
  version: '2026-09-06'
  description: >-
    Per-second billing. Authenticate with your secret key as a bearer token.
    Every amount is a decimal string in USD.
servers:
  - url: http://localhost:4000
security: []
tags:
  - name: Products
    description: Something billed at a rate per second.
  - name: Checkout
    description: Hosted pages a subscriber is sent to.
  - name: Subscriptions
    description: A running meter for one customer on one product.
  - name: Customers
    description: Subscribers, created by Checkout.
  - name: Invoices
    description: One settlement of accrued dollars for a period.
paths:
  /v1/products/{id}:
    get:
      tags:
        - Products
      summary: Retrieve a product
      operationId: products.retrieve
      parameters:
        - schema:
            type: string
          required: true
          name: id
          in: path
      responses:
        '200':
          description: The product.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Product'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: No such object in this mode.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    Product:
      type: object
      properties:
        id:
          type: string
          example: prod_9Xk2mQ1pL0vRsT
        object:
          type: string
          enum:
            - product
        name:
          type: string
        description:
          type: string
          nullable: true
        rate_usd_per_second:
          type: string
          pattern: ^\d+(\.\d+)?$
          example: '0.004'
          description: USD per second as a decimal string. Never a float.
        rate_per_second_wei:
          type: string
          example: '4000'
          description: Rate in token base units (6 decimals for AUSD).
        currency:
          type: string
          enum:
            - ausd
        allow_pause:
          type: boolean
        start_mode:
          type: string
          enum:
            - checkout
            - merchant
          description: >-
            `checkout` starts the meter when the subscriber authorises;
            `merchant` waits until you call subscriptions.start.
        active:
          type: boolean
        active_subscriptions:
          type: integer
          description: Running or paused meters on this product.
        livemode:
          type: boolean
        created:
          type: integer
          description: Unix seconds.
      required:
        - id
        - object
        - name
        - description
        - rate_usd_per_second
        - rate_per_second_wei
        - currency
        - allow_pause
        - start_mode
        - active
        - active_subscriptions
        - livemode
        - created
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - type
            - message
          properties:
            type:
              type: string
              enum:
                - api_error
                - authentication_error
                - invalid_request_error
                - rate_limit_error
                - idempotency_error
                - not_found
            message:
              type: string
            code:
              type: string
              description: Machine-readable reason, when there is one.
            param:
              type: string
              description: The request field at fault, when there is one.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your secret key: `sk_test_…` for test mode, `sk_live_…` for live.
        Server-side only.

````