Connect ChatGPT Enterprise
DoiT offers three ChatGPT Enterprise integrations that import data from OpenAI's Compliance API into Cloud Intelligence. Each integration is a separate connector card in the integrations catalog — you can connect one, two, or all three depending on the data you need.
| Connection type | Description | Scope |
|---|---|---|
| ChatGPT Enterprise Costs | Detailed per-user, per-model billing data including cost, token usage, and SKU breakdowns. | API Platform Organization |
| ChatGPT Enterprise Workspace Analytics | Daily per-user adoption and engagement data (messages, active status, model usage). This is activity data — no cost is reported. | ChatGPT Workspace |
| Codex Enterprise Analytics | Codex usage and cost data including threads, turns, and code attribution metrics. | ChatGPT Workspace |
Prerequisites
-
A ChatGPT Enterprise plan.
-
Admin access in the OpenAI Admin Console.
-
A DoiT account with the Billing Profiles Admin permission.
Required credentials
All three connection types require an Admin API key created in the OpenAI Admin Console. Each type requires a different identifier and API key permission.
Create an Admin API key
-
Sign in to the OpenAI Admin Console.
-
Go to Credentials > Admin keys.
-
Select Create admin key and choose Custom permissions.
-
Enable the permission required for your connection type:
Connection type Required permission ChatGPT Enterprise Costs Costs: Read ChatGPT Enterprise Workspace Analytics Compliance logging platform: Read Codex Enterprise Analytics Codex analytics API: Read -
Copy the key immediately — it is shown only once.
CautionUse an Admin key, not an API Platform project key. Treat the key like a password — anyone with it can read your organization's data.
Identifier
Each connection type requires an identifier that scopes the data:
| Connection type | Identifier field | Where to find it |
|---|---|---|
| ChatGPT Enterprise Costs | API Platform Organization ID (org-...) | OpenAI Admin Console > Settings |
| ChatGPT Enterprise Workspace Analytics | ChatGPT Workspace ID (UUID) | ChatGPT Admin > Settings |
| Codex Enterprise Analytics | ChatGPT Workspace ID (UUID) | ChatGPT Admin > Settings |
Connect your ChatGPT Enterprise account
Repeat these steps for each connection type you want to set up.
-
Sign in to Cloud Intelligence, select Data ingestion and integrations > Integrations from the top navigation mega menu.
-
Search for the integration card by name: ChatGPT Enterprise Costs, ChatGPT Enterprise Workspace Analytics, or Codex Enterprise Analytics.
-
Select Connect + on the integration card.
-
Enter the identifier and Admin API key for the connection type.
-
Select Test connection to verify DoiT can access your data.
-
If the test is successful, select Save to complete the setup.
If the test fails or you need further assistance, please open an expert inquiry.
Upon initial connection, DoiT ingests up to 90 days of historical data. The import process can take a few hours.
Data refresh
DoiT refreshes your ChatGPT Enterprise data every 6 hours. Cost and usage data for a given day is typically available within 24–30 hours.
ChatGPT Enterprise data in Cloud Analytics
Reporting dimensions
Once connected, ChatGPT Enterprise data maps to the following standard Cloud Analytics dimensions:
ChatGPT Enterprise Costs
| Cloud Analytics dimension | ChatGPT Enterprise value | Example |
|---|---|---|
| Provider | ChatGPT Enterprise Costs | ChatGPT Enterprise Costs |
| Billing Account | Organization ID | org-abc123 |
| Project/Account ID | User ID | user-xyz789 |
| Service | Product | Chat Completions, Codex |
| SKU | Billing SKU | chat-input, reasoning-output |
Codex Enterprise Analytics
| Cloud Analytics dimension | Codex Enterprise value | Example |
|---|---|---|
| Provider | Codex Enterprise Analytics | Codex Enterprise Analytics |
| Billing Account | Workspace ID | ws-abc123 |
| Project/Account ID | User ID | user-xyz789 |
| Service | Fixed | codex_enterprise_analytics |
| SKU | Fixed | codex_usage |
ChatGPT Enterprise Workspace Analytics
| Cloud Analytics dimension | Workspace Analytics value | Example |
|---|---|---|
| Provider | ChatGPT Enterprise Workspace Analytics | ChatGPT Enterprise Workspace Analytics |
| Billing Account | Principal ID | principal-abc123 |
| Project/Account ID | User ID | user-xyz789 |
| Service | Fixed | chatgpt_workspace_analytics |
| SKU | Fixed | user_daily_usage |
Workspace Analytics is adoption data — cost is always zero and the GenAI Spend label is false. Use Cloud Analytics filters to separate Workspace Analytics rows from billing data.
ChatGPT Enterprise-specific labels are found in the GenAI section in Cloud Analytics.
Delete your ChatGPT Enterprise connection
-
Sign in to Cloud Intelligence, select Data ingestion and integrations > Integrations from the top navigation mega menu.
-
Search for the integration card you want to remove.
-
Select Manage on the integration card.
-
Select the kebab menu (⋮) at the rightmost end of the account you want to remove and select Delete.
-
Select Delete to confirm.