AI Copilot Metrics
AI Copilot metrics measure how developers interact with AI coding assistants, adoption rates, and the impact on productivity across your organization.Available Metrics
Adoption & Usagestring
Percentage of active developers using AI tools
string
Number of users who have adopted AI tools
string
AI tool adoption rate
string
Lines of code suggested by AI
string
Lines of code accepted from AI suggestions
string
Percentage of AI suggestions that were accepted
string
AI suggestion acceptance rate
string
Total number of accepted AI suggestions
string
Total number of rejected AI suggestions
string
Total lines of code written with AI assistance
string
Percentage of all code that was AI-generated
string
Ratio of AI-generated code to total code
string
Total lines added with AI assistance
string
Total lines deleted with AI assistance
string
Number of AI chat requests
string
Number of AI composer requests
string
Number of AI agent requests
string
Number of inline (Cmd+K) AI usages
string
Complexity score of AI-assisted code
string
Number of pull requests created with AI assistance
string
Total AI token usage
string
Total estimated cost of AI usage
string
Most used AI model across the organization
string
Most used programming language in AI interactions
Accepted vs Suggested Lines
Retrieve both accepted and suggested lines in a single request to calculate acceptance rate over time.AI Adoption Rate
Track the percentage of active developers using AI tools over time.Most Used AI Model
Retrieve the most commonly used AI model across the organization.Parameter Notes
string
For AI copilot metrics the available date field is:
date: The date of the AI interaction
string
- For line counts and totals:
SUM - For rate metrics (
ai-adoption-rate,ai-acceptance-rate,acceptance-rate,adoption-rate,ai-code-ratio,ai-percent-ai-generated-code): no aggregation needed — values are pre-computed percentages/ratios - For cost and token usage:
SUMorAVG
object
Applicable filters for AI copilot metrics:
ai_copilot_sources: Filter by AI copilot source name (e.g.cursor,github-copilot)team: Filter by team IDssquad_ids: Filter by squad IDssquad_levels: Filter by squad hierarchy levelmanager_ids: Filter by manager user IDsdepartments: Filter by department namesmember: Filter by user merged user IDslocations: Filter by employee locationlevels: Filter by employee level
Common Use Cases
- Adoption Monitoring: Track AI tool adoption across teams over time
- ROI Analysis: Compare
ai-total-costagainst productivity gains - Acceptance Quality: Monitor
acceptance-rateto gauge suggestion relevance - Language Insights: Use
most-used-programming-languageto focus AI training - Usage Breakdown: Compare
chat-requests,composer-requests, andagent-requeststo understand how developers use AI

