{"uid":"cap_Dh07g-aBOlKFc1f-3B3S1","slug":"jarvisclaw-rerank-api-e745362f","name":"JarvisClaw Rerank API","description":"AI API Gateway with smart routing, pay per call via x402. OpenAI-compatible. Settled in USDC on Base & Solana.","url":"https://uat.jarvisclaw.ai/v1/rerank","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.045","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.045/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.045","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xw2gMkZPE_Dfc_6usGlyq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.045","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Reranks a list of documents by relevance to a query using AI models, with pay-per-call billing via x402 settled in USDC","exampleAgentPrompt":"Rerank these 10 retrieved passages by how relevant they are to the question 'What are the side effects of ibuprofen?' — use the cohere-rerank-v3 model and return the top 5 most relevant ones.","exampleUseCases":[{"title":"RAG pipeline retrieval refinement","prompt":"I retrieved 20 chunks from my knowledge base for the query 'how do I reset my account password' — rerank them so the most relevant ones bubble to the top before I send them to the LLM for answering."},{"title":"E-commerce search result ranking","prompt":"A user searched for 'wireless noise-cancelling headphones under $200' and I have 15 product descriptions — rerank them by relevance to that query using cohere-rerank-english-v3.0 so the best matches appear first."},{"title":"Legal document relevance sorting","prompt":"I have 30 case law excerpts retrieved for the query 'breach of contract damages calculation' — rerank them by semantic relevance so I can feed only the top 8 to my summarization step."}],"resultDescription":"Returns the input documents reordered by relevance score relative to the query, typically including each document's new rank position and a relevance/confidence score indicating how well it matches the query.","failureModes":["Missing required 'query' or 'documents' field returns a 400 validation error","Invalid or unsupported model name returns an error or fallback model","Empty documents array returns an empty result or error","Payment failure via x402 (insufficient USDC balance) results in a 402 Payment Required response","Very large document arrays may exceed token limits and return a context-length error","UAT environment may have instability or rate limits not present in production"],"whenToPreferThis":"Choose this endpoint when you need to improve the precision of retrieved documents in a RAG or semantic search pipeline by reranking candidate passages against a query. It is especially useful as a second-stage retrieval step after a fast but lower-precision vector search. Prefer it when you want pay-per-call pricing settled in USDC on Base or Solana via x402 protocol without API key subscriptions. Best suited for agents that need programmatic, on-demand reranking without long-term commitments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:35.426Z","isFirstParty":false}