{"uid":"cap_jSSOx-_8NkuxB5vhTPhdU","slug":"netintel-text-classifier-92c59dd3","name":"NetIntel Text Classifier","description":"Classify text into caller-supplied categories using Claude Haiku — zero-shot classification where the agent provides the label set and gets back the best-matching category with confidence and per-label scores, so agents can route, tag, and triage content with their own taxonomy in one call.","url":"https://netintel-production-440c.up.railway.app/classify","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text","labels"],"properties":{"text":{"type":"string","description":"The text to classify — a support ticket, email, message, document snippet, etc. Max 10000 words or 50KB."},"labels":{"type":"array","items":{"type":"string"},"description":"2-20 candidate category labels to classify the text into. The chosen label(s) are always drawn from this set."},"multi_label":{"type":"boolean","description":"If true, allow multiple matching labels and return a labels array. Defaults to false (single best label)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"mode":{"type":"string","description":"single_label or multi_label"},"grade":{"type":"string","description":"Letter grade A-F"},"label":{"type":"string","description":"Best matching label (single-label mode)"},"score":{"type":"number","description":"Quality score 0-100"},"labels":{"type":"array","items":{"type":"string"},"description":"Matching labels (multi-label mode)"},"scores":{"type":"object","description":"Per-label relevance scores (0-1) for every provided label"},"findings":{"type":"array","items":{"type":"string"},"description":"Informational findings (e.g. low_confidence)"},"confidence":{"type":"number","description":"Confidence for the chosen label (single-label mode)"},"labels_provided":{"type":"array","items":{"type":"string"},"description":"Echo of the candidate labels supplied by the caller"}}}}}}},"responseSchema":{"type":"json","example":{"mode":"single_label","grade":"A","label":"billing","score":100,"scores":{"billing":0.91,"general":0.03,"technical":0.06},"findings":[],"confidence":0.91,"labels_provided":["billing","technical","general"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hDU0j_jjIikL9cJXvvuXJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies text into one or more user-supplied labels with confidence scores and a letter grade","exampleAgentPrompt":"Classify this support message into one of these three labels — billing, technical, or general — and give me a confidence score and letter grade: 'I was charged twice for my subscription last month and need a refund.'","exampleUseCases":[{"title":"Real-time support ticket routing","prompt":"Route this incoming support email into billing, account, or technical categories with confidence scores so we can send it to the right team immediately: 'My API calls have been failing all morning and I haven't received a response from your support.'"},{"title":"Customer feedback classification","prompt":"Classify each piece of customer feedback into praise, constructive criticism, or complaint and give me a grade on how satisfied the customer sounds: 'Your product works great but the onboarding process was confusing and took way too long.'"},{"title":"Message content moderation","prompt":"Scan this user-generated message and tell me if it's promotional, spam, legitimate feedback, or off-topic with a confidence score: 'Click here to buy cheap followers and boost your engagement today!'"}],"resultDescription":"Returns a JSON object with the winning label, a letter grade (e.g. A), a 0-100 score, per-label probability scores, overall confidence (0-1), a findings array, and the list of labels that were evaluated.","failureModes":["Missing or empty text body returns 400 or validation error","Invalid or empty labels array causes malformed classification","Payment not attached or insufficient USDC balance returns HTTP 402","Ambiguous text with near-equal scores may yield low confidence and low grade","Unsupported mode value causes request rejection"],"whenToPreferThis":"Use this endpoint when you need fast, pay-per-call text classification against a custom label set with confidence scoring and a quality grade — especially when you want zero-shot flexibility without training a model, or when routing support tickets, emails, or messages into predefined buckets in real time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:40:39.467Z","isFirstParty":false}