---
title: "Get Commercial Process Stats"
method: GET
path: "/api/admin/reports/commercial-process/stats"
tags: ["copilot_frontend", "admin", "admin-reports", "commercial-process"]
---

# Get Commercial Process Stats

`GET /api/admin/reports/commercial-process/stats`

Obtiene estadísticas del proceso comercial.

**🔒 Endpoint Protegido:** Requiere autenticación JWT y rol 'admin'

Returns:
    Estadísticas del proceso comercial

## Query parameters

- `fecha_inicio` string, nullable — Fecha mínima (YYYY-MM-DD)
- `fecha_fin` string, nullable — Fecha máxima (YYYY-MM-DD)

## Response `200`

Successful Response

- StatsResponse — Estadísticas del proceso comercial
  - `total_citas` integer, required
  - `citas_app` integer, required
  - `citas_copilot` integer, required
  - `citas_manual` integer, required
  - `por_estado` object, required
  - `ultima_sincronizacion` string, nullable, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) · [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hogarsolar/hogarsolar-backend-api/revisions/d9861e46bef8/schema)
