Insights
Get insights about user activity
Changed onget/api/v2/insights/user-activity
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/insights/user-activity
- AuthAPI key in header Coder-Session-Token
Query parameters
start_timestring date-time required
Start time
end_timestring date-time required
End time
template_idsstring[]
Template IDs
Response
OK
Example response
{
"report": {
"users": [
{
"seconds": 80500
}
]
}
}Changes
- info
endpoint added
- info