# Return Reason - Grouped Dataset Split

> Return Reason - Grouped Dataset Split 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-12).

Splits up to 200 labelled return-reason text records into a grouped train/test dataset partition for local naive-Bayes baseline evaluation.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-return-reason-dataset-split?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/return-reason-grouped-dataset-split-c971dad8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rTm2f-T5D26rHl9I0Mt64

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 return-reason-grouped-dataset-split-c971dad8 -d '<json body>'
```

Example prompt: Split these 12 labelled return-reason records — covering damaged, wrong_item, unwanted, and other categories — into a grouped dataset partition so I can run a naive-Bayes baseline evaluation locally.

## When to prefer this

Choose this endpoint when you have a small labelled dataset of return-reason text (up to 200 records) and need a quick, cheap grouped train/test split for local naive-Bayes baseline evaluation. Ideal for e-commerce or logistics teams running lightweight ML experiments without requiring a hosted or foundation model. Not suitable for large-scale datasets, deep learning pipelines, or scenarios requiring a trained inference model as output.

## Known failure modes

- Fewer than 2 records supplied — minimum item count not met
- More than 200 records supplied — exceeds maxItems limit
- Invalid or missing 'actual' enum value (must be one of: damaged, wrong_item, unwanted, other)
- Record text exceeds 1000 characters — truncation or rejection
- Missing required fields (id, text, actual) on any record — validation error
- Payment failure via x402 protocol — endpoint returns 402 with payment details

## How this service works

Return reason - Grouped dataset split: Grouped dataset split for Return reason. Up to 200 supplied labelled text records. Local dataset tools, evaluation and small naive-Bayes baselines; no hosted model or foundation-model training. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded grouped dataset split deliverable.

## Output

A grouped dataset split deliverable containing the supplied labelled text records (up to 200) partitioned by return reason category (damaged, wrong_item, unwanted, other), suitable for local naive-Bayes baseline training and evaluation. No hosted model or foundation-model training is performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "enum": [
       "damaged",
       "wrong_item",
       "unwanted",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "damaged sample document number 0 for this supplied dataset.",
     "actual": "damaged"
    },
    {
     "id": "example-0-1",
     "text": "damaged sample document number 1 for this supplied dataset.",
     "actual": "damaged"
    },
    {
     "id": "example-0-2",
     "text": "damaged sample document number 2 for this supplied dataset.",
     "actual": "damaged"
    },
    {
     "id": "example-1-0",
     "text": "wrong_item sample document number 0 for this supplied dataset.",
     "actual": "wrong_item"
    },
    {
     "id": "example-1-1",
     "text": "wrong_item sample document number 1 for this supplied dataset.",
     "actual": "wrong_item"
    },
    {
     "id": "example-1-2",
     "text": "wrong_item sample document number 2 for this supplied dataset.",
     "actual": "wrong_item"
    },
    {
     "id": "example-2-0",
     "text": "unwanted sample document number 0 for this supplied dataset.",
     "actual": "unwanted"
    },
    {
     "id": "example-2-1",
     "text": "unwanted sample document number 1 for this supplied dataset.",
     "actual": "unwanted"
    },
    {
     "id": "example-2-2",
     "text": "unwanted sample document number 2 for this supplied dataset.",
     "actual": "unwanted"
    },
    {
     "id": "example-3-0",
     "text": "other sample document number 0 for this supplied dataset.",
     "actual": "other"
    },
    {
     "id": "example-3-1",
     "text": "other sample document number 1 for this supplied dataset.",
     "actual": "other"
    },
    {
     "id": "example-3-2",
     "text": "other sample document number 2 for this supplied dataset.",
     "actual": "other"
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/return-reason-grouped-dataset-split-c971dad8/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)
