Skip to main content
Seven endpoints for analytics and reporting.
Loft is a Pro product. These routes are served by the Loft desktop app’s local Bridge on loopback (localhost:5100) for the signed-in user, which resolves the Professional tier locally, so a local call needs no API key. This is not a hosted API and is not reachable from another machine. A request below the Professional tier returns 402, never a hard 403.

GET /api/loft/analytics/timeseries

Query time-series data for an interface.
curl

GET /api/loft/analytics/topn

Get top N interfaces ranked by a metric.
curl

POST /api/loft/analytics/query

Custom filter query with additional criteria.
curl

GET /api/loft/analytics/dashboards/

Get pre-built dashboard data.
curl

POST /api/loft/analytics/reports/schedule

Schedule a recurring report.
curl

POST /api/loft/analytics/reports/generate

Generate a report immediately.
curl

GET /api/loft/analytics/export/csv

Export analytics data as CSV.
curl