AI Impact Analytics API for Duo Pro
Context
We need to provide some basic AI Impact Analytics for Duo Pro customers while creating a compelling up-tier path to Duo Enterprise.
See the tiering strategy for more context - https://gitlab.com/groups/gitlab-org/-/epics/15028#option-b---protect-the-raw-event-data-provide-a-compelling-upsell-path-for-pro-to-enterprise
Proposal
- Make basic
aiMetrics
available for Duo Pro customers via the GraphQL API
Scope
group
project
{
aiMetrics {
codeContributorsCount
codeSuggestionsAcceptedCount
codeSuggestionsContributorsCount
codeSuggestionsShownCount
duoChatContributorsCount
duoProAssignedUsersCount
}
}
Not in scope for Duo Pro
Release Notes
Duo Pro customers can now programmatically access AI Impact Analytics metrics with the aiMetrics
GraphQL API with this release. Metrics include the number of assigned Duo Pro seats, Duo Chat users, and Code Suggestion users. The API also provides granular counts for code suggestions that are shown and accepted. With this data, Duo Pro customers can calculate the acceptance rate for Code Suggestions, better understand your Duo Pro users' adoption of Duo Chat and Code Suggestions, and pair AI Impact Analytics metrics with Value Stream Analytics and DORA metrics to gain deeper insight into how adopting Duo Chat and Code Suggestions are impacting your team's productivity.