Why this matters
Support load is not evenly distributed. One account can dominate support because of one unresolved bug, bad onboarding, or a product mismatch.
What you get
- Accounts ranked by tickets, errors, and affected users
- Top topics or fingerprints per account
- Revenue-aware prioritization
- Follow-up action for CS or engineering
Walk through it
Which accounts are generating the most support load?
I’ll join support events and error impact by account.
Endpoint: POST /v1/projects/:project_id/analytics/query
Exact shape: /v1/openapi.json?path=%2Fv1%2Fprojects%2F%7Bproject_id%7D%2Fanalytics%2Fquery&method=post
Custom HogQL goes in the OpenAPI-defined `query` field.
Concept fields:
query: "SELECT properties.account_id AS account, countIf(event = 'support_ticket_opened') AS tickets, countIf(event = '$exception') AS errors, count(DISTINCT distinct_id) AS affected_users FROM events WHERE timestamp > now() - INTERVAL 30 DAY GROUP BY account ORDER BY tickets DESC, errors DESC LIMIT 30"
The output
The agent returns accounts by support load and explains whether the likely fix is product, engineering, documentation, or CS.
Setting it up
Send support-ticket events from your help desk webhook or backend. Use the same account_id as analytics and errors.
Variations
- “Only show enterprise accounts.”
- “Which support topics correlate with churn?”
- “Create a weekly support-load dashboard.”