# BRAINIAC Customer Support Sentiment Analyzer

> BRAINIAC Customer Support Sentiment Analyzer 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).

Analyzes sentiment of customer support tickets or messages, labeling each as positive or negative and extracting key sentiment phrases

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/customer-support/sentiment-analyze?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-sentiment-analyzer-a4a87a2c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xSYJSFzzS5yokf8GncupY

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-sentiment-analyzer-a4a87a2c -d '<json body>'
```

Example prompt: Analyze the sentiment of these two support tickets for me — ticket t1 is from a customer saying they were 'disappointed and frustrated with the delay', and ticket t2 says 'the agent was super helpful, thanks!' — label each positive or negative and pull out the key sentiment phrases.

## When to prefer this

Choose this endpoint when you need fast, pay-per-call sentiment classification of customer support tickets without setting up an account or subscription. Ideal for agents processing helpdesk queues, monitoring customer satisfaction post-resolution, or triaging inbound support volume by emotional tone. Prefer over general-purpose LLM sentiment prompts when you want structured, field-level output (per-ticket labels, phrase extraction) and a clear audit trail of what was and wasn't modified.

## Known failure modes

- Input exceeds maxLength limits (text >20000 chars, CSV/JSON >200000 chars) — validation error
- Empty input provided — minLength violation
- More than 200 tickets submitted in a single call — rejected
- File base64 encoding invalid or mediaType unsupported — schema error
- Payment not completed or insufficient USDC — 402 response, no result returned
- Ambiguous or very short ticket text may yield low-confidence sentiment labels

## 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 analyzed tickets, each labeled 'positive' or 'negative', along with extracted positive and negative phrase highlights, plus top-level metadata including total ticket count, whether any action was taken (always false — read-only), a checkedAt timestamp, and a limitations list clarifying that no support system is 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": {
  "issues": [],
  "status": "checked",
  "tickets": [
   {
    "id": "t1",
    "row": 1,
    "label": "negative",
    "subject": "",
    "negative": "disappointed, frustrated",
    "positive": ""
   },
   {
    "id": "t2",
    "row": 2,
    "label": "positive",
    "subject": "",
    "negative": "",
    "positive": "helpful, thanks"
   }
  ],
  "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": 2,
  "issueResolved": false,
  "ticketsModified": false
 }
}
```

## More

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