# BRAINIAC Customer Support Escalation Detector

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

Analyzes customer support tickets or conversation messages to detect escalation signals such as legal threats, churn intent, or high-severity language

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/customer-support/escalation-detect?utm_source=zero.xyz
- Price: $0.04/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-escalation-detector-c9925000
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SkwXBL4jBfDWyHmTpJbSU

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-escalation-detector-c9925000 -d '<json body>'
```

Example prompt: Can you check these support tickets and tell me which ones have escalation signals — like legal threats, mentions of lawyers, or strong churn intent? Here are the tickets: ticket t1 from customer John, 'I'm going to get my lawyer involved if this isn't fixed today', and ticket t2 from Sarah, 'Thanks for the help, that resolved it.'

## When to prefer this

Use this endpoint when you need a lightweight, no-account, pay-per-call escalation signal without integrating a full CRM or helpdesk platform. Ideal for AI agents doing real-time triage, batch scanning of support queues, or automated routing workflows where the agent needs to know which tickets require human intervention. Prefer this over general-purpose LLM prompting when you want consistent rule-based escalation detection with explicit rule labels and structured output.

## Known failure modes

- Empty or malformed ticket input returns a validation error
- Text exceeding maxLength limits (8000 chars per message, 200 tickets max) is rejected
- No escalation signals found returns potential:false for all tickets with empty issues array
- Ambiguous or low-signal text may produce false negatives (missed escalations)
- Supplying no tickets, messages, text, json, or csv results in an error due to missing input

## 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 JSON object with a list of evaluated tickets each labeled with potential escalation (true/false), the rule that triggered (e.g. 'escalation_phrase'), a human-readable detail explaining why, plus top-level flags for whether any ticket was escalated, whether an action was taken, whether tickets were modified, and a checkedAt timestamp. Also includes a limitations array clarifying what the service did NOT do (e.g. did not contact any support system).

## 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": "checked",
  "tickets": [
   {
    "id": "t1",
    "row": 1,
    "rule": "escalation_phrase",
    "detail": "The customer text contains: lawyer.",
    "potential": true
   },
   {
    "id": "t2",
    "row": 2,
    "rule": "",
    "detail": "No escalation signal was found in the supplied text.",
    "potential": false
   }
  ],
  "checkedAt": "2026-11-03T12:00:00.000Z",
  "escalated": false,
  "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": 2,
  "issueResolved": false,
  "ticketsModified": false
 }
}
```

## More

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