{"uid":"cap_PzCBDG4YWFdUQHDC5ESlS","slug":"agentrxi-content-moderation-llama-guard-3-fe5e7b06","name":"AgentRXI Content Moderation (Llama Guard 3)","description":"OpenAI-compatible moderation (Llama Guard 3): same response shape as OpenAI /v1/moderations with flagged, categories and category_scores, plus the raw Llama Guard codes. Up to 10 inputs per call. Priced by size: $0.003 + $0.0004 per input + $0.0004 per 1,000 characters. Also callable as GET with the same fields as query parameters.","url":"https://agentrxi.com/v1/moderations?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":["input"],"properties":{"input":{"type":"string","description":"Text to check (POST also accepts an array of up to 10)"},"model":{"type":"string","description":"Ignored"}}}},"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_ZGm_p4eDP9iWhRjwtHlYM","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":"Checks text for harmful or policy-violating content using Llama Guard 3, returning OpenAI-compatible moderation results with flagged status, category labels, category scores, and raw Llama Guard codes.","exampleAgentPrompt":"Can you check this message for harmful content — 'You should hurt yourself and others' — and tell me if it gets flagged, which categories triggered, and the confidence scores?","exampleUseCases":[{"title":"Chatbot input safety filter","prompt":"Before my chatbot responds, screen this user message for hate speech, violence, or self-harm: 'I want to kill everyone at my office.' Tell me if it's flagged and which categories triggered."},{"title":"User-generated content review","prompt":"A user just submitted this comment to my forum: 'Here's how to make a bomb at home.' Run content moderation on it and give me the category scores so I can decide whether to block it."},{"title":"Bulk message compliance check","prompt":"I have this support ticket to review before escalating: 'You're all idiots and I hope your company burns down.' Check it against Llama Guard 3 and return the flagged status, categories, and raw guard codes."}],"resultDescription":"Returns an OpenAI-compatible moderation response object containing: a 'flagged' boolean, a 'categories' object mapping harm category names to booleans, a 'category_scores' object mapping category names to confidence scores (0–1), and raw Llama Guard 3 classification codes. Up to 10 inputs can be submitted per call (POST) or one via GET.","failureModes":["Missing required 'input' parameter returns a 400 validation error","Input exceeding batch limit of 10 items per POST call may be rejected","Payment failure or insufficient USDC balance results in 402 Payment Required","Very long inputs increase cost due to per-1000-character pricing","Network timeout for extremely large batches"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible moderation output (drop-in replacement for /v1/moderations) but want Llama Guard 3 as the underlying model, or when you need the raw Llama Guard category codes alongside standard scores. Ideal for pay-per-call usage without an OpenAI account, or when cost transparency per call matters. Prefer over generic LLM prompting for moderation since it returns structured, normalized scores rather than free-text verdicts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:02.931Z","isFirstParty":false,"canonicalSlug":"agentrxi-content-moderation-llama-guard-3-fe5e7b06"}