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

# List usage records

> List detailed usage records



## OpenAPI

````yaml /partner-openapi.json get /partner/usage/records
openapi: 3.1.0
info:
  title: Contro Partner API
  version: 1.0.0
  license:
    name: Proprietary
    url: https://contro.me/terms
  description: >-
    The Contro Partner API enables Card-as-a-Service (CaaS) partners to
    programmatically issue cards, manage cardholders, and monitor transactions.


    ## Authentication


    All requests require your partner API key in the `x-contro-api-key` header:


    ```

    x-contro-api-key: sk_live_...

    ```


    Use `sk_test_*` keys for sandbox and `sk_live_*` keys for production.


    ## Rate Limits


    The API allows 1,000 requests per minute per API key. When exceeded,
    responses return HTTP 429 with a `Retry-After` header.


    ## Pagination


    List endpoints use page-based pagination:


    ```json

    {
      "data": [...],
      "page": 1,
      "limit": 20,
      "total": 137
    }

    ```


    Pass `?page=2&limit=20` to paginate. `limit` accepts 1–100 (default 20);
    `page` defaults to 1.


    ## Errors


    All errors return:


    ```json

    {
      "success": false,
      "error": "Human-readable message"
    }

    ```
servers:
  - url: https://api.contro.me/v1
    description: Production server for live traffic
  - url: https://stg-api.contro.dev/v1
    description: Sandbox environment for testing
security:
  - apiKey: []
paths:
  /partner/usage/records:
    get:
      tags:
        - Partner - Usage
      summary: List usage records
      description: List detailed usage records
      operationId: listUsageRecords
      parameters:
        - schema:
            type: integer
            minimum: 1
            default: 1
            description: Page number
          required: false
          description: Page number
          name: page
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 20
            description: Number of items per page (1-100)
          required: false
          description: Number of items per page (1-100)
          name: limit
          in: query
        - schema:
            type: string
            format: date-time
            description: ISO 8601 start timestamp (inclusive)
          required: false
          description: ISO 8601 start timestamp (inclusive)
          name: from
          in: query
        - schema:
            type: string
            format: date-time
            description: ISO 8601 end timestamp (inclusive)
          required: false
          description: ISO 8601 end timestamp (inclusive)
          name: to
          in: query
        - schema:
            type: string
            description: Billing period in YYYY-MM format
            example: 2026-03
          required: false
          description: Billing period in YYYY-MM format
          name: period
          in: query
        - schema:
            type: string
            description: >-
              Filter by usage type. One of: card_issuance,
              transaction_processing, kyc_verification
            example: card_issuance
          required: false
          description: >-
            Filter by usage type. One of: card_issuance, transaction_processing,
            kyc_verification
          name: type
          in: query
      responses:
        '200':
          description: Usage records
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: Usage record ID
                          example: usage_abc123
                        type:
                          type: string
                          description: >-
                            Usage type. One of: card_issuance,
                            transaction_processing, kyc_verification
                          example: card_issuance
                        amount:
                          type: number
                          description: Cost for this operation in USD
                          example: 5
                        referenceId:
                          type: string
                          description: >-
                            ID of the related resource (card, transaction, or
                            cardholder)
                          example: card_def456
                        billingPeriod:
                          type: string
                          description: Billing period in YYYY-MM format
                          example: 2026-03
                        createdAt:
                          type: string
                          description: ISO 8601 creation timestamp
                          example: '2026-03-15T10:30:00Z'
                      required:
                        - id
                        - type
                        - amount
                        - referenceId
                        - billingPeriod
                        - createdAt
                  total:
                    type: number
                  page:
                    type: number
                  limit:
                    type: number
                required:
                  - data
                  - total
                  - page
                  - limit
        '400':
          description: Bad Request
        '401':
          description: Unauthorized
        '404':
          description: Not Found
        '429':
          description: Rate Limited
        '500':
          description: Internal Server Error
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-contro-api-key
      description: Partner API key (sk_live_* for production, sk_test_* for sandbox)

````