{"uid":"cap__pjEfRPTJT2D1ZrjaPYCC","slug":"brainiac-customer-support-ticket-prioritizer-8531b8af","name":"BRAINIAC Customer Support Ticket Prioritizer","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/ticket-prioritize?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":"prioritized","tickets":[{"id":"t1","row":1,"rank":4,"impact":"Payroll for the night shift","signals":[{"detail":"The ticket supplies severity high.","signal":"high","source":"supplied_severity"},{"detail":"The customer text contains a documented critical phrase.","signal":"production down","source":"urgency_phrase"},{"detail":"The customer text contains a documented business-impact phrase.","signal":"production, payroll","source":"impact_phrase"}],"subject":"Production down","urgency":"production down","priority":"critical","impactSignals":"production, payroll"}],"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":1,"issueResolved":false,"ticketsModified":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gQ0CQdFJvCOcMTPtBpl9w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes and ranks a batch of customer support tickets by urgency, priority, and business impact using rule-based and phrase-matching signals","exampleAgentPrompt":"I have a batch of 15 customer support tickets from today — can you prioritize them by urgency and business impact so I know which ones to tackle first? Here are the tickets in JSON format with their subjects, bodies, and any severity hints the customers provided.","exampleUseCases":[{"title":"Overnight inbox triage for SaaS team","prompt":"We just came back from the weekend and have 40 support tickets piled up — can you rank them by priority and flag any that look critical or mention production being down, so our team knows where to start Monday morning?"},{"title":"Payroll or billing emergency escalation","prompt":"Sort through these 10 open tickets and tell me which ones involve something urgent like a payroll issue, payment failure, or data loss — I need to know which to escalate right now."},{"title":"Support agent queue routing","prompt":"Here are 25 tickets from our helpdesk queue with customer messages and subject lines — prioritize them by urgency so I can route the critical and high-priority ones to our senior agents first."}],"resultDescription":"Returns the tickets re-ordered by computed priority (critical, high, medium, low), each annotated with its rank, urgency phrase, impact signals, and the specific signal sources (e.g. supplied_severity, urgency_phrase, impact_phrase). Also includes a checkedAt timestamp, ticketCount, limitations disclaimer, and flags like actionTaken and issueResolved (always false — this endpoint only reads and ranks, it does not modify tickets).","failureModes":["Empty or malformed ticket input returns a validation error","Tickets with no body or subject may receive low priority by default due to insufficient signal","Exceeding 200 tickets in the array will be rejected","CSV/JSON file payloads over the size limits will be rejected","Ambiguous severity language may result in lower-than-expected priority ranking","Payment failure via x402 returns HTTP 402 and no result is delivered"],"whenToPreferThis":"Use this endpoint when you need a fast, accountless, pay-per-call AI triage of support tickets without integrating a full helpdesk platform. It is ideal for agents that aggregate tickets from multiple sources and need a neutral priority ranking before routing or escalating. Prefer this over manual triage rules when ticket volumes spike or when business-impact phrases and severity signals need to be detected automatically from free-form customer text.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:06.448Z","isFirstParty":false,"canonicalSlug":"brainiac-customer-support-ticket-prioritizer-8531b8af"}