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

# Get sending account usage

> Returns per-account delivery-log counts for today and the trailing 7-day window.



## OpenAPI

````yaml /openapi-app.json get /providers/usage
openapi: 3.1.0
info:
  description: Programmatic access to your Sendmux email infrastructure.
  title: Sendmux API
  version: 1.0.0
servers:
  - description: API v1
    url: https://app.sendmux.ai/api/v1
security:
  - bearerAuth: []
paths:
  /providers/usage:
    get:
      tags:
        - Sending accounts
      summary: Get sending account usage
      description: >-
        Returns per-account delivery-log counts for today and the trailing 7-day
        window.
      operationId: managementGetProviderUsage
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderUsageResponse'
          description: Usage summary
      security:
        - bearerAuth: []
components:
  schemas:
    ProviderUsageResponse:
      allOf:
        - $ref: '#/components/schemas/SuccessEnvelope'
        - properties:
            data:
              $ref: '#/components/schemas/ProviderUsage'
            meta:
              $ref: '#/components/schemas/ResponseMeta'
          required:
            - data
          type: object
      unevaluatedProperties: false
    SuccessEnvelope:
      properties:
        meta:
          additionalProperties: {}
          properties: {}
          type: object
        ok:
          enum:
            - true
          type: boolean
      required:
        - ok
        - meta
      type: object
    ProviderUsage:
      additionalProperties: false
      properties:
        providers:
          items:
            $ref: '#/components/schemas/ProviderUsageItem'
          type: array
        window_days:
          enum:
            - 7
          type: number
      required:
        - window_days
        - providers
      type: object
    ResponseMeta:
      additionalProperties: false
      properties:
        request_id:
          example: req_clxxxxxxxxxxxxxxxxxxxxxxxxx
          type: string
      required:
        - request_id
      type: object
    ProviderUsageItem:
      additionalProperties: false
      properties:
        failed_7d:
          minimum: 0
          type: integer
        pending_7d:
          minimum: 0
          type: integer
        provider_id:
          type: string
        rejected_7d:
          minimum: 0
          type: integer
        sent_7d:
          minimum: 0
          type: integer
        sent_today:
          minimum: 0
          type: integer
        total_7d:
          minimum: 0
          type: integer
      required:
        - provider_id
        - sent_today
        - total_7d
        - sent_7d
        - failed_7d
        - rejected_7d
        - pending_7d
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: API Key
      description: >-
        Sendmux API key. Use a root API key for Management API routes, or a
        mailbox credential for Mailbox API routes. Obtain keys from the
        dashboard under API Keys.
      scheme: bearer
      type: http

````