read
cs

One customer-service analytics report, with the numbers the matching Magistry page shows. `report`: `overview` (/cs/anal

Changed on

One customer-service analytics report, with the numbers the matching Magistry page shows. report: overview (/cs/analytics/overview: daily inbound volume, categories, first-response p50/p90, top product signals, recurring clusters, threads needing attention), tickets (/cs/analytics/tickets: the same plus the weekday x hour inbound heatmap, tag trends and routing-rule hits), agents (per-teammate assigned/closed/open and average first response, trailing 30 days), satisfaction (customer-satisfaction surveys over 90 days: responses, surveys scheduled and actually delivered, response rate, score distribution), insights (clusters, product signals, tag trends), categories (inbound counts per category; pass category for that category's recent messages) and stats (open threads, deflection and satisfaction score over 30 days, /cs/settings/satisfaction). days sets the window for the sections that take one (default: the mailbox backfill window, as the pages use); every report states its window_days. unreadable names a section whose read raised. Several sections come back empty rather than raising when their read fails, so an empty section is not proof of zero.

post/api/v1/tools/cs_analytics_get

Request

  • Base URL
    https://app.magistry.io
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://app.magistry.io/api/oauth/authorize
      Token URLhttps://app.magistry.io/api/oauth/token
      Scopescs:read

Request body

object required
report, 'overview' | 'agents' | 'satisfaction' | 'tickets' | 'insights' | 'categories' | 'stats' required
days, integer

Window in days for volume, categories, response time and product signals.

category, string

categories only: list this category's recent inbound messages.

Response

Tool result

object required
ok, boolean required
result, unknown required

Changes

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    • warning

      added the new method_not_allowed enum value to the error response property for the response status

    11 more changes in this revision