Overview
Pensero’s Codex integration helps you understand how AI-assisted coding is influencing delivery across your teams.
Once connected, Pensero imports Codex activity data and aligns it with your engineering activity so leaders can interpret AI usage in the context of actual delivery, not as an isolated metric.
Today, Pensero only supports Codex usage authenticated with API keys.
What Pensero Reads from Codex
Pensero only reads the minimum metadata needed to analyze AI-assisted development patterns. We do not access or store your source code.
Depending on the data available from OpenAI, Pensero may ingest signals such as:
User identifiers
Timestamps
AI-assisted coding activity metadata
Line-level usage summaries returned by the provider
These signals are standardized and then aligned with delivery data inside Pensero so usage can be interpreted in context.
Important Notes
OpenAI supports Codex access in two different ways:
Sign in with ChatGPT for subscription-based access
Sign in with an API key for usage-based access
Important limitation
Pensero currently supports only the API key method. If your team is using Codex through a ChatGPT subscription, that activity is not connected to your OpenAI API keys and should not be expected to appear in the API keys section for Pensero ingestion. To connect Codex to Pensero, generate or use an OpenAI Admin API key from your organization’s OpenAI platform account and paste it into Pensero.
Admin API key requirement
Pensero requires an OpenAI Admin API key, not a standard API key, to retrieve AI usage analytics through organization-level checks.
These checks rely on organization-management endpoints, which require an Admin API key. A standard project API key, even with full permissions, is not sufficient for those endpoints.
Prerequisites
Before setting up the integration, make sure you have:
Pensero Admin access
Access to your organization’s OpenAI account
Permission to view or manage Admin API keys in the relevant OpenAI project
How to Set Up the Codex Integration
Step 1 - Open the Codex Integration in Pensero
Go to: Integrations → OpenAI Codex Settings
You will see a field labeled API Token and a button to save your credentials.
Step 2 – Get Your OpenAI API Key
OpenAI Admin API keys are managed in the OpenAI platform under the Admin API keys section. In most cases, the correct place to look is:
OpenAI Platform → Manage → Admin API Keys
Step 3 - Paste the Key into Pensero
Copy the Admin API key from OpenAI and paste it into the API Token field in Pensero. Then click Save Credentials.
Step 4 - Confirm the Connection
If data has already been imported, you may also see a history table under:
