# Content Moderation & Safety Check: Llama Guard 3

> Content Moderation & Safety Check: Llama Guard 3 is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-02).

Classifies text as safe or unsafe using Meta's Llama Guard 3, returning a flag and the specific hazard categories triggered across 14 possible categories.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/ai/moderation?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-content-moderation-safety-fcb3f02c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RwD02k1Ev6qqAFWv6lUs7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent-data-tools-revmesh2074-workers-dev-content-moderation-safety-fcb3f02c
```

Example prompt: Can you run a safety check on this user comment before I post it: 'I know where you live and you're going to regret this' — tell me if it's flagged and which hazard categories it falls into?

## When to prefer this

Choose this endpoint when you need a well-established, multi-category safety classifier backed by Meta's Llama Guard 3 specifically, covering all 14 official hazard categories in a single call. Prefer it over generic sentiment analysis for safety-critical pipelines, over simple keyword filters for nuanced harm detection, and over the OpenAI moderation endpoint when you want Llama Guard 3's classification specifically. Ideal for screening both user inputs and AI-generated outputs before an agent takes action or publishes content.

## Known failure modes

- Text exceeds 8,000 character limit — request rejected or truncated
- Empty or missing 'text' parameter — validation error returned
- Ambiguous or borderline content may produce false positives or negatives
- Model inference timeout on very long inputs near the character limit
- Service unavailable or worker error returns HTTP 5xx

## How this service works

Classify a text as safe or unsafe with Meta's Llama Guard 3 and name the hazard categories it falls into (violent and non-violent crimes, sexual content, child exploitation, hate, self-harm, weapons, privacy, defamation, elections and others; 14 in all). Up to 8,000 characters. Also available in the OpenAI moderation shape at /v1/moderations. Use to screen user messages, model outputs or content before an agent posts or acts on it.

## Output

Returns a JSON object with: the model name used (e.g. llama-guard-3), a boolean 'flagged' indicating whether the text is unsafe, and an array 'categories' listing which of the 14 hazard categories were triggered (e.g. violent crimes, sexual content, hate, self-harm, weapons, child exploitation, privacy, defamation, elections, etc.).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to classify (up to 8,000 characters)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string"
  },
  "flagged": {
   "type": "boolean"
  },
  "categories": {
   "type": "array",
   "items": {}
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-content-moderation-safety-fcb3f02c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
