v54

latestSwagger 2.0AGPL-3.0raw.githubusercontent.com2026-08-03397565628.8 KB
Insights

Get insights about templates

get/api/v2/insights/templates

Query parameters

start_timestring date-time required

Start time

end_timestring date-time required

End time

interval'week' | 'day' required

Interval

template_idsstring[]

Template IDs

Response

OK

Example response

{
  "interval_reports": [
    {
      "active_users": 14
    }
  ],
  "report": {
    "active_users": 22,
    "apps_usage": [
      {
        "display_name": "Visual Studio Code",
        "seconds": 80500,
        "slug": "vscode",
        "times_used": 2
      }
    ]
  }
}