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

# Task Statistics

Retrieve aggregate statistics for your account's Task usage. Pass `name=usage` for a monthly breakdown or `name=distribution` for per-model usage.


## OpenAPI

````yaml GET /tasks/statistics
openapi: 3.1.0
info:
  title: AudioShake API
  version: 1.0.0
  description: >-
    API for AI-powered audio source separation, stem extraction, and
    transcription.
  license:
    name: Proprietary
    url: https://www.audioshake.ai/terms
  contact:
    name: AudioShake
    url: https://audioshake.ai
servers:
  - url: https://api.audioshake.ai
security:
  - apiKey: []
tags:
  - name: assets
    description: Audio and media file assets managed by AudioShake
  - name: tasks
    description: Stem separation, source separation, and transcription alignment tasks
paths:
  /tasks/statistics:
    get:
      tags:
        - tasks
      summary: Get Task Statistics
      operationId: getTaskStatistics
      parameters:
        - schema:
            enum:
              - usage
              - distribution
            default: usage
            type: string
          in: query
          name: name
          required: true
          description: Type of statistics to retrieve
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                oneOf:
                  - title: Usage
                    description: Monthly usage breakdown. Returned when name=usage.
                    type: array
                    items:
                      type: object
                      properties:
                        month:
                          description: Month in YYYY-MM format
                          type: string
                        totalTargets:
                          description: Total number of targets processed
                          type: number
                        totalMinutes:
                          description: Total minutes of audio processed
                          type: string
                  - title: Distribution
                    description: Model usage distribution. Returned when name=distribution.
                    type: array
                    items:
                      type: object
                      properties:
                        model:
                          description: Model name
                          type: string
                        count:
                          description: Number of times the model was used
                          type: number
                        percentage:
                          description: Percentage of total usage
                          type: string
components:
  securitySchemes:
    apiKey:
      type: apiKey
      name: x-api-key
      in: header

````