listProductMetrics in the widget’s uses list before calling it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Lists visit metrics for products.
listProductMetrics in the widget’s uses list before calling it.
const metrics = await listProductMetrics({ kind: "visits", period: "30d" });
const listProductMetrics: PortalFunction<readonly PortalMetric[], ListProductMetricsInput>