X rebuilds real-time reply moderation guide around Grok, dropping Perspective API
tetsuoai · x · 2026-10-05
X has rewritten its real-time reply moderation guide for developers, rebuilding it entirely on Grok:
- Ingestion: replies arrive via the X Activity API post.reply.create event
- Classification: each reply is classified by Grok through the xAI API using structured outputs
- Enforcement: high-confidence violations are hidden via the Hide Replies endpoint
The new guide replaces the previous version built on the deprecated Perspective API and Account Activity API, and ships with complete Python and Node.js webhook examples plus guidance on writing your own moderation policy.
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29