{"uid":"cap_HOD9_3Pv1_sbCTQR4TRwd","slug":"agente-jefe-text-classification-4fb08962","name":"agente-jefe Text Classification","description":"Classify text into categories you define, with a 0-1 score per category. Single-label or multi-label. Clasifica texto en las categorías que tú definas, con puntuación de 0 a 1 por categoría. Admite una sola etiqueta o multietiqueta.","url":"https://agente.revenuerecoveryai.app/v1/clasificacion?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["texto","categorias"],"properties":{"texto":{"type":"string","description":"Texto a clasificar."},"profundo":{"type":"boolean"},"categorias":{"type":"string","description":"Categorías separadas por comas, mínimo 2."},"multietiqueta":{"type":"boolean"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"uso":{"modelo":"deepseek-flash","tokens_salida":180,"tokens_entrada":236,"coste_estimado_usd":0.00016856,"tokens_entrada_cacheados":128},"confianza":0.9,"etiquetas":["soporte","urgente"],"puntuaciones":[{"score":0.95,"categoria":"soporte"},{"score":0.82,"categoria":"urgente"},{"score":0.05,"categoria":"ventas"},{"score":0.01,"categoria":"spam"}],"justificacion":"Reclamación de producto dañado sin respuesta del vendedor."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":2,"rating":{"score":"0.58","successRate":"0.67","reviews":2,"stars":"3.3","state":"rated"},"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_47CYZvyhSF2U8UxQNBEYV","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 input text into user-defined comma-separated categories, returning a confidence score between 0 and 1 for each.","exampleAgentPrompt":"Classify this customer message — 'My order arrived damaged and I want a refund' — into these categories: billing, shipping, returns, technical-support, and tell me the confidence score for each.","exampleUseCases":[{"title":"Customer support ticket routing","prompt":"Classify this incoming support ticket as one of: billing, account-issue, technical-bug, feature-request, or general-inquiry, and give me a confidence score: 'I can't log into my account after the last update.'"},{"title":"Content moderation tagging","prompt":"I need you to classify the following post into hate-speech, spam, safe, or off-topic with a 0-to-1 score for each category: 'Buy cheap followers now, limited time offer!!!'"},{"title":"Multi-label news article categorization","prompt":"Take this headline — 'Central bank raises interest rates amid inflation concerns' — and classify it across these labels: economy, politics, international, technology, health. Enable multi-label mode so it can belong to more than one."}],"resultDescription":"Returns a JSON object mapping each provided category to a confidence score between 0 and 1, indicating how strongly the input text belongs to that category. Supports single-label and multi-label output depending on the 'multietiqueta' flag.","failureModes":["Missing required 'texto' parameter — returns error","Fewer than 2 categories provided in 'categorias' — returns validation error","Malformed comma-separated categories list — may return unexpected results","Empty or whitespace-only text input — may return low-confidence scores across all categories","Payment failure (x402) — returns 402 Payment Required if USDC payment is not included"],"whenToPreferThis":"Choose this endpoint when you need lightweight, fast text classification against a custom, dynamic set of categories defined at call time without any model fine-tuning. It is particularly useful when categories are not fixed in advance and change per request. Prefer it over fixed-schema sentiment APIs when you need domain-specific labels or multi-label classification with per-category confidence scores.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":3,"lastUsedAt":"2026-08-20T20:20:36.459Z","lastSuccessfullyRanAt":"2026-08-14T04:40:33.444Z","lastHealthCheckAt":"2026-10-12T00:35:06.118Z","isFirstParty":false,"canonicalSlug":"agente-jefe-text-classification-4fb08962"}