Get filtered user stats
documentedReturn a count of users matching provided filters (e.g., team, channel, roles).
GET /api/v4/users/stats/filteredUsersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.mattermost.com/api/v4/users/stats/filtered?in_team={{in_team}}&in_channel={{in_channel}}&include_deleted={{include_deleted}}&include_bots={{include_bots}}&roles={{roles}}&team_roles={{team_roles}}&channel_roles={{channel_roles}}" \
-X GET \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json"