{"uid":"cap_ijoahkmep50RjBK9CEhTg","slug":"citiview-text-clustering-topic-labeling-ebba51d2","name":"Citiview Text Clustering & Topic Labeling","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://agents.citiviewgroup.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_02u3CFV-Mg-IeO8cdRSjy","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 a label, size, share, and examples for each group.","exampleAgentPrompt":"Can you cluster these 200 customer reviews into topics and give me an AI-written label, the size of each group, and a few examples? Here are the reviews separated by pipes: [review1|review2|...]","exampleUseCases":[{"title":"Discover themes in survey responses","prompt":"I have 150 open-ended survey answers about our product — can you group them into topics and label each group so I can see what people are talking about most?"},{"title":"Triage support tickets by issue type","prompt":"Here are 300 support tickets separated by pipes. Can you cluster them into issue categories with a label, how many tickets are in each group, and a couple of example tickets per group?"},{"title":"Organize product reviews by topic","prompt":"I've got 80 Amazon reviews for our headphones — can you automatically group them into themes like sound quality, comfort, and battery life, and tell me what share of reviews fall into each topic?"}],"resultDescription":"Returns an array of topic clusters, each containing an AI-written label describing the theme, the count (size) and percentage share of texts in that cluster, and representative example texts from the group.","failureModes":["texts parameter missing — returns 422 validation error","more than 500 texts submitted — may be rejected or truncated","texts field malformed (not pipe-separated or array) — parse error","k value larger than number of texts — clustering may fail or collapse","payment not provided or insufficient — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to automatically discover and label themes in a batch of unstructured texts (reviews, tickets, survey answers) without knowing the categories in advance. It is better than a classifier when you don't have predefined labels, and better than pure embedding search when you need grouped summaries with human-readable labels and size statistics. Supports up to 500 texts per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-14T06:48:41.492Z","isFirstParty":false,"canonicalSlug":"citiview-text-clustering-topic-labeling-ebba51d2"}