Feed
Client telemetry for the caller's own tenant by default — a platform admin included; a platform admin passes tenant_id for another tenant or all_tenants=true for every tenant. A non-admin passing a FOREIGN tenant_id or all_tenants gets 403 rather than being silently shown their own tenant's feed. source is a CSV of event sources (e.g. plaid_link,bank_link_exchange,plaid_refresh_patch,external_bank_unlink,bank_link_funnel); session_id matches either the server-stamped session_id or an external_session_id (e.g. a Privy sid). account_id narrows to one account; group_id / exclude_group_id to (non-)members of a group, by the event's account. from/to bound created_at (half-open, ADR 0003 dates) inside the 30-day retention window. Newest first by default; sort=oldest reverses; ties break on id.
Request
- Base URL: https://api.instruxi.dev/api/v1/enforcer
- URL: https://api.instruxi.dev/api/v1/enforcer/admin/client-events
- Auth: one of:
- API key in header Authorization
- API key in header X-API-Key
Query parameters
CSV of telemetry sources to filter (e.g. plaid_link,bank_link_exchange)
single event filter, e.g. EXIT
one account's events
only events from members of this group; 404 group_not_found if the group is not visible to you
drop events from members of this group; 404 group_not_found if not visible
created_at >= this (YYYY-MM-DD = start of that UTC day, or RFC3339); since is an alias
created_at < this (YYYY-MM-DD = that whole UTC day inclusive, or RFC3339 exclusive); until is an alias
recent = newest first (default), oldest = oldest first; ties break on id
page size
page offset
one session's events — matches the server-stamped session_id OR external_session_id (e.g. a Privy sid)
list this tenant instead of your own (default: the caller's own tenant, platform admins included). Another tenant requires the cross_tenant grant — 403 otherwise
list EVERY tenant (platform-wide admin view). Requires the cross_tenant grant — 403 otherwise. Mutually exclusive with tenant_id (400 conflicting_tenant_scope)
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.