{"uid":"cap_8pF7OCM4ySlMMfvGRzID7","slug":"agentrxi-answer-grader-a7fb43dc","name":"AgentRXI Answer Grader","description":"Answer grader: scores a draft answer 0-10 against the question, a rubric and/or source URLs, lists factual errors and unsupported claims with fixes, and returns an improved answer. A self-check before an agent ships. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/grade?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"],"type":"string"},"queryParams":{"type":"object","required":["answer"],"properties":{"answer":{"type":"string"},"rubric":{"type":"string"},"sources":{"type":"string","description":"| separated URLs"},"question":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XXIGYRv5aTxZxsWBqz4c1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores a draft answer 0-10 against a question, rubric, and/or source URLs, identifies factual errors and unsupported claims with fixes, and returns an improved answer.","exampleAgentPrompt":"Before I send this out, can you grade my draft answer to the question 'What causes inflation?' against this rubric — 'must cite monetary policy and supply chain factors' — and using these two sources: https://fed.org/inflation and https://imf.org/causes? Score it 0-10, flag any factual errors or unsupported claims, and give me an improved version.","exampleUseCases":[{"title":"Pre-publish QA for AI-generated content","prompt":"I just had my AI write an answer to 'What are the health benefits of omega-3 fatty acids?' — can you grade it against these source URLs: https://nih.gov/omega3 and https://mayoclinic.org/omega3? Score it out of 10, point out any unsupported claims, and give me a better version I can actually publish."},{"title":"Rubric-based student answer evaluation","prompt":"Grade this student's answer to 'Explain the causes of World War I' against this rubric: 'must mention assassination of Franz Ferdinand, alliance systems, and imperialism.' Score it 0-10, list any factual errors, and return a corrected version."},{"title":"Agent self-check before responding to user","prompt":"Before I send my response to the user's question 'How does HTTPS encryption work?', run a quality check on my draft answer — score it out of 10, flag anything factually wrong or unsupported, and give me an improved version I can confidently deliver."}],"resultDescription":"Returns a numeric score from 0-10 for the answer quality, a list of factual errors and unsupported claims each paired with suggested corrections, and a rewritten improved version of the answer that addresses the identified issues.","failureModes":["Missing required 'answer' parameter returns an error","Inaccessible or invalid source URLs may result in unchecked claims for those sources","Very long answers or many source URLs may increase latency or hit size limits","Ambiguous or missing question/rubric may produce lower-quality grading feedback","Network timeouts when fetching source URLs during claim verification"],"whenToPreferThis":"Use this endpoint when an AI agent needs to self-verify a draft answer before delivering it to a user — especially when factual accuracy matters, a rubric must be satisfied, or specific source documents must support the claims. Prefer this over general LLM self-critique when you want a structured 0-10 score, explicit error listings with fixes, and a ready-to-use improved answer in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:32.749Z","isFirstParty":false,"canonicalSlug":"agentrxi-answer-grader-a7fb43dc"}