{"uid":"cap_uh1GIBhHpxc8528kbzDlm","slug":"agent-hub-content-moderation-llama-guard-3-1a127e2b","name":"Agent Hub 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. Also callable as GET with the same fields as query parameters.","url":"https://agents.torbrooknews.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.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_lJjEj4W557egjICeR2KDs","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":"Checks text input for harmful or policy-violating content using Llama Guard 3, returning an OpenAI-compatible moderation response with flagged status, category scores, and raw Llama Guard codes.","exampleAgentPrompt":"Can you run this comment through content moderation and tell me if it's flagged as harmful, what categories it hits, and the confidence scores: 'You're worthless and should disappear'?","exampleUseCases":[{"title":"Pre-publish user comment screening","prompt":"Before I post this user comment to the forum, check whether it contains hate speech, violence, or harassment and give me the category scores: 'people like you don't belong here.'"},{"title":"Chatbot safety filter","prompt":"Run moderation on this incoming chat message and tell me if it's flagged and which Llama Guard categories it triggered: 'I know where you live and I'm coming for you.'"},{"title":"Batch content policy check","prompt":"I need to check these three support ticket messages for policy violations — hate speech, self-harm, or sexual content — and get the flagged status and scores for each one before our team reviews them."}],"resultDescription":"Returns an OpenAI-compatible moderation object containing: a 'flagged' boolean, a 'categories' map of category names to true/false, a 'category_scores' map of category names to float confidence scores, and the raw Llama Guard 3 category codes. Accepts up to 10 inputs per call when using POST; GET accepts a single input as a query parameter.","failureModes":["Missing required 'input' parameter returns a 400-level error","Input exceeding token limits may be truncated or rejected","GET method limited to a single text input; array inputs require POST","Model parameter is accepted but ignored — model selection is fixed to Llama Guard 3","Non-text inputs (images, audio) are not supported"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible moderation responses (same schema as /v1/moderations) but want to use Llama Guard 3 as the underlying model, or when you need the raw Llama Guard category codes alongside the standard flagged/categories/category_scores fields. It is a drop-in replacement for OpenAI moderation with no API key required — pay per call at $0.002 USDC. Prefer it over OpenAI's moderation API when you want model transparency, open-weight reproducibility, or Llama Guard's specific category taxonomy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:20.680Z","isFirstParty":false,"canonicalSlug":"agent-hub-content-moderation-llama-guard-3-8f509002"}