Page MenuHomePhabricator

Adjust filtered_user_agent criteria for REST and Action API
Closed, ResolvedPublic5 Estimated Story Points

Description

Purpose: The current way to filter users is roughly looking for user agent strings that are browser names such as Mozilla, Chrome, Safari. We'd like to redo the logic behind who we consider as filtered users so that we have a better understanding of who is using our APIs.

Pre work needed:

  • We need to rework the definition of what is considered filtered and decide whether it makes sense to pursue keeping this metric altogether before moving into implementation
NOTE: The decision was made to remove this column from the REST API and Action API processes. This metric is not included in the GraphQL API processes, so no need to consider it there. There will be a follow up task to measure bot activity using the new bot scoring of wmf.webrequest_v2 (T432344).

Acceptance criteria:

  • Distribution of user agent graphs on the Wikidata API dashboards are adjusted to reflect the new definition and logic of filtered user agents

Deadline: 15.8.2026 (flexible but ideally before planning starts full force in September)

Event Timeline

Ifrahkhanyaree_WMDE renamed this task from Adjust filtered_user_agent criteria for REST and Action API to [To discuss] Adjust filtered_user_agent criteria for REST and Action API.Mar 6 2026, 7:59 AM
Ifrahkhanyaree_WMDE updated the task description. (Show Details)
Ifrahkhanyaree_WMDE renamed this task from [To discuss] Adjust filtered_user_agent criteria for REST and Action API to Adjust filtered_user_agent criteria for REST and Action API.Apr 13 2026, 7:42 AM
Ifrahkhanyaree_WMDE updated the task description. (Show Details)
Ifrahkhanyaree_WMDE updated the task description. (Show Details)
karapayneWMDE set the point value for this task to 5.Tue, Jul 14, 2:58 PM

Moved to Delivered as all steps for this have been completed :)

Realised we need a new ticket to adjust the requests by distinct user graph since it's now broken because of this https://phabricator.wikimedia.org/T433342. But, the scope here is covered and looks good!