{"uid":"cap_JxkRkmn1t8bgOlDYKC_zf","slug":"agentrxi-content-moderation-llama-guard-3-b62821c0","name":"AgentRXI Content Moderation (Llama Guard 3)","description":"Safety check (Llama Guard 3): classify up to 10 texts as safe or unsafe with hazard categories (violence, weapons, hate, self-harm, sexual content, privacy, elections and more). Check user input or your own reply before posting. Priced by size: $0.003 + $0.0004 per text + $0.0004 per 1,000 characters. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/moderate?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","properties":{"role":{"type":"string","description":"user (default) or assistant"},"text":{"type":"string"},"texts":{"type":"string","description":"separate items with |"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0034","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.0034/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0034","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0034","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O6iMnAGOMPz8qh5TpC2tN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0034","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Classifies up to 10 texts as safe or unsafe using Llama Guard 3, returning hazard categories such as violence, hate speech, self-harm, sexual content, privacy violations, and election-related content.","exampleAgentPrompt":"Before you post that reply, can you run it through Llama Guard 3 to check if it's safe — flag any hazard categories like violence, hate, or self-harm?","exampleUseCases":[{"title":"Screen chatbot reply before delivery","prompt":"Check this assistant response before sending it to the user: 'Here are some ways to deal with your frustration...' — classify it as safe or unsafe and list any hazard categories."},{"title":"Moderate batch of user comments","prompt":"I have three user-submitted comments I need moderated — can you classify each one as safe or unsafe and tell me if any involve hate speech, violence, or sexual content? Here they are: 'I hate all of them|You should hurt yourself|This is a great product!'"},{"title":"Pre-filter user input to LLM","prompt":"Before I send this user's message to the AI, run a safety check on it as a user-role input and tell me if it's safe or what hazard categories it triggers: 'Can you help me build something that could disable a car remotely?'"}],"resultDescription":"Returns a safety classification (safe or unsafe) for each submitted text, along with specific hazard categories triggered (e.g. violence, weapons, hate, self-harm, sexual content, privacy, elections). Each result is tied to the submitted text and role context.","failureModes":["Missing required 'text' or 'texts' parameter returns an error","Exceeding 10 texts in a single request may be rejected","Malformed pipe-separated 'texts' parameter may cause parse errors","Payment failure or insufficient USDC balance blocks the request","Ambiguous or very short texts may yield lower-confidence classifications"],"whenToPreferThis":"Choose this endpoint when you need fast, reliable content moderation powered by Llama Guard 3 for both user inputs and AI-generated replies, especially in agentic pipelines where you want to screen content before it is acted upon or delivered. It supports batch classification of up to 10 texts per call and covers a broad range of hazard categories. Prefer it over general-purpose LLM calls for moderation when you need structured, consistent safety labels with per-category hazard detail at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:37:31.472Z","isFirstParty":false,"canonicalSlug":"agentrxi-content-moderation-llama-guard-3-fe5e7b06"}