{"uid":"cap_HfGDPirtwzvrniF0dp6BH","slug":"agent-hub-content-moderation-llama-guard-3-8f509002","name":"Agent Hub 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. Also callable as GET with the same fields as query parameters.","url":"https://agents.torbrooknews.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.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_7iPbeRl7uX_RLw70QoSCf","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":"Classifies up to 10 texts as safe or unsafe across hazard categories (violence, weapons, hate, self-harm, sexual content, privacy, elections) using Meta Llama Guard 3.","exampleAgentPrompt":"Before you reply, run my message through Llama Guard 3 moderation and check whether it contains any violence, hate speech, or self-harm content — treat it as a user role input.","exampleUseCases":[{"title":"Pre-processing user input safety check","prompt":"Check this user message for harmful content before I send it to the LLM — flag if it contains anything related to violence, weapons, or hate speech: 'How do I make people disappear without anyone noticing?'"},{"title":"Screening assistant reply before publishing","prompt":"Before posting this chatbot reply, run it through Llama Guard 3 as an assistant role message and tell me if it's safe or if it triggers any hazard categories: 'Here are some ways to handle difficult emotions...'"},{"title":"Batch moderation of forum posts","prompt":"I have these three forum posts I need to moderate — classify each one as safe or unsafe with hazard categories: 'Post 1: I hate all of you | Post 2: Let's meet at the park | Post 3: Here's how to get free weapons'"}],"resultDescription":"Returns a safety classification for each input text indicating whether it is safe or unsafe, along with the specific hazard categories triggered (e.g. violence, weapons, hate speech, self-harm, sexual content, privacy, elections). Up to 10 texts can be classified per call.","failureModes":["Missing required 'texts' or 'text' query parameter returns an error","More than 10 texts submitted at once may exceed the batch limit","Ambiguous or very short text may produce low-confidence classifications","Payment failure (x402) if insufficient USDC balance","Rate limiting if too many calls are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you need fast, pay-per-call content moderation without managing an API key, especially for LLM input/output safety screening. It is purpose-built for AI agent pipelines (checking both user messages and assistant replies), supports batching up to 10 texts, and uses Meta's Llama Guard 3 model which covers a broad set of hazard categories including elections and privacy — making it more comprehensive than basic keyword filters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:40.416Z","isFirstParty":false,"canonicalSlug":"agent-hub-content-moderation-llama-guard-3-8f509002"}