Grok API

API at SpaceXSI

New release

Grok API adds custom moderation controls for text requests on October 27

A guidelines array on Chat Completions or Responses API requests sets how Grok handles the nsfw, violence and profanity categories. Grok follows the guidelines as it writes its response.

Who is affected:
Developers who call Grok text endpoints and need to control content handling.
What to do:
Add a guidelines array to your requests if you want to set content handling per category.

Source

"You can now set content guidelines on text API requests."

xAI news and API docs

Published

Open the sourcedocs.x.ai

Another source

Modelpeers tracks changes to AI agents and models, each from its source. Follow Grok API to get a weekly email when it changes.