{"uid":"cap_QJy0HP5aU23Wd-iTKOMPd","slug":"ticket-cluster-support-ticket-theme-clustering-1746f6f2","name":"Ticket Cluster — Support Ticket Theme Clustering","description":"817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.","url":"https://x402.agentutility.ai/ticket-cluster?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["tickets"],"properties":{"tickets":{"type":"array","description":"1-200 support ticket texts (strings) to cluster by theme. Each ticket max 2,000 chars."},"max_clusters":{"type":"number","description":"Maximum number of clusters to return. Default 8, max 30."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"model":{"type":"string"},"source":{"type":"string"},"clusters":{"type":"array","items":{"type":"object","properties":{"count":{"type":"integer"},"label":{"type":"string"},"sample":{"type":"string"},"ticket_indexes":{"type":"array","items":{"type":"integer"}}}}},"ticket_count":{"type":"integer"},"cluster_count":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"model":"hermes-3-llama-3.1-405b","source":"morpheus","clusters":[{"count":2,"label":"login issues","sample":"can't log in to my account","ticket_indexes":[0,2]},{"count":1,"label":"billing","sample":"you charged me twice this month","ticket_indexes":[1]}],"ticket_count":3,"cluster_count":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iBz85G_ls5SAaC_0zni-2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Groups a batch of support ticket texts into thematic clusters using LLM-based analysis, returning labeled groups with ticket indexes and counts","exampleAgentPrompt":"Cluster these 50 support tickets by theme and return up to 10 groups — I want to know which issues are most common so I can triage them: [ticket texts array]","exampleUseCases":[{"title":"Support inbox triage for agent fleet","prompt":"I have 120 customer support tickets from this week — can you cluster them into up to 10 themes so I can see which problems are happening most and assign teams accordingly?"},{"title":"Product feedback pattern discovery","prompt":"Here are 80 user feedback submissions from our app — group them by common themes with up to 8 clusters so we can figure out what features people are complaining about most."},{"title":"Weekly helpdesk report automation","prompt":"Take these 200 helpdesk tickets from the past 7 days and cluster them into topic groups — no more than 15 clusters — so I can generate a summary report of the main issue categories this week."}],"resultDescription":"Returns a JSON object with the model used, source, total ticket count, cluster count, and an array of clusters each containing a label (e.g. 'login issues'), a sample ticket text, the count of tickets in that cluster, and an array of ticket indexes mapping back to the original input array.","failureModes":["Exceeding 200 tickets per call returns a validation error","Individual tickets over 2,000 characters may be truncated or rejected","Requesting more than 30 max_clusters returns an error","Ambiguous or very short tickets may be misclustered into catch-all groups","LLM unavailability on the Morpheus backend returns a 5xx error","Empty tickets array returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need to automatically organize a batch of unstructured support ticket or feedback texts into meaningful thematic groups without any pre-defined taxonomy. It is especially useful for support ops automation, weekly reporting, triage workflows, or any scenario where you receive a volume of text submissions and want to surface recurring themes. Prefer this over manual tagging or simpler keyword-based grouping when tickets are free-form prose. It supports up to 200 tickets per call and up to 30 clusters, making it suitable for medium-scale batch operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T06:40:23.550Z","isFirstParty":false,"canonicalSlug":"ticket-cluster-support-ticket-theme-clustering-1746f6f2"}