Request
GET /api/tickets/dashboard-metricas
No request body or query parameters. The response is automatically filtered based on the role and area stored in your JWT token.
This endpoint returns richer data than the ticket dashboard, including full requester details, SLA timestamps, and subcategory information. It is intended for reporting and analytics use cases.
Role-based filtering
| Role | Tickets returned |
|---|---|
ADMIN | All tickets across all areas. |
MESA | All tickets across all areas. |
AREA | Only tickets assigned to your area. |
fn_dashboard_metricas_filtrado.
Response
Returns a200 OK with an array of detailed ticket metric objects.
Internal UUID of the ticket.
Human-readable ticket reference (e.g.
TKT-2026-00042).Full name of the requester.
Email address of the requester.
Request type (e.g.
INCIDENTE, PETICION).Category the ticket was filed under.
Subcategory for finer-grained classification, if provided.
Short subject line of the ticket, if provided.
Name of the area the ticket is currently assigned to.
Priority level name (e.g.
ALTA, MEDIA, BAJA).Total SLA hours allocated to this ticket based on its priority.
Current status of the ticket (e.g.
ABIERTO, EN_PROCESO, CERRADO).ISO 8601 timestamp of when the ticket was created.
ISO 8601 timestamp of the last update to the ticket.
ISO 8601 timestamp of the SLA deadline.
Floating-point number of hours remaining before the SLA deadline. Negative values indicate an overdue ticket.
true if the SLA deadline has passed, false otherwise.Error codes
| Status | Description |
|---|---|
401 | Missing or invalid authentication token. |