17d ago · xAI API Changelog →
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…