Skip to main content
Moderation API has three tools for AI agents. Each one does a different job.

Start here

Copy this prompt into your coding agent. Nothing to install first:
The agent reads the setup skill from our site and follows it. To keep the skill in your agent for later, install it instead: npx skills add https://moderationapi.com.

What the agent does

When you ask an agent with the setup skill to add moderation, it:
  1. Checks your setup with modapi doctor.
  2. Finds every place where users create content, and writes a plan for you to approve.
  3. Creates or links your project with modapi init. The CLI writes your keys to your env file. The agent never sees them.
  4. Adds the moderation call on your server, and handles allow, review and reject.
  5. Sets up webhooks for decisions that moderators make later.
  6. Checks the result against a list of common mistakes, and sends a test.
You approve each change. You can start in shadow mode, to see the results before they affect your users.

Docs for agents

These docs are written for people and for agents:
  • llms.txt lists every page. llms-full.txt has all pages in one file.
  • Add .md to the URL of any page to get it as Markdown, for example https://docs.moderationapi.com/ai/mcp.md.
  • modapi <command> --schema prints the exact request body of an API call.

When something is missing

If your agent finds that Moderation API cannot do what you ask, it can draft a feature request for you. It shows you the draft first, and sends it only when you agree. You can also send one with POST /feedback. We read every request.