Documentation Index
Fetch the complete documentation index at: https://help.gowindmill.com/llms.txt
Use this file to discover all available pages before exploring further.
Benefits of Connecting Codex to Windmill
Connecting Codex to Windmill brings AI coding agent usage directly into stats, performance reviews, and 1:1s — giving managers and engineers visibility into how Codex is being adopted across the team.- Tracks how engineers are using Codex for autonomous coding tasks across different client surfaces
- Surfaces adoption patterns including thread volume, turn depth, and token consumption without self-reporting
- Helps managers understand AI tool usage and coach their teams on effective workflows
- Provides concrete data for performance conversations about productivity and tool adoption
- Syncs automatically — no manual tracking or surveys required
How to Connect Codex
Get your Platform API key from OpenAI
Find your ChatGPT Workspace ID
Open the Codex integration in Windmill
Connected Data
When connected, Windmill syncs per-user analytics from Codex’s Enterprise Analytics API. This is usage data — Windmill does not access any code, prompts, conversations, or file content. All stats are broken down by client surface (e.g., Codex in ChatGPT, Codex in an IDE, or other clients) so you can see where your team is using Codex.| Stat | Description | Unit |
|---|---|---|
| Threads | Number of Codex threads created | threads |
| Turns | Number of Codex turns (messages) within threads | turns |
| Credits | Total Codex credits consumed | credits |
| Input Tokens | Total input tokens (cached + uncached) sent to Codex | tokens |
| Output Tokens | Total output tokens generated by Codex | tokens |
| Total Tokens | Total tokens consumed across input and output | tokens |
Visibility and Access
Codex stats in Windmill follow the manager hierarchy visibility model:- Employees can see their own Codex stats
- Managers can see Codex stats for their direct reports and anyone in their reporting chain
- Admins can see Codex stats for everyone in the organization
- Peers cannot see each other’s Codex stats
Permissions
Windmill requests read-only access to Codex’s Enterprise Analytics API.| Permission | Purpose |
|---|---|
| Read user analytics | To sync usage stats per team member into Windmill |
| No access to code or files | Windmill never reads, stores, or accesses any code from Codex |
| No access to prompts or conversations | Windmill does not read thread content — only aggregate usage counts |
| Read-only access | Windmill never modifies anything in Codex or your OpenAI account |
User Matching
Windmill matches Codex users to employees using their email address. If a Codex user’s email matches an employee’s email in Windmill, their stats are automatically attributed to that employee. If you notice stats that aren’t being attributed correctly, check that the email addresses in your ChatGPT workspace match the employee emails in Windmill.FAQs
Do I need a ChatGPT Enterprise or Codex plan?
Do I need a ChatGPT Enterprise or Codex plan?
Does Windmill access any code, prompts, or conversations?
Does Windmill access any code, prompts, or conversations?
How often does data sync?
How often does data sync?
Can I see my own Codex stats?
Can I see my own Codex stats?
Can my coworkers see my Codex stats?
Can my coworkers see my Codex stats?
Does each engineer need to connect Codex individually?
Does each engineer need to connect Codex individually?
What are the different client surfaces in the breakdown?
What are the different client surfaces in the breakdown?
What happens when an engineer leaves?
What happens when an engineer leaves?
Why aren't my Codex stats showing up?
Why aren't my Codex stats showing up?