Org content inventory — every live dashboard, paginated.
The full dashboard inventory behind the admin Content surface (DVT-5383). Unlike GET /v1/orgs/{orgId}/analytics/content — whose dashboards leaderboard is capped at 50 and is unchanged — this lists every live (non-deleted) dashboard in the org, including ones with no activity. Admin or owner only (audit:read); own-org only.
Each item carries the same fields as a leaderboard row (ContentDashboard, flattened) with the same semantics: render/view metrics (renders, runs, errorCount, views, viewers) are windowed by days. lastViewedAt is the exception: on inventory rows it is the all-time most recent view or render (null only when none is on record), so a stale row still carries it. lastEditedAt/lifecycle/favorites/comments are as on the leaderboard. Only days narrows the metrics — there is no connection/actor narrowing of the numbers. It adds folderId, ownerId/ownerName, purpose (the manifest meta.purpose, else the dashboard description, else ""), and connections (the distinct live connections the dashboard's current panels read from, resolved from each panel's data.sourceId; a panel source that resolves to no connection, such as an env or demo source, is omitted, and panels bound only via metricRef contribute no connection). viewsDaily14 is populated for the returned page.
total counts rows after filters and before paging. Filters combine with AND. sort orders by the chosen key; timestamps that are null always sort last whichever order is requested; title/owner compare case-insensitively; sort=views breaks ties on renders (same direction); remaining ties break on dashboardId ascending, so paging is stable. An offset past the end returns empty items with the correct total. Invalid sort, order, lifecycle, limit or offset are rejected with 400.
Request
- Base URL: http://localhost:8080
- URL: http://localhost:8080/v1/orgs/{orgId}/analytics/content/inventory
- Auth: one of:
- API key in cookie dvt_session
- HTTP bearer
Query parameters
Rolling metrics window in calendar days. Default 30; clamped to [1, 365]. Out-of-range or non-integer values are silently clamped/defaulted.
Sort key. Default views. order defaults to desc for views, lastViewedAt and lastEditedAt, and asc for title and owner.
Sort direction. Nulls sort last in both directions.
Only dashboards in this folder id; the literal unfiled matches dashboards with no folder. An id that matches nothing yields an empty page.
Only dashboards owned by this user id.
Only dashboards whose panels read from this connection id.
Only dashboards with this lifecycle (same taxonomy as ContentDashboard.lifecycle).
Page size, 1-200. Default 50.
Rows to skip, >= 0. Default 0.
Response
One page of the org's content inventory.
Changes
No recorded changes to this operation across all 1 revision of this API.