# Citiview Text Clustering & Topic Labeling

> Citiview Text Clustering & Topic Labeling is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-14).

Groups up to 500 texts into AI-labeled topic clusters, returning a label, size, share, and examples for each group.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/cluster?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-text-clustering-topic-labeling-ebba51d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ijoahkmep50RjBK9CEhTg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability citiview-text-clustering-topic-labeling-ebba51d2
```

Example prompt: 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|...]

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-text-clustering-topic-labeling-ebba51d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
