Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Ai report

No security coverage Under active development

Part of the AI ecosystem · 343 projects

AI Report allows you to query your Drupal database using natural language questions, which are then translated into SQL queries by an AI to display your data in tables. This module helps non-technical users access and understand their site's data without needing to write SQL.

AI Report

Query your Drupal database using natural language - no SQL knowledge required!

Warning: This is a work in progress!

How it works

  1. Ask a question in plain English (e.g., "Show me all articles created this month")
  2. The AI generates and executes the SQL query for you
  3. View your data in a formatted table

๐Ÿ‘‡ See it in action below ๐Ÿ‘‡

Features

  • Natural language to SQL query generation
  • AJAX-powered real-time results
  • Security-first: Only SELECT queries allowed
  • Configurable AI models and prompts
  • Database structure and content type awareness
  • Debug mode to view generated SQL and AI responses

Requirements

  • Drupal 9, 10, or 11
  • AI module
  • Configured AI provider (OpenAI, Anthropic, etc.)

Quick Start

  1. Enable the module: drush en ai_report -y
  2. Assign permissions at: People โ†’ Permissions
    • Access AI Reports: For users who will generate reports
    • Administer AI Reports: For administrators only
  3. Configure at: Configuration โ†’ AI โ†’ AI Report
  4. Use at: Reports โ†’ AI Report

Example Questions

  • "Show me the 10 most recent users"
  • "List all published articles with their authors"
  • "Find all content updated this week"
  • "Count how many nodes of each type exist"

Ask your assistant about Ai report

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2025
Latest release
10 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
1.0.x-dev Dev 9โ€“11 Dec 3, 2025