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

# Get Calls Count

> Get the count of calls in your organization with filtering options.



## OpenAPI

````yaml /openapi.json get /api/count
openapi: 3.1.0
info:
  description: >-
    Build and run voice assistants: configure an assistant, give it tools,
    knowledge and playbooks, place and read calls, and manage contacts,
    campaigns and analytics.


    Authenticate every request with an API key as a bearer token. See the API
    introduction for the response envelope, pagination and error shapes.
  title: Qall API
  version: 0.1.0
servers:
  - description: Production
    url: https://qall.io
security: []
paths:
  /api/count:
    get:
      tags:
        - calls
      summary: Get Calls Count
      description: Get the count of calls in your organization with filtering options.
      operationId: get_calls_count_api_count_get
      parameters:
        - description: Filter by call status
          in: query
          name: status
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by call status
            title: Status
        - description: Filter by assistant ID
          in: query
          name: assistant_id
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Filter by assistant ID
            title: Assistant Id
        - description: Filter calls from this date
          in: query
          name: date_from
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: Filter calls from this date
            title: Date From
        - description: Filter calls to this date
          in: query
          name: date_to
          required: false
          schema:
            anyOf:
              - format: date-time
                type: string
              - type: 'null'
            description: Filter calls to this date
            title: Date To
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallCountResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    CallCountResponse:
      description: Response model for call count.
      properties:
        count:
          title: Count
          type: integer
      required:
        - count
      title: CallCountResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.