# BRAINIAC Customer Support Ticket Deduplicator

> BRAINIAC Customer Support Ticket Deduplicator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-17).

Analyzes a batch of customer support tickets and identifies duplicate or near-duplicate pairs with confidence scores and reasoning.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/customer-support/ticket-deduplicate?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-customer-support-ticket-deduplicator-e0e54194
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HAaOOWW1za9JcK-9smEE9

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 brainiac-customer-support-ticket-deduplicator-e0e54194 -d '<json body>'
```

Example prompt: I have 50 support tickets exported from our help desk — can you go through them and find any duplicates or near-duplicates, grouping ones that are clearly the same issue from the same or different customers?

## When to prefer this

Use this endpoint when you need to identify duplicate or near-duplicate support tickets in a batch without modifying any external system. Ideal for pre-processing imported ticket data, cleaning up high-volume inbound queues, or auditing for repeat submissions before agent assignment. Prefer this over manual review or full NLP pipelines when you want a lightweight, pay-per-call solution with no account setup required and results returned with confidence scores and plain-language explanations.

## Known failure modes

- Ticket array exceeds 200-item limit — request rejected
- CSV or JSON payload exceeds 200,000 character limit — truncation or rejection
- Tickets missing both 'body' and 'text' fields may not be compared accurately
- Very short or generic ticket subjects may produce low-confidence or false-positive pairs
- Malformed base64 file content causes parsing failure
- Ambiguous near-duplicates reported with low confidence requiring human review

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a list of duplicate ticket pairs, each with left and right ticket IDs, row numbers, the deduplication rule triggered, a confidence score (0–1), a human-readable detail string, and the match level (e.g. 'confirmed'). Also returns overall status, timestamp, ticket count, a list of any processing issues, and a limitations disclaimer clarifying no support system was modified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/csv",
      "application/json",
      "text/plain"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000,
   "minLength": 1
  },
  "text": {
   "type": "string",
   "maxLength": 20000,
   "minLength": 1
  },
  "tickets": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "body": {
      "type": "string",
      "maxLength": 8000,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "maxLength": 8000,
      "minLength": 1
     },
     "email": {
      "type": "string",
      "maxLength": 254,
      "minLength": 1
     },
     "reply": {
      "type": "string",
      "maxLength": 8000,
      "minLength": 1
     },
     "impact": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "orderId": {
      "type": "string",
      "maxLength": 80,
      "minLength": 1
     },
     "subject": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
     },
     "customer": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1
     },
     "messages": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "role",
        "text"
       ],
       "properties": {
        "role": {
         "enum": [
          "customer",
          "agent",
          "system"
         ],
         "type": "string"
        },
        "text": {
         "type": "string",
         "maxLength": 4000,
         "minLength": 1
        }
       },
       "additionalProperties": false
      },
      "maxItems": 40
     },
     "severity": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     }
    },
    "additionalProperties": false
   },
   "maxItems": 200
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "text"
    ],
    "properties": {
   
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pairs": [
   {
    "rule": "duplicate_text",
    "level": "confirmed",
    "detail": "The subject and customer text match, and both tickets use the same email address.",
    "leftId": "t1",
    "leftRow": 1,
    "rightId": "t2",
    "rightRow": 2,
    "confidence": 0.99
   }
  ],
  "issues": [],
  "status": "checked",
  "checkedAt": "2026-11-03T12:00:00.000Z",
  "actionTaken": false,
  "limitations": [
   "No support system was contacted or changed.",
   "A ticket is not marked resolved, and no reply is sent.",
   "Policies, account details, and customer history are not invented.",
   "A category, priority, or escalation flag comes only from the supplied text and the documented rules.",
   "A similar ticket is a suggestion with a confidence level, not a merged case."
  ],
  "ticketCount": 3,
  "issueResolved": false,
  "ticketsModified": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-customer-support-ticket-deduplicator-e0e54194/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
