{"name":"classify","description":"Sort text into categories you define on the spot, no training run required. Send text and a labels array (2-25 options), with optional label_descriptions for extra context and a multi_label flag for cases where more than one tag applies, and get back a results array with calibrated confidence scores, a top_label, and a one-sentence reasoning string explaining the call. Confidence is honest rather than inflated: ambiguous text gets scored lower instead of forced into a category. Use it as a zero-shot text classifier, content moderation filter, or intent/topic tagging API for routing tickets, labeling feedback, or sorting incoming messages.","price":"$0.02","method":"POST","input_schema":{"properties":{"text":{"type":"string","description":"Text to classify. Max 15k chars."},"labels":{"type":"array","description":"Candidate labels the model picks from. 2-25 items, each a string up to 80 chars."},"multi_label":{"type":"boolean","description":"Boolean, default false. When true, returns every label that applies instead of just the top one."},"label_descriptions":{"type":"object","description":"Optional object mapping each label to a short description to guide classification."}},"required":["text","labels"]},"input_example":{"text":"Click here for free vacation!","labels":["spam","legitimate"]},"output_example":{"top_label":"spam"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}