#### Teams

# Usage analytics

> [!NOTE]
>
> Usage Analytics are available for Team and Enterprise customers.

The [Grok Dashboard](https://grok.com/dashboard/insights) provides usage analytics so you can understand how your team is using Grok Build.

## Data access and visibility

Team admins have access to data for themselves and all other users in the team. Team members without admin privileges can see data for themselves and in some cases (like the Usage Leaderboard) for select other users on the team.

> [!NOTE]
>
> Analytics data is collected only from users running client version 1.5 or higher.

### CSV download

Each chart has a button on the bottom-right corner which allows for CSV download of visible data. Users can also download data for all charts by clicking the download icon in the page header.

### API access

See the [Admin API documentation](/build/agents-window/account/teams/analytics-api) to access analytics data programmatically. Available only for Enterprise customers.

## Filtering data

Dashboard users can filter usage shown for specific users, [active directory groups](/build/agents-window/account/teams/scim#managing-users-and-groups), and dates via the header. Filtering supports up to 10 users and 90 continuous days of data.

Clicking on the gear icon in the header allows users to select timezone as well as whether weekends are shown.

## Tracking AI code in Git commits

Grok Build keeps a log of the signature of every AI line (Tab or Agent) that is suggested to the user during their chat session.

These lines are stored and later compared to the signatures of each line in subsequent git commits that were written by the same author. Grok Build will detect all the line changes (additions or deletions) written by the Grok Build Agent or Tab, and attribute the line as being written by AI.

All the AI detection is done on device, and never leaves the user's computer. Grok Build stores the line counts as metadata and make them available via API or in the Analytics Dashboard.

#### Known limitations

* Diff signatures may be invalidated if automated code formatting is modifying lines.

* Commits made with the legacy Cursor CLI (`cursor-agent`) must be scored on the same machine where the code was authored. Code signatures are stored on-device.

* Local commit and PR attribution settings only control trailers and footers. They don't control Usage Analytics.

* AI Code Tracking supports the legacy Cursor CLI (`cursor-agent`) and Cloud Agents. The API reports these commits with `commitSource: "cli"` and `commitSource: "cloud"`. If metrics are missing for a specific workflow, report it as a bug.

## AI output

### AI share of committed code

![AI Share of Committed Code chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-ai-share-committed-code-9c77da15.png)

AI Share of Committed Code shows the lines of code changed in commits to your repositories, and what % of that code was generated by Grok Build. Users can filter for production branch, which will use:

* The optional default branch set to the git repo

* Fallback to common default branch names such as: `main`, `master`, `production`, `prod`.

Analytics uses the following definitions:

* **Cursor AI**: Any line that can be attributed to Grok Build Agent or Tab based on diff signatures.

* **Other**: Any line of code that can't be detected as being written by Grok Build

### Agent edits

![Agent Edits chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-agent-edits-dfb4b137.png)

Agent Edits shows the amount of code edited by the Agent, and Cmd+K, and whether those changes were accepted by the user. Viewers can group the data by suggested / accepted or by file extension.

### Tab completions

![Tab Completions chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-tab-completions-13995476.png)

Tab Completions shows the number of times Tab code has been suggested (and accepted) by users. The unit is Tab suggestions, regardless of lines of code changed in that suggestion.

> [!NOTE]
>
> You can access the number of lines of code suggested by Tab through the [Analytics API](/build/agents-window/account/teams/analytics-api).

### Messages sent

![Messages Sent chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-messages-sent-5c5a148b.png)

Messages Sent shows the number of messages sent by users to Grok Build. Users can filter this data by the mode (e.g., Agent, Ask, Cmd+K) or by models used.

## Active users

![Active Users chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-active-users-e1731278.png)

The Active Users chart shows the number of unique active Grok Build users in your team across different products. A user is defined as active in a period if they use at least one AI feature (Tab, Agent, Background Agent, CLI). Bugbot users are synced to Github accounts (not Grok Build) and therefore not included in the `All` active user rollup.

## Daily usage

![Daily Usage chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-daily-usage-eacb6808.png)

The Daily Usage chart visualizes Grok Build activity over the preceding 365 days.

Users can toggle to see this view by:

* **All**: shows lines of code edits suggested by AI in Grok Build (Tab and Agent).

* **Tab:** shows the number of suggestions made by Tab.

* **Agent:** shows lines of code suggested by Agent.

* **DAU**: shows daily active users across all Grok Build products.

> [!NOTE]
>
> Data collection for this chart starts in early September for customers on the 1.5+ desktop release.

## Usage leaderboard

![Usage Leaderboard chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-usage-leaderboard-658c5aac.png)

The Usage Leaderboard shows top Grok Build users across your team alongside their favorite model and select usage stats for the selected time period.

The leaderboard provides the following metrics:

* **Chats**: number of messages sent by the user in the chat interface (Agent, Plan Mode, Ask Mode, etc).

* **Tab Completions**: number of Tab suggestions accepted by the user.

* **Agent Lines of Code:** Lines of code written by the Agent and accepted by the user.

The top ten users and any filtered users are always shown. All users in the team are able to view the leaderboard.

## Repository insights

![Repository Insights chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-repository-insights-ff1a81c5.png)

Repository Insights allow you to see how Grok Build is used across different repositories. Repository Insights report on:

* **AI Lines of Code Committed**: Code written by Grok Build (Tab and Agent) that was committed by a user.

* **Total Lines of Code Committed**: All code committed by users.

* **Code Committed by AI %**: The % of lines of code committed that were edited by Grok Build (Tab and Agent).

Some commits will be associated with `Unknown` repository if the user makes commits to a local git repository that doesn't contain a remote origin, or a remote that couldn't be resolved by Grok Build

## Conversation insights

> [!NOTE]
>
> Conversation Insights is enabled by default for Enterprise customers. You can disable it via **Disable Conversation Insights** in team settings.

Grok Build analyzes the code and context in each agent session to understand what kind of work is occurring. This makes Grok Build the first self-aware software engineering platform, synthesizing the type of work happening across your team.

Teams no longer need high-toil, lossy analysis of tickets or low-response surveys to understand engineering work. Conversation Insights lets you deeply understand the type of work being done with Grok Build. For work your team hands to Bots, see [Grok Bot Conversation Insights](#grok-bot-conversation-insights).

![Conversation Insights dashboard showing categories and work type charts](https://media.x.ai/v1/docs/agents-window-account-team-analytics-conversation-insights-dashboard-fd9b1275.png)

### Classification dimensions

Conversation Insights classifies work across these dimensions:

* **Category**: Bug Fixing & Debugging, Code Refactoring, Code Explanation, Configuration, New Features, UI/Styling, Architecture, Data/Database, Documentation, DevOps/Deployment, Learning, Testing

* **Work Type**: Maintenance (KTLO), Bug Fixing, New Features

* **Complexity**: Distinguishes between the complexity of tasks teams assign to agents

* **Specificity**: Measures how specific the prompts developers use with agents are

Enterprise customers can extend these default categories or define their own across the organization or within specific teams.

### Compare

Compare allows you to select and compare usage across teams and individual developers within your organization. Use this to identify adoption patterns, find power users, and understand how different groups use Grok Build.

### Privacy and data handling

All classification runs on-device. Default classifiers ensure no PII or sensitive data leaves the machine. The model outputs are validated against expected values. Any responses that don't match are discarded.

### Pricing

Customers are charged for the inference Conversation Insights runs. The Grok Build Token Rate applies when the underlying request is a third-party model request subject to the rate, including when Auto routes to a third-party model.

## Grok Bot conversation insights

> [!NOTE]
>
> Grok Bot Conversation Insights is available to all Enterprise teams that use [Grok Bot](/grok-bot/teams-and-enterprises). A **Cursor** / **Grok Bot** source toggle appears at the top of Conversation Insights in the [Analytics dashboard](https://grok.com/dashboard/insights). To see Conversation Insights, **Disable Conversation Insights** must be off in [team settings](https://grok.com/dashboard/workspace-settings?section=dashboard-analytics). If your team restricts the analytics dashboard to admins, you also need permission to manage analytics. If you've checked both and the toggle is still missing, contact your account team.

Grok Bot Conversation Insights applies the same idea as [Conversation Insights](#conversation-insights) to the Bots your team runs. Grok Build classifies each Grok Bot conversation so admins can see what kind of work Bots handle across the team, without reading the conversations themselves.

Bots handle office work rather than editor sessions, so the Grok Bot view uses its own dimensions:

| | Grok Build | Grok Bot |
| --- | --- | --- |
| What is classified | Agent sessions in the editor | Bot conversations |
| Primary dimension | Category and Work Type (coding categories) | Type of Work (jobs like Customer Support or Sales & Pipeline) |
| Other dimensions | Complexity, Specificity | Level of Automation |

### Classification dimensions

Grok Bot Conversation Insights classifies each conversation across these dimensions:

* **Type of Work**: The job the Bot handled. Inbox & Briefings, Calendar & Meetings, Sales & Pipeline, Customer Support, Marketing & Content, Finance & Back Office, People & Recruiting, Engineering & Product, Research & Documents, Errands & Purchases, Setup & Exploration, Other

* **Level of Automation**: How far the Bot acted on its own.
  * **Not automated**: The Bot answered or recommended. A person did the work.
  * **Semi-automated with human review**: The Bot drafted or staged a change and waited for approval.
  * **Fully automated**: The Bot completed the action in the target tool.

### Compare

Compare works with the Grok Bot dimensions. Select teams or members to compare which jobs their Bots handle and how much of that work runs fully automated.

### Privacy and data handling

Grok Bot Conversation Insights reports aggregate counts per dimension. The dashboard doesn't show or export conversation content. Your team's Privacy Mode setting governs whether Grok Bot conversation data is used for training. See [Grok Bot security](/grok-bot/security#models-and-data).

## Cloud Agent usage

### Agents created

![Agents Created chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-agents-created-7bcb2c4e.png)

Agents Created shows Cloud Agent usage by the originating source. Each time a Cloud Agent starts up counts as one Agent.

### Pull requests

![Pull Requests chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-pull-requests-ffc7c19c.png)

Pull Requests shows Pull Requests Opened and Merged that originate from Cloud Agents.

### Lines of code

![Lines of Code chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-lines-of-code-633ea228.png)

Lines of Code shows code written and merged by Cloud Agents.

## Cloud Agent top repositories

![Cloud Agent Top Repositories chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-cloud-agent-top-repositories-155b5dd2.png)

Cloud Agent Top Repositories shows repositories by number of Pull Requests opened and merged.

## Top Cloud Agent users

![Top Cloud Agent Users chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-top-cloud-agent-users-861688fb.png)

Top Cloud Agent Users shows top users by number of Agents Created. Viewers can also view data by Pull Requests opened and merged.

## Client versions

![Client Versions chart](https://media.x.ai/v1/docs/agents-window-account-team-analytics-client-versions-b96cdfc3.png)

Client Versions shows which versions of the Agents Window your team is using. Each user's version is the Grok Build version they last opened during that day.
