# BRAINIAC Customer Support Ticket Classifier

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

Classifies customer support tickets into categories, priorities, and escalation flags using supplied text, rules, and policies

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/customer-support/ticket-classify?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-customer-support-ticket-classifier-0ee52505
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N020nTJ-bZoB8svepnIV3

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-classifier-0ee52505 -d '<json body>'
```

Example prompt: Classify these customer support tickets into categories — billing, access, and defect — using our refund policy: [policy text]. Here are 10 tickets with subject lines and message bodies; flag any that need escalation and tell me the matched terms for each.

## When to prefer this

Choose this endpoint when you need to programmatically classify, prioritize, or route customer support tickets at scale without integrating a full helpdesk CRM. It is ideal for pay-per-use, no-account workflows where you want AI-powered ticket triage with custom categories and policies. Prefer it over building your own classifier when you need quick, structured output with matched-term evidence and escalation flags, especially for batch processing up to 200 tickets per call or when working from raw CSV/JSON exports.

## Known failure modes

- Ticket text too long — body exceeds 8000 character limit per ticket
- Too many tickets — array exceeds 200-item maximum
- CSV or JSON input malformed or exceeds 200,000 character limit
- Missing required mediaType or fileBase64 when using file upload
- Category list not provided, leading to unconstrained or generic classification
- Policy text ambiguous, causing inconsistent category assignments
- Payment not completed via x402/USDC, resulting in 402 response before processing

## 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

A JSON object containing each ticket's assigned category, matched terms and their counts, row number, classification status, and any escalation or priority flags. Also includes a top-level summary with total ticket count, whether any action was taken on a support system, and a limitations list clarifying that no live support system was contacted, no replies were sent, and all classifications are derived solely from the supplied text and rules.

## 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": {
  "issues": [],
  "status": "classified",
  "tickets": [
   {
    "id": "t1",
    "row": 1,
    "status": "classified",
    "matches": [
     {
      "count": 2,
      "terms": "password, log in",
      "category": "access"
     },
     {
      "count": 1,
      "terms": "broken",
      "category": "defect"
     }
    ],
    "subject": "Cannot log in",
    "category": "access"
   },
   {
    "id": "t2",
    "row": 2,
    "status": "classified",
    "matches": [
     {
      "count": 1,
      "terms": "invoice",
      "category": "billing"
     }
    ],
    "subject": "Invoice 104",
    "category": "billing"
   }
  ],
  "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.",
   "…"
  ],
  "ticketCount": 2,
  "issueResolved": false,
  "ticketsModified": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-customer-support-ticket-classifier-0ee52505/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)
