Athenian Data Intelligence
product details.
Athenian Data Intelligence captures platform events, standardizes them into canonical metrics, and powers dashboards and APIs across WooCommerce and Athenian operational systems. It helps teams turn activity from orders, credits, AI jobs, payouts, vendors, and customers into usable performance intelligence while keeping data, permissions, and automation aligned with the broader Athenian Platform Ecosystem.
Athenian Data Intelligence is the analytics, metrics registry, daily rollup, dashboard, and observability layer for the Athenian Platform. It captures operational events from WooCommerce, AI workflows, OpenAI usage, credit systems, payout ledgers, marketplace activity, and connected Athenian plugins, then normalizes those signals into canonical metrics that can power dashboards, APIs, internal tools, alerts, and future decision-support workflows.
Instead of leaving important data scattered across WooCommerce orders, refund records, AI request logs, credit ledgers, payout tables, and plugin-specific admin screens, ADI creates one shared measurement layer. It records structured events, updates durable daily rollups, and exposes dashboard-ready metric series through the WordPress admin, REST API, and WPGraphQL.
For business users, ADI provides executive, financial, operational, AI, OpenAI, customer, credit, vendor, marketplace, platform, and Swap Shop dashboards. These dashboards can show key metrics such as order count, gross revenue, refunds, shipping collected, margin, active customers, AI tokens, AI cost, credit movement, payout exposure, vendor activity, marketplace volume, and swap-related performance.
For developers, Athenian Data Intelligence acts as an extensible reporting substrate. Connected plugins can register custom metrics and dashboards, emit events through the ath_adi_event action, provide order cost data for margin reporting, extend OpenAI host detection, and expose metric series to connected apps or headless dashboards. Within the broader Athenian ecosystem, ADI is the intelligence layer that makes complex commerce, AI, marketplace, credit, payout, and vendor behavior measurable.
Platform Intelligence
Turn WooCommerce, AI, Credits, Payouts, and Marketplace Activity Into Shared Metrics
Athenian Data Intelligence gives the platform one canonical metrics layer,
capturing structured events and converting them into durable daily rollups
for fast dashboards, APIs, and future automation.
| Data Layer | Operational Value |
|---|---|
| Metrics Registry | Defines shared metric keys, labels, types, units, dimensions, sources, and descriptions. |
| Event Capture | Records WooCommerce, AI, OpenAI, credits, payouts, marketplace, and custom plugin events. |
| Daily Rollups | Stores dashboard-ready metric rows by day, site, vendor, product, and customer dimensions. |
| Extensible Metrics | Allows connected Athenian plugins to register custom metrics and dashboards. |
- Capture raw platform events in
wp_adi_events. - Store fast time-series rollups in
wp_adi_rollups_daily. - Support commerce, customer, AI, OpenAI, credits, payouts, vendor, marketplace, and Swap Shop metric families.
- Use
ath_adi_eventandath_adi_registeras extension points for connected plugins.
Dashboards & Reporting
Power Executive, Financial, AI, Vendor, Customer, and Marketplace Dashboards
ADI includes dashboard definitions, an admin analytics interface, REST routes,
WPGraphQL support, OpenAI report sync, and OpenAI/Codex workspace metrics for
platform-wide reporting.
Executive, operations, financial, AI, OpenAI, customers, credits, vendors, marketplace, platform, and Swap Shop
Expose registry, metric series, dashboards, and summaries to connected tools
Sync API usage, token counts, cost data, API-key breakdowns, and Codex workspace analytics
| Reporting Layer | How It Helps |
|---|---|
| Admin UI | Display KPI cards, chart grids, dashboard navigation, date ranges, grouping controls, and deterministic summaries. |
| REST Metrics | Query metric time series by date range, grouping, vendor, product, and customer dimensions. |
| WPGraphQL | Expose ADI registry and metric series to GraphQL-enabled interfaces when WPGraphQL is active. |
| OpenAI Cost Visibility | Track request counts, token usage, latency, failures, successes, and estimated cost when pricing is configured. |
- Use dashboard JSON definitions for reusable KPI and chart layouts.
- Expose dashboard data through
/wp-json/adi/v1/metrics,/dashboard,/registry, and/summary. - Instrument OpenAI and Azure OpenAI HTTP requests made through the WordPress HTTP API.
- Sync OpenAI organization and Codex workspace reports into ADI rollups for platform AI analytics.
Operational Observability
Measure the Business Impact of Commerce, AI, Credits, and Payout Workflows
ADI listens to key WooCommerce and Athenian Platform events so teams can
understand revenue, refunds, margins, customers, AI economics, credits,
payout exposure, and marketplace activity from one reporting foundation.
| Signal Source | Metric Coverage |
|---|---|
| WooCommerce | Capture order counts, gross revenue, refunds, shipping, customer dimensions, and margin when cost data is available. |
| AI Runtime | Measure AI requests, lifecycle stages, tokens, latency, errors, successes, credits, provider, model, and request context. |
| Credits | Track credit purchases, spend, refunds, cashouts, and AI-related credit consumption. |
| OwlPay / Payouts | Observe payout ledger creation, held totals, released totals, and payout exposure. |
One intelligence layer for the Athenian Platform:
ADI makes cross-plugin activity measurable by giving every connected system
a shared way to emit events, register metrics, roll up data, and expose
reporting through dashboards, REST, and GraphQL.
- Prevent duplicate WooCommerce order metric capture with the
_ath_adi_captured_v1order flag. - Estimate AI costs with configurable pricing JSON and pricing-table filters.
- Store alert evaluation history in
wp_adi_alert_runsfor threshold-monitoring workflows. - Build toward anomaly detection, AI-generated summaries, historical backfills, CSV exports, retention policies, and cross-site analytics.
