All Products
Search
Document Center

Content Moderation:Use the online testing feature

Last Updated:Jan 27, 2026

This product provides an online testing feature. You can use this feature to test the efficient detection services for content compliance, sensitive content, and prompt attacks.

Prerequisites

Activate the AI Guardrails service on the AI Guardrails service activation page.

Note

Using the online testing feature incurs charges. For more information, see Billing overview.

Procedure

  1. Log on to the AI Guardrails console.

  2. In the input box, enter the content that you want to test.

  3. Below the input box, select a detection policy template.

    The following policy templates are available:

    AI input content moderation (query_security_check_intl)

    AI-generated content moderation (response_security_check_intl)

  4. Click the Run test button.

  5. View the Test Results.

  6. The following figure shows an example.

    image

  7. Alternatively, you can select a sample template. The service provides sample templates for content compliance, sensitive content, and prompt attacks. After you select a template, click the Run test button to view the detection results.

Enable features

  1. After you run a test, check the Test Results. If the status of Sensitive content detection or Prompt injection detection is Not enabled, click Proceed to enable to activate the feature.

    image

  2. On the check item configuration page, select the feature that you want to enable.

    image

  3. If you enable Sensitive content detection or Prompt injection detection, a dialog box appears to notify you that the feature is billed separately. For more information, see Billing overview.