{"uid":"cap_myHMRkmEANBYRKgF9222T","slug":"quartermaster-zero-shot-text-classifier-a6125841","name":"Quartermaster Zero-Shot Text Classifier","description":"Zero-shot text classification into caller-supplied labels; the result is validated back into your label set so agents can route on it deterministically.","url":"https://quartermaster.surewhynot.app/v1/classify","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text","labels"],"properties":{"text":{"type":"string","maxLength":8000,"description":"Text to classify"},"labels":{"type":"string","description":"Comma-separated candidate labels (2-20)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_VSNxnP1hnxT6KcCiLuN9D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies input text into one of caller-supplied labels using zero-shot AI, returning a validated label from the provided set for deterministic downstream routing.","exampleAgentPrompt":"Classify this support message — 'my order never arrived and I want a refund' — into one of these labels: billing, shipping, returns, technical-issue, general-inquiry. Give me back only the matching label so I can route it automatically.","exampleUseCases":null,"resultDescription":"Returns a single validated label from the caller-supplied label set that best fits the input text, guaranteed to be one of the provided candidates so agents can branch deterministically without additional parsing or validation.","failureModes":["Fewer than 2 or more than 20 labels provided — request rejected","Text exceeds 8000 character limit — request rejected","Ambiguous text that fits multiple labels equally — model picks one but confidence may be low","Labels are semantically identical or overlapping — classification may be inconsistent","Payment not settled — 402 response blocking access"],"whenToPreferThis":"Choose this endpoint when you need zero-shot text classification without training data, especially when you want a label guaranteed to come from your exact set (no hallucinated categories). Ideal for routing pipelines where deterministic label output is critical. Prefer over generic LLM prompting when you need validated, constrained output rather than free-form model responses.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:46:25.230Z","isFirstParty":false}