The grouped statistical report endpoint aggregates appeal statistics by sala and appeal type, returning a structured hierarchy rather than a paginated flat list. This endpoint is designed for dashboard widgets, chart generation, and summary tables where totals per sala or per appeal category are more valuable than individual row-level records. Because the response is already aggregated, it does not support pagination — the full grouped structure is always returned.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/BladimirGS/judicial-backend/llms.txt
Use this file to discover all available pages before exploring further.
At least one filter parameter must be provided. Requests without any of
idSala, idNomenclatura, idApelacion, fechaInicio, or fechaFin will receive a 400 Bad Request response.Endpoint
Authorization: Bearer <token>
Query parameters
Filter results to a specific sala (court division). Accepts the numeric ID of the sala.
Filter results to a specific nomenclatura classification. Accepts the numeric ID of the nomenclatura.
Filter results to a specific appeal type. Accepts the numeric ID of the appeal type.
Start of the date range filter applied to appeal reception timestamps. ISO 8601 format:
YYYY-MM-DD.End of the date range filter applied to appeal reception timestamps. ISO 8601 format:
YYYY-MM-DD.Response 200
"success"Human-readable result description, e.g.
"Reporte agrupado obtenido exitosamente".Container for the grouped statistical output.
GrupoEstadistica fields
The grouping label — typically the sala name (e.g.
"Sala Penal 1").Total number of appeal records within this group.
The individual statistical records belonging to this group. Each entry has the same structure as the records returned by
GET /api/estadisticas/plano.Example response body
Error responses
| Status | Meaning |
|---|---|
400 Bad Request | No valid filter parameters were provided. |
401 Unauthorized | Missing or invalid Authorization bearer token. |