{"uid":"cap_6PJa-3jV0QXj8Hr89fLLY","slug":"agentrxi-text-clustering-567ca469","name":"AgentRXI Text Clustering","description":"Cluster and label: groups up to 500 texts (reviews, tickets, survey answers, search results) into topics with an AI-written label, size, share and examples for each group. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/cluster?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["texts"],"properties":{"k":{"type":"integer","description":"Number of groups (auto)"},"texts":{"type":"string","description":"| separated or an array"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e7rlaj1VumGbTb0TUs7zS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Groups up to 500 texts into AI-labeled topic clusters, returning label, size, share, and examples for each group","exampleAgentPrompt":"Can you cluster these 12 customer reviews into topics and give each group an AI-written label, plus how many reviews fall into each? Here are the reviews separated by pipes: 'Fast delivery|Great packaging|Product broke after 1 day|Shipping was slow|Love the color|Poor quality control|Arrived on time|Terrible customer service|Beautiful design|Item missing from box|Quick dispatch|Looks exactly like the photo'","exampleUseCases":[{"title":"Discovering themes in survey responses","prompt":"I have 80 open-ended survey answers about employee satisfaction — can you group them into topics and label each group, so I can see what themes come up most? Here they are separated by pipes: [list of answers]"},{"title":"Triaging support ticket backlog","prompt":"We have 200 untagged support tickets and I need to understand what issues customers keep running into — can you cluster them into groups and give each cluster an AI label and the percentage of tickets it covers?"},{"title":"Organizing product review insights","prompt":"Here are 50 Amazon reviews for our new headphones, pipe-separated — please group them into distinct topics with a label for each, and show me 2-3 example reviews per group so I can see what customers care about most."}],"resultDescription":"Returns a list of clusters, each with an AI-written label describing the topic, the number of texts in that cluster, its share (percentage) of the total, and representative example texts drawn from the input.","failureModes":["Missing required 'texts' query parameter returns a validation error","Exceeding the 500-text limit may result in truncation or an error","Very short or highly uniform texts may produce poor cluster separation","If k is specified but exceeds the number of distinct texts, clustering quality degrades","Network or payment failure (x402) returns a 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you have a batch of short-to-medium texts (reviews, tickets, survey answers) and need automatic topic discovery with human-readable labels, without having to define categories upfront. It is ideal for exploratory analysis where you do not know the categories in advance. Prefer it over manual tagging or classification endpoints when the taxonomy is unknown and you want AI-generated group names alongside quantitative breakdown.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:16.036Z","isFirstParty":false,"canonicalSlug":"agentrxi-text-clustering-567ca469"}