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

# Get pipeline stats

> Returns aggregate statistics for a pipeline.



## OpenAPI

````yaml /api-reference/voxys_crm_swagger.json get /api/v1/accounts/{account_id}/funnels/{id}/stats
openapi: 3.1.0
info:
  title: Voxys Connect - CRM APIs
  description: >-
    CRM API documentation for Voxys Connect, covering Leads, Companies,
    Pipelines, Follow-up Tasks, and Conversation CRM.
  version: 1.0.0
  contact:
    email: support@voxys.ai
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://connect.voxys.ai
security:
  - userApiKey: []
tags:
  - name: Leads
    description: >-
      Manage CRM leads including creation, status changes, notes, and
      conversion.
  - name: Companies
    description: Manage companies, their contacts, timelines, and duplicate merging.
  - name: Pipelines
    description: Manage sales funnels (pipelines), their stages, and kanban cards.
  - name: Follow-up Tasks
    description: >-
      Create and manage follow-up tasks attached to leads, deals, or
      conversations.
  - name: Conversation CRM
    description: >-
      CRM panel within a conversation: link pipelines, leads, and convert to
      deal.
paths:
  /api/v1/accounts/{account_id}/funnels/{id}/stats:
    parameters:
      - $ref: '#/components/parameters/account_id'
      - name: id
        in: path
        required: true
        schema:
          type: integer
    get:
      tags:
        - Pipelines
      summary: Get pipeline stats
      description: Returns aggregate statistics for a pipeline.
      operationId: get-funnel-stats
      responses:
        '200':
          description: Pipeline stats.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/funnel_stats'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
        '404':
          description: Pipeline not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/error_response'
components:
  parameters:
    account_id:
      name: account_id
      in: path
      required: true
      schema:
        type: integer
      description: The numeric ID of the account.
  schemas:
    funnel_stats:
      type: object
      properties:
        total_cards:
          type: integer
          example: 45
        total_value:
          type: number
          format: float
          example: 250000
        won_cards:
          type: integer
          example: 12
        won_value:
          type: number
          format: float
          example: 80000
        lost_cards:
          type: integer
          example: 5
        conversion_rate:
          type: number
          format: float
          example: 26.7
    error_response:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        API access token for authentication. Obtain from your Voxys Connect
        profile settings.

````