Docs / Admin: Data Usage

Data Usage

Per-user data volume, lens keyed by who pushed through what. The exfiltration-detection counterpart to Action Usage.

Sidebar → Evidence → Data Usage — at /admin/throughput on your gateway. Same persistent counters as Action Usage; different table key. Action Usage asks which actions get reached for; Data Usage asks how much did each user push through. Two lenses, one substrate.

What the table shows

ColumnWhat it means
UserPseudonymised actor (SHA-256 hash, stable across calls). Reversibly identifying only via the gateway’s actor-mapping behind the admin gate.
ToolThe MCP tool the user called. With Group by user, this collapses into a per-user aggregate.
ClientThe AI client that made the call (claude_code, chatgpt, codex, etc.).
CallsTotal invocations in the window.
Volume (MB)Outbound bytes — the data the upstream returned that flowed back through the gateway to the model. Rendered as a proportional bar so the shape of the distribution is visible at a glance. This is the DLP-relevant number.
~TokensEstimated LLM token cost across all calls in the window, derived from the byte counts.
Last seenMost recent invocation timestamp for the row.

The Volume bar is the headline. A user pulling 80 MB out of Drive in a single hour is a row that screams; the next-largest row in that same hour might be 0.3 MB. The visual contrast is the point.

Time windows

Data Usage and Action Usage share seven windows:

  • Last hour — what your agents do right now.
  • Today — the calendar day so far (server time).
  • Yesterday — the full previous calendar day.
  • This week — the calendar week so far (Monday onward).
  • Last week — the previous full Monday–Sunday window.
  • This month — the calendar month so far.
  • All (90 days) — everything in the 90-day retention window.

The two pages open on Today.

Group by user

A toggle in the toolbar collapses every row that shares a user into one row, summing Calls / Volume / Tokens across all the tools that user touched. The DLP question often lives at the user level (is anyone, anywhere, exfiltrating?); the tool breakdown is the second step.

Slack alert thresholds

One set of thresholds applies to the instance: a warning and an alert for 30 minutes, and an alert for 24 hours, checked for each user. When a user crosses a threshold, a Slack message posts to the configured channel with a deep-link back to the audit row that triggered it.

The threshold-editor lives at Evidence → Data Usage → Thresholds. It accepts sub-megabyte values, so you can alert on small but unusual volumes — e.g. a single 200 KB Slack DM with a CSV attachment.

The Slack delivery path here is the older, channel-post mechanism (configured per workspace), not the unified Notifications dispatcher. Migration onto the unified dispatcher is on the roadmap; for now Data Usage threshold alerts post to a Slack channel directly.

CSV export

Footer link exports the full window’s rows (within the top-N cap) as a CSV. Header columns mirror what the dashboard renders. The export is itself an audit event — the audit log records who took it, when, with which filter (data-egress events are tracked, by design).

Honest scope

The page is a bounded top-N operator view; the table caps at the busiest rows in the selected window. In realistic deployments the cap covers all observed traffic; when it is hit, the footer flags it so the table never silently implies this is everything.

Counters carry a 90-day retention; older calls fall out of the bucket store. The Data Usage dashboard never claims to read further back than that.

Where it lives in the admin panel

WhatWhere in the admin
Data Usage dashboardEvidence → Data Usage
Time-window filterEvidence → Data Usage → toolbar (same vocabulary as Action Usage)
Group-by-user toggleEvidence → Data Usage → toolbar
Threshold editorEvidence → Data Usage → Thresholds
Threshold-breach Slack alert deep-linkSlack channel → links into the audit log at the breaching row
CSV exportEvidence → Data Usage → footer link
Sibling: Action UsageEvidence → Action Usage

Related