Skip to main content

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 & Usage
string
Percentage of active developers using AI tools
string
Number of users who have adopted AI tools
string
AI tool adoption rate
Suggestions & Acceptance
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
Code Volume
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
Requests by Type
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
Quality & Cost
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
Insights
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: SUM or AVG
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 IDs
  • squad_ids: Filter by squad IDs
  • squad_levels: Filter by squad hierarchy level
  • manager_ids: Filter by manager user IDs
  • departments: Filter by department names
  • member: Filter by user merged user IDs
  • locations: Filter by employee location
  • levels: Filter by employee level

Common Use Cases

  • Adoption Monitoring: Track AI tool adoption across teams over time
  • ROI Analysis: Compare ai-total-cost against productivity gains
  • Acceptance Quality: Monitor acceptance-rate to gauge suggestion relevance
  • Language Insights: Use most-used-programming-language to focus AI training
  • Usage Breakdown: Compare chat-requests, composer-requests, and agent-requests to understand how developers use AI