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

# Get Workspace Analytics

> Returns analytics for your workspace including campaigns, invitations, messages, and more

## Overview

Returns analytics for your workspace including campaigns, invitations, messages, and more. You can filter by date, LinkedIn account, and campaign status.


## OpenAPI

````yaml GET /v1/analytics
openapi: 3.1.0
info:
  title: WaLead API
  description: >-
    WaLead Public API for managing LinkedIn outreach campaigns, leads, and
    analytics
  version: 1.0.0
  contact:
    name: WaLead Support
    url: https://walead.ai
servers:
  - url: https://app-api.walead.ai/api
    description: Production server
security:
  - apiKeyAuth: []
paths:
  /v1/analytics:
    get:
      summary: Get Workspace Analytics
      description: >-
        Returns analytics for your workspace including campaigns, invitations,
        messages, and more
      parameters:
        - name: date
          in: query
          description: Filter by date (ISO 8601 format)
          schema:
            type: string
            format: date
        - name: accountId
          in: query
          description: Filter by LinkedIn account ID
          schema:
            type: string
        - name: status
          in: query
          description: Filter campaigns by status
          schema:
            type: string
            enum:
              - active
              - paused
              - completed
              - error
              - draft
      responses:
        '200':
          description: Analytics retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Analytics'
        '401':
          description: Unauthorized - Invalid API Key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Analytics:
      type: object
      description: Workspace-level analytics
    Error:
      type: object
      required:
        - statusCode
        - message
      properties:
        statusCode:
          type: integer
          description: HTTP status code
        message:
          type: string
          description: Error message
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication. Generate from your WaLead dashboard.

````