# Small Batch Text Routing

> Small Batch Text Routing is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Classifies up to 3 short text messages into user-supplied labels in a single request, returning the original message indices and assigned labels.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-batch-topic-routing?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/small-batch-text-routing-5c470a1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3KebUNHcqdUP85i1UQ9e0

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 small-batch-text-routing-5c470a1b -d '<json body>'
```

Example prompt: Can you route these three customer messages — 'I need a refund', 'Where is my parcel?', and 'How do I reset my password?' — into one of these labels: billing, delivery, or account?

## When to prefer this

Choose this endpoint when you need to classify a small batch (1–3) of short texts into a concise set of user-defined categories in a single, low-cost API call. It is ideal for lightweight support ticket routing, chatbot intent bucketing, or feedback triage where you control the label vocabulary and messages are under 400 characters. Prefer this over single-message classifiers when you have 2–3 texts to label at once and want to minimize round-trips.

## Known failure modes

- More than 3 messages provided — request rejected (maxItems: 3)
- Fewer than 2 labels provided — request rejected (minItems: 2)
- Message text exceeds 400 characters — request rejected
- More than 6 labels provided — request rejected (maxItems: 6)
- Model may assign incorrect labels — outputs require review
- Payment of 0.01 USDC not fulfilled — request blocked by x402 paywall

## How this service works

Small Batch Text Routing: Assign each of up to three short messages to one of 2–6 supplied labels in one request. Returns original message indices and labels. Model labels require review. 0.01 USDC includes up to 3 messages.

## Output

Returns a structured response containing the original message indices and the assigned label for each message. Labels are model-generated and require human review before acting on results.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "texts": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 400,
    "minLength": 1
   },
   "default": [
    "I need a refund.",
    "Where is my parcel?"
   ],
   "maxItems": 3,
   "minItems": 1
  },
  "labels": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 30,
    "minLength": 1
   },
   "default": [
    "billing",
    "delivery",
    "other"
   ],
   "maxItems": 6,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/small-batch-text-routing-5c470a1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
