Get Ticket Metrics
get_ticket_metricsRetrieve elapsed-time metrics—first reply, resolution, wait and on-hold times, reopens, replies—for up to 100 Zendesk tickets in one call, even without SLA coverage.
Instructions
Read the elapsed-time metrics (reply, resolution, wait and on-hold times, reopens, replies) of up to 100 tickets in one call. Each ticket gets first reply, first and full resolution, agent wait, requester wait and on-hold times in calendar and business minutes, plus reopen, reply, assignee-station and group-station counts and the key timestamps (assigned, solved, latest comment). These are facts Zendesk records on every ticket, so they are available even on tickets no SLA policy covers; they say how long things took, not how long is left — for the live breach countdown use get_ticket, search_tickets or list_sla_alerts. A duration still running reads "not reached yet". Read-only; tickets the caller cannot see are reported as such rather than failing the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticket_ids | Yes | Ticket IDs to read metrics for, 1 to 100 numeric ids (duplicates are read once), as returned by search_tickets, list_tickets or get_view_tickets. The answer keeps this order. |