latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-14129143297.4 KB

0e52fe5f8d33

admin

Get Shared Data Summary

Aggregate counts for the Overview "Research pilot" panel.

Computes consenting-user totals, weekly activity counts (conversations

  • heartbeats + errors), open-report count, and a small leaderboard of the most active consenting users this week. Cheap enough to run on every Overview load: a handful of indexed COUNT and GROUP BY queries scoped to consenting user ids.

Only counts and a small leaderboard surface here. Message bodies, memory text, and per-event content stay behind the existing per-conversation endpoints, which already PII-redact and audit-log every read.

The "this week" window is the rolling 7 days ending now (UTC).

get/api/admin/shared-data/summary

Response

Successful Response

consenting_user_countinteger required
consents_changed_this_weekinteger required
conversations_this_weekinteger required
heartbeats_this_weekinteger required
open_reports_countinteger required