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

# Get daily concurrent usage

> Get daily concurrent-capacity usage for the authenticated customer. Returns usage rows from the billing system, broken down by date, model, and region.



## OpenAPI

````yaml get /usage/concurrent
openapi: 3.0.0
info:
  title: Deepdub API
  description: >-
    Deepdub's Text-to-Speech API enables high-quality, expressive speech
    generation with voice cloning, accent control, and real-time streaming
    capabilities.
  contact:
    email: support@deepdub.ai
  version: '1.0'
servers:
  - url: https://restapi.deepdub.ai/api/v1
    description: Production
security:
  - ApiKeyAuth: []
externalDocs:
  description: OpenAPI
  url: https://restapi.deepdub.ai/api/v1/swagger/index.html
paths:
  /usage/concurrent:
    get:
      tags:
        - Usage
      summary: Get daily concurrent usage
      description: >-
        Get daily concurrent-capacity usage for the authenticated customer.
        Returns usage rows from the billing system, broken down by date, model,
        and region.
      operationId: getUsageConcurrent
      parameters:
        - description: API Key
          name: x-api-key
          in: header
          required: true
          schema:
            type: string
            default: dd-00000000000000000000000065c9cbfe
          example: dd-00000000000000000000000065c9cbfe
        - description: Start date (inclusive)
          name: from
          in: query
          required: true
          schema:
            type: string
            format: date
          example: '2026-05-01'
        - description: >-
            End date (inclusive). Must be on or after `from`. Maximum range is
            366 days.
          name: to
          in: query
          required: true
          schema:
            type: string
            format: date
          example: '2026-05-31'
        - description: Filter by model ID
          name: model_id
          in: query
          required: false
          schema:
            type: string
        - description: Filter by region
          name: region
          in: query
          required: false
          schema:
            type: string
      responses:
        '200':
          description: Daily usage data
          content:
            application/json:
              schema:
                type: object
                properties:
                  customerId:
                    type: string
                  from:
                    type: string
                    format: date
                  to:
                    type: string
                    format: date
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          format: date
                        customerId:
                          type: string
                        modelId:
                          type: string
                          description: Dedicated model route ID
                        region:
                          type: string
                        usageSecondsTimesSize:
                          type: number
                          description: GPU-instance-seconds (instance size × seconds)
                        concurrencyHours:
                          type: number
                          description: usageSecondsTimesSize / 3600
                        averageSize:
                          type: number
                          description: Time-weighted average instance count
        '400':
          description: Missing or invalid date range or filters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.APIError'
        '401':
          description: Unauthorized — invalid or missing API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.APIError'
        '504':
          description: Query timed out — try a smaller date range
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/model.APIError'
components:
  schemas:
    model.APIError:
      description: Error response returned for all non-2xx status codes
      type: object
      required:
        - success
        - message
      properties:
        success:
          description: Always false for error responses
          type: boolean
          example: false
        message:
          description: Human-readable error message
          type: string
          example: Invalid request parameters
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Must start with `dd-` prefix.

````