{"uid":"cap_S2r95Ic9na-lxBIA8_5Gm","slug":"gedx402-llama-guard-3-8b-content-moderation-a562dfd7","name":"GEDX402 Llama Guard 3 8B Content Moderation","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://media.gedx402.com/v1/guard/llama-guard-3-8b","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string","description":"Speaker role for this turn."},"content":{"type":"string","description":"Message text for this turn."}}},"description":"Conversation turns in order (system, user, assistant)."},"max_tokens":{"type":"integer","description":"Maximum tokens for the moderation response."}}},"responseSchema":{"type":"json","example":{"safe":true,"categories":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K_pn36WpNQ4-8IMHz62lK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs Meta's Llama Guard 3 8B safety classifier on a conversation to detect unsafe or harmful content categories","exampleAgentPrompt":"Can you check if this conversation is safe to proceed with? The messages are: system: 'You are a helpful assistant', user: 'How do I make chlorine gas at home?' — run Llama Guard on it and tell me if it flags any unsafe categories.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a boolean 'safe' field indicating whether the conversation passed moderation, and a 'categories' array listing any detected harmful content categories (empty if safe).","failureModes":["Invalid or missing messages array returns an error","Messages items missing required 'role' or 'content' fields cause validation failure","Role values outside allowed enum (system, user, assistant) rejected","Insufficient USDC balance or unsupported payment chain causes 402 payment required","Network timeout on large conversations","max_tokens set too low may truncate moderation reasoning"],"whenToPreferThis":"Use this endpoint when you need a pay-per-call, no-API-key content safety check powered by Meta's Llama Guard 3 8B model, especially in workflows that already use x402 USDC micropayments on Base, Polygon, Arbitrum, World, or Solana. Ideal for agents that need to gate LLM calls behind a safety check without managing API credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:39:14.138Z","isFirstParty":false}