insights:read. A test key reads test teammates; a live key reads live ones. The
two never mix.
The groups
“Visited” means a check-in at one of your locations; “trained” means a
session the teammate logged. The rules use fixed thresholds that are the same for every
organization, and read only days that have ended everywhere, so a teammate can join or leave a
group up to two days after the day that moved them. More groups may be added, so handle a key
you do not know.
Who is counted and who is listed
- A teammate is counted only while they allow
usage_insightsfor your organization. - A teammate is listed only while they also allow
at_risk, and only if you have your own id for them (a teammate who joined in the app is counted but not listed here). unlistedis how many teammates are counted but not listed.
Withheld groups
A group smaller thanmin_group_size (5, the same for every organization) is withheld: its
count is {"value": null, "withheld": true} and it lists no one. When you read one location,
its count is withheld too if the rest of the organization would be a group of 1 to 4. An empty
group is {"value": 0, "withheld": false}. Withheld never means zero.
Read every group
200
as_of is the UTC day the groups were last worked out, or null before the first time.
List the teammates in a group
teammate is your own id for the teammate, and home_location your own id for their home
location (or null).
Errors
Requests count toward your key’s rate limits like any other.