xAI Adds Custom Moderation Guidelines to Grok API Requests

The new `guidelines` parameter allows all Grok API customers to customize how the model moderates and handles specific content categories.
Key points
- Grok follows the custom guidelines directly as it drafts its response in its own words
- The moderation control feature is available immediately to all API customers
Why it matters
Developers using the Grok API can now enforce tailored safety and content policies per request rather than relying purely on default system prompts.
Sources
- xAI Adds Custom Moderation Guidelines to Grok API Requests (xAI, Oct 28, 2026, 11:24 PM)