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

# Get call analytics

> Returns aggregated call intelligence metrics (counts, sentiment distribution, avg duration). Results cached in-memory for 60 seconds.




## OpenAPI

````yaml /openapi/calls.yaml get /calls/analytics
openapi: 3.1.0
info:
  title: Connie Calls & Messaging API
  version: 1.0.0
  description: >
    API for call recording, transcription, coaching, calendar integration, Slack
    huddles, and unified messaging (email, WhatsApp, LinkedIn, Messenger).
servers:
  - url: https://connie.ai/api
    description: Production
security:
  - cookieAuth: []
tags:
  - name: Calls
    description: Call listing, details, and recording
  - name: Call Intelligence
    description: Analytics, transcripts, coaching, and action items
  - name: Calendar
    description: Google and Microsoft calendar integrations
paths:
  /calls/analytics:
    get:
      tags:
        - Call Intelligence
      summary: Get call analytics
      description: >
        Returns aggregated call intelligence metrics (counts, sentiment
        distribution, avg duration). Results cached in-memory for 60 seconds.
      operationId: getCallAnalytics
      parameters:
        - name: workspaceId
          in: query
          required: true
          schema:
            type: string
            format: uuid
        - name: days
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 365
            default: 30
      responses:
        '200':
          description: Aggregated analytics
          content:
            application/json:
              schema:
                type: object
                description: Call counts, sentiment distribution, avg duration, etc.
components:
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: session

````

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