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

# Get Monthly Analytics

> Returns the call success rate,average response time,ai accurary rate and total balance



## OpenAPI

````yaml GET /v2/dashboard_data_v2/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /v2/dashboard_data_v2/:
    get:
      description: >-
        Returns the call success rate,average response time,ai accurary rate and
        total balance
      parameters:
        - name: Company-Name
          in: header
          description: The name of the schema to be used for the request
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Dashboard data response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardMonthlyData'
        '400':
          description: Unexpected error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    DashboardMonthlyData:
      type: object
      required:
        - success
        - message
        - total_cost
        - total_call_duration
        - completed_calls_percentage
        - other_call_percentage
        - monthly_data
      properties:
        success:
          type: boolean
          description: Indicates whether the data fetch was successful
        message:
          type: string
          description: Message describing the result of the request
        total_cost:
          type: number
          format: float
          description: Total cost of the calls
        total_call_duration:
          type: integer
          description: Total duration of all calls in seconds
        completed_calls_percentage:
          type: number
          format: float
          description: Percentage of calls that were completed
        other_call_percentage:
          type: number
          format: float
          description: Percentage of other (non-completed) calls
        monthly_data:
          type: array
          description: Array of monthly data metrics
          items:
            type: object
            required:
              - name
              - data
            properties:
              name:
                type: string
                description: Name of the metric (e.g., Total Calls)
              data:
                type: array
                description: >-
                  Array of integer values representing the metric data for each
                  month
                items:
                  type: integer
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````