> ## Documentation Index
> Fetch the complete documentation index at: https://docs.animam.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Content Policy

> Control what your AI agent is allowed to discuss

Content Policy controls which topics and content types your AI agent will engage with. Set it once per tenant — it applies to all conversations across chat, voice, and form channels.

## Policy Levels

| Level      | Code         | Description                                                              |
| ---------- | ------------ | ------------------------------------------------------------------------ |
| Strict SFW | `SFW_STRICT` | No romantic, sexual, or violent content. Suitable for all audiences.     |
| SFW        | `SFW`        | Default LLM behavior. Professional and neutral.                          |
| Moderate   | `MODERATE`   | Romantic and suggestive content is allowed. Explicit content is refused. |
| Unfiltered | `UNFILTERED` | No content restrictions.                                                 |

The default is `SFW`.

## Age Gate

For `MODERATE` and `UNFILTERED` policies, you can require visitors to confirm their age before starting a conversation.

| Setting          | Type    | Default | Description                                       |
| ---------------- | ------- | ------- | ------------------------------------------------- |
| `ageGateEnabled` | boolean | `false` | Show age confirmation screen before first message |
| `ageGateMinAge`  | integer | `18`    | Minimum age to confirm                            |
| `contentWarning` | string  | —       | Custom text shown on the age gate screen          |

## Configuration

### Via the API

```bash theme={null}
curl -X PATCH https://api.animam.ai/tenants/your-slug \
  -H "Authorization: Bearer ak_your_token" \
  -H "Content-Type: application/json" \
  -d '{
    "contentPolicy": "MODERATE",
    "ageGateEnabled": true,
    "ageGateMinAge": 18,
    "contentWarning": "This assistant may discuss adult topics. You must be 18 or older to continue."
  }'
```

### Via the Dashboard

Go to **Dashboard > Settings > Content Policy** and select your level. Age gate options appear automatically when `MODERATE` or `UNFILTERED` is selected.

## SFW\_STRICT

Use this for:

* Customer service bots
* Children's platforms
* Public-facing bots with no content moderation team

The agent will refuse to engage with any romantic, sexual, violent, or disturbing content, even in hypothetical or creative framing.

## SFW (Default)

Standard professional behavior. The agent follows the underlying LLM's default guidelines. No special restrictions are applied beyond the system prompt.

## MODERATE

Use this for:

* Adult communities (dating apps, creative writing platforms)
* Companion bots with a romantic persona
* Fiction and roleplay contexts

Romantic and suggestive content is permitted. The agent will still refuse explicit sexual content and anything involving minors.

## UNFILTERED

<Warning>
  `UNFILTERED` removes all platform-level content restrictions. **The tenant is fully responsible for compliance** with applicable laws, platform terms of service, and ethical guidelines. This mode should only be used for appropriate use cases (companion bots for verified adult audiences, creative writing tools, research contexts). Animam reserves the right to suspend accounts that misuse this setting.
</Warning>

## Content Warning Screen

When `contentWarning` is set and `ageGateEnabled` is `true`, the widget displays a confirmation screen before the first message. The visitor must acknowledge the warning and confirm their age to proceed.

The `contentWarning` text is shown verbatim — write it clearly and in the visitor's language.

## Per-Bot Override

Content policy is set at the tenant level and applies to all bots. If you need different policies for different bots, create separate tenants.
