{"slug":"x402-agentindex-world-classify-98f5a1","title":"Text classification with your own custom labels (2-20)","host":"x402.agentindex.world","method":"POST","resource":"https://x402.agentindex.world/classify","category":"other","description":"Text classification with your own custom labels (2-20) - categorize a support ticket, a review, or any text into the best-fitting label, with a confidence score and an alternate label. Powered by Jev, falling back to a Groq-hosted LLM if Jev is slow or unavailable - under 4.5s guaranteed. Try GET /c","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":933,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"labels":["billing","technical","account","other"],"text":"I was charged twice for my subscription this month."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"labels":{"description":"2 to 20 candidate labels, your own choice of wording.","items":{"type":"string"},"maxItems":20,"minItems":2,"type":"array"},"text":{"description":"Text to classify, up to 4000 characters.","type":"string"}},"required":["text","labels"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"alternate_label":{"description":"The second-best label, if any.","type":["string","null"]},"alternate_probability":{"description":"Confidence in `alternate_label`, if known.","type":["number","null"]},"engine":{"description":"Which engine answered: Jev (primary) or the Groq-hosted LLM fallback.","enum":["jev","fallback"],"type":"string"},"label":{"description":"The best-fitting label.","type":"string"},"probability":{"description":"Confidence in `label`, 0 to 1.","type":"number"},"x402_receipt":{"description":"Billing and provenance receipt for this call.","type":"object"}},"required":["label","probability","engine"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-30","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":933,"error":null}],"description_full":"Text classification with your own custom labels (2-20) - categorize a support ticket, a review, or any text into the best-fitting label, with a confidence score and an alternate label. Powered by Jev, falling back to a Groq-hosted LLM if Jev is slow or unavailable - under 4.5s guaranteed. Try GET /classify/sample.","last_updated":"2026-09-30T17:33:49.181Z","schemes":["exact"]}