{"uid":"cap_xSYJSFzzS5yokf8GncupY","slug":"brainiac-customer-support-sentiment-analyzer-a4a87a2c","name":"BRAINIAC Customer Support Sentiment Analyzer","description":"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.","url":"https://www.brainiac.software/api/v1/customer-support/sentiment-analyze?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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":{"role":{"enum":["customer","agent","system"],"type":"string"},"text":{"type":"string","maxLength":4000,"minLength":1}},"additionalProperties":false},"maxItems":40},"policies":{"type":"array","items":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string","maxLength":40,"minLength":1},"text":{"type":"string","maxLength":2000,"minLength":1}},"additionalProperties":false},"maxItems":20},"categories":{"type":"array","items":{"type":"object","required":["name","keywords"],"properties":{"name":{"type":"string","maxLength":60,"minLength":1},"keywords":{"type":"array","items":{"type":"string","maxLength":40,"minLength":1},"maxItems":20,"minItems":1}},"additionalProperties":false},"maxItems":20}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pQhfsp3zmIyjMJ6IcviTx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes sentiment of customer support tickets or messages, labeling each as positive or negative and extracting key sentiment phrases","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Flag frustrated customers in support queue","prompt":"I have a batch of 50 support tickets from this week — can you run sentiment analysis on all of them and tell me which ones are negative so I can prioritize follow-up? Here's the CSV of ticket IDs and message bodies."},{"title":"Monitor post-resolution customer satisfaction","prompt":"After we closed these 10 support tickets, the customers sent follow-up replies. Can you analyze the sentiment of their replies and tell me whether they seem satisfied or still frustrated?"},{"title":"Detect escalation risk from live chat transcript","prompt":"Here's the message thread from an ongoing support chat with a customer complaining about order #ORD-9921 — analyze the sentiment of their messages and let me know if it's trending negative so I can decide whether to escalate."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-16T18:39:11.516Z","isFirstParty":false,"canonicalSlug":"brainiac-customer-support-sentiment-analyzer-a4a87a2c"}