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

# Get Call Count

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

This endpoint returns the total number of calls that match a given set of filters. It is useful for quickly getting a count without retrieving the full list of call objects.

### Query Parameters

This endpoint supports a subset of the [List Calls](/api-reference/calls/list) filters:

* `status` (string, optional)
* `assistant_id` (integer, optional)
* `date_from` (string, optional)
* `date_to` (string, optional)

It does not support the search-style filters (`customer_phone`, `call_sid`, `assistant_name`) or duration filters. Use List Calls when you need those filters and read the `total` field from the paginated response.

### Response

The response is a JSON object containing the total count of matching calls.

```json Response theme={null}
{
  "count": 42
}
```


## OpenAPI

````yaml GET /api/v1/calls/count
openapi: 3.1.0
info:
  title: Burki
  description: A system that uses AI to answer customer Calls.
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/calls/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_v1_calls_count_get
      parameters:
        - name: status
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by call status
            title: Status
          description: Filter by call status
        - name: assistant_id
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: Filter by assistant ID
            title: Assistant Id
          description: Filter by assistant ID
        - name: date_from
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: Filter calls from this date
            title: Date From
          description: Filter calls from this date
        - name: date_to
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            description: Filter calls to this date
            title: Date To
          description: Filter calls to this date
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallCountResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    CallCountResponse:
      properties:
        count:
          type: integer
          title: Count
      type: object
      required:
        - count
      title: CallCountResponse
      description: Response model for call count.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````