{"slug":"agent-data-tools-revmesh2074-workers-dev-ai-classify-87ec1a","title":"Text classification into labels","host":"agent-data-tools.revmesh2074.workers.dev","method":"GET","resource":"https://agent-data-tools.revmesh2074.workers.dev/ai/classify","category":"other","description":"Text classification into labels. Zero-shot classification: give text and 2-20 candidate labels, get the best label, a short reason and a ranking. Use for routing tickets, tagging content, intent detection and moderation queues.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":37,"reported_calls_30d":4,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"labels":"billing,shipping,technical,other","text":"My card was charged twice for the same order."},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"labels":{"description":"Comma-separated candidate labels (2-20)","examples":["billing,shipping,technical,other"],"type":"string"},"text":{"description":"Text to classify, up to 8,000 characters","examples":["My card was charged twice for the same order."],"type":"string"}},"required":["text","labels"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"label":{"type":"string"},"model":{"type":"string"},"ranking":{"items":{"type":"string"},"type":"array"},"reason":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":37,"error":null}],"description_full":"Text classification into labels. Zero-shot classification: give text and 2-20 candidate labels, get the best label, a short reason and a ranking. Use for routing tickets, tagging content, intent detection and moderation queues.","last_updated":"2026-10-23T10:13:49.708Z","schemes":["exact"]}