Drupal is a registered trademark of Dries Buytaert
drupal 10.6.12 Update released for Drupal core (10.6.12)! drupal 11.3.13 Update released for Drupal core (11.3.13)! drupal 10.6.11 Update released for Drupal core (10.6.11)! drupal 11.3.12 Update released for Drupal core (11.3.12)! drupal 11.2.14 Update released for Drupal core (11.2.14)! drupal 10.5.12 Update released for Drupal core (10.5.12)! cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)!

ai_inspector

No security coverage
View on drupal.org

AI Inspector is a monitoring and observability dashboard for the Drupal AI layer. It captures every AI request the AI module makes — prompt, response, tokens, timing, cost and status — and surfaces it as a developer-focused dashboard. Secrets are masked at capture.

Features

- Request & response inspector — full prompt, raw + processed response, finish reason, tokens, errors/warnings, per user.
- Token dashboard — prompt/completion/total tokens, estimated cost from an editable per-model price table, daily usage.
- Performance dashboard — response time, average latency, failed requests, success rate, with daily/provider/model charts.
- Provider health — response time, token volume and error rate per configured provider.
- Vector database inspector (submodule) — collections, embedding binding, index, collection health and a similarity tester over Search API ai_search indexes.
- CSV/JSON export (submodule) — permission-gated, masked.
- Captures AI calls from any module or code path that uses the AI layer, including decoupled REST/JS clients. No changes to calling code required.
- Secrets masked at capture; capture is asynchronous via the Queue API (no added request latency); dashboards read a daily rollup, not raw rows.

Post-Installation

Enable the module (and optionally ai_inspector_vector / ai_inspector_export), then visit Configuration → AI → AI Inspector (/admin/config/ai/inspector/requests). Configure capture, retention, masking and the cost price table under the Settings tab. Grant the "Access AI Inspector", "View AI request logs" and "Administer AI Inspector" permissions as appropriate. Capture begins automatically for any call made through drupal/ai.

Additional Requirements

Requires drupal/ai with at least one configured AI provider (e.g. OpenAI, AWS Bedrock, Ollama). The Vector submodule additionally requires drupal/search_api and an ai_search server/index. No external services beyond your configured AI provider.

- AI (drupal/ai) — required; the layer this module observes.
- AI Search (drupal/ai_search) + Search API — to use the Vector inspector submodule.

Activity

Total releases
1
First release
Jun 2026
Latest release
8 hours ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.0 Stable Jun 28, 2026