{"uid":"cap_T2mCuMR6BgQWQkPYoS69o","slug":"intent-detection-b06745c1","name":"Intent Detection","description":"Intent detection: classify text as a question, request, complaint, compliment, or other, with a confidence score and an alternate label. Powered by Jev, with an automatic Groq-hosted LLM fallback if Jev is slow or unavailable - under 4.5s guaranteed. Try GET /intent/sample.","url":"https://x402.agentindex.world/intent?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to classify, up to 4000 characters."}}},"responseSchema":{"type":"json","example":{"input":"Could someone take a look at why my last two orders were both delayed?","label":"request","engine":"jev","probability":0.55,"alternate_label":"question","alternate_probability":0.29}},"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_Awh-d-yPrUdr8gN_ZxLUo","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 text as a question, request, complaint, compliment, or other, returning a confidence score and alternate label within 4.5 seconds","exampleAgentPrompt":"Classify this message by intent and give me a confidence score: 'I've been waiting three weeks and my order still hasn't arrived — this is unacceptable.'","exampleUseCases":[{"title":"Triage customer support tickets","prompt":"Classify this support message by intent so I can route it correctly: 'Your app keeps crashing every time I try to upload a photo — I've lost hours of work.'"},{"title":"Filter positive feedback from complaints","prompt":"Tell me whether this user review is a complaint, compliment, or something else, and how confident you are: 'Honestly the onboarding was seamless and the team responded within minutes!'"},{"title":"Detect questions in chatbot logs","prompt":"Go through this user message and tell me if it's a question, a request, or something else — I need to know the intent and an alternate label too: 'Can someone explain how refunds work for annual subscriptions?'"}],"resultDescription":"Returns a primary intent label (question, request, complaint, compliment, or other), a confidence score between 0 and 1, and an alternate label suggesting the next most likely intent category.","failureModes":["Text exceeding 4000 characters may be rejected or truncated","Both Jev and Groq fallback unavailable — call may fail after timeout","Ambiguous or very short text may produce low-confidence or inaccurate classifications","Non-English text may yield unreliable results depending on model support","Network timeout beyond the 4.5s guaranteed SLA if both providers are degraded"],"whenToPreferThis":"Choose this endpoint when you need fast, structured intent classification with a confidence score and alternate label, particularly for customer-facing text like support tickets, chat messages, or user reviews. It is ideal when you need guaranteed sub-4.5s latency thanks to its dual-provider architecture (Jev + Groq fallback), and when you want a pay-per-call model with no subscription overhead. Prefer it over general-purpose LLM prompting when you want a consistent, schema-bound output for downstream routing logic.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:31:30.732Z","isFirstParty":false,"canonicalSlug":"intent-detection-b06745c1"}