report_sla_compliance

Updated May 19, 20261 min read

SLA completion breakdowns and time-bucketed trends across processing, collection, delivery, and customer-promise stages.

The right tool when the question is "are we hitting our SLAs?" — either at the aggregate level or sliced by carrier, lane, merchant, etc.

Parameters

NameTypeRequiredDescription
tenantIdstringYesThe tenant to report on.
fromstringYesRange start.
tostringYesRange end.
shipment_typestringNoforward or reverse.
selectstringNojson-mask syntax.
merchant / location_access / country_accessstring | string[]NoStandard scope filters.
tzoffsetstringNoTimezone offset.

Returns

A composite — overall SLA completion percentages plus stage-by-stage (processing, collection, delivery, customer promise) and trend buckets.

Example agent prompts

"What's our overall SLA compliance over the last month?"

report_sla_compliance(
  tenantId="…",
  from="2026-04-07",
  to="2026-05-07"
)

"Did SLA slip this week vs last week?"

Run twice with different ranges; the agent compares.

  • report_carrier_performance — drill into the carriers behind an SLA dip.
  • report_failed_delivery_analysis — drill into the failures causing SLA misses.
  • report_transit_time_analysis — same data through the transit-time lens.

Common chain

Why did SLA slip last week?report_sla_compliancereport_carrier_performancereport_failed_delivery_analysis.

Equivalent in the dashboard

Reports → service level Performance.