October 29, 2026 · xAI
Custom moderation controls
You can now set content guidelines on text API requests. Add a guidelines array to a Chat Completions or Responses API request to set how Grok handles content in the nsfw, violence, and profanity categories. Grok follows the guidelines as it writes its response. See Custom Moderation Controls.