# Discourse AI - Spam detection

**URL:** https://meta.discourse.org/t/discourse-ai-spam-detection/343541
**Category:** Site Management
**Tags:** moderation, how-to, ai, spam
**Created:** [December 20, 2024, 4:46am UTC](https://meta.discourse.org/t/discourse-ai-spam-detection/343541 "2024-12-20T04:46:26Z")
**Posts on this page:** 1
**Showing post:** 27

<div class="post-metadata">

### Author: ![per1234](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/per1234/32/569645_2.png) [@per1234](https://meta.discourse.org/u/per1234)
#### Post date: [February 28, 2026, 4:11am UTC](https://meta.discourse.org/t/discourse-ai-spam-detection/343541/27 "2026-02-28T04:11:17Z")

</div>

Hi @singi2016cn.

> [@singi2016cn](#):
>
> The AI detection result is indeed a spam post.

Do you meant that you verified this with the testing tool?

> [@sam](#):
>
> ## Testing spam scanner behavior
> 
> You can test spam detection rules directly from the configuration page.
> 
> ![The image is a spam detection result for a post in the meta Discourse forum, indicating that the post is sam. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/8/f/c/8fc5ea9530c5536e49e3561a811c51a68f298b4f.png)
> 
> - Paste a **post URL or ID** into the test field.
> - Review the classification result (e.g., “SPAM” or “NOT SPAM”) and analyze logs to understand reasoning.
> - Unsaved changes are applied during testing, enabling experimentation without risk.

You can access that tool by following these instructions:

1. Log into an account on your forum that has administrator privileges.
2. Navigate to this page on your forum: `/admin/plugins/discourse-ai/ai-spam`
3. Click the “ **Test…** ” button on that page.  
The “ **Test spam detection** ” dialog will open.
4. Enter the URL or post ID of your test spam post into the “ **Post URL or ID** ” field in the dialog.
5. Click the “ **Run test** ” button.

---

_[View the full topic](https://meta.discourse.org/t/discourse-ai-spam-detection/343541)._
