Skip to main content

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 typeDescriptionScope
ChatGPT Enterprise CostsDetailed per-user, per-model billing data including cost, token usage, and SKU breakdowns.API Platform Organization
ChatGPT Enterprise Workspace AnalyticsDaily per-user adoption and engagement data (messages, active status, model usage). This is activity data — no cost is reported.ChatGPT Workspace
Codex Enterprise AnalyticsCodex usage and cost data including threads, turns, and code attribution metrics.ChatGPT Workspace

Prerequisites​

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​

  1. Sign in to the OpenAI Admin Console.

  2. Go to Credentials > Admin keys.

  3. Select Create admin key and choose Custom permissions.

  4. Enable the permission required for your connection type:

    Connection typeRequired permission
    ChatGPT Enterprise CostsCosts: Read
    ChatGPT Enterprise Workspace AnalyticsCompliance logging platform: Read
    Codex Enterprise AnalyticsCodex analytics API: Read
  5. Copy the key immediately — it is shown only once.

    Caution

    Use 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 typeIdentifier fieldWhere to find it
ChatGPT Enterprise CostsAPI Platform Organization ID (org-...)OpenAI Admin Console > Settings
ChatGPT Enterprise Workspace AnalyticsChatGPT Workspace ID (UUID)ChatGPT Admin > Settings
Codex Enterprise AnalyticsChatGPT Workspace ID (UUID)ChatGPT Admin > Settings

Connect your ChatGPT Enterprise account​

Repeat these steps for each connection type you want to set up.

  1. Sign in to Cloud Intelligence, select Data ingestion and integrations > Integrations from the top navigation mega menu.

  2. Search for the integration card by name: ChatGPT Enterprise Costs, ChatGPT Enterprise Workspace Analytics, or Codex Enterprise Analytics.

  3. Select Connect + on the integration card.

  4. Enter the identifier and Admin API key for the connection type.

  5. Select Test connection to verify DoiT can access your data.

  6. 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.

Note

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 dimensionChatGPT Enterprise valueExample
ProviderChatGPT Enterprise CostsChatGPT Enterprise Costs
Billing AccountOrganization IDorg-abc123
Project/Account IDUser IDuser-xyz789
ServiceProductChat Completions, Codex
SKUBilling SKUchat-input, reasoning-output

Codex Enterprise Analytics

Cloud Analytics dimensionCodex Enterprise valueExample
ProviderCodex Enterprise AnalyticsCodex Enterprise Analytics
Billing AccountWorkspace IDws-abc123
Project/Account IDUser IDuser-xyz789
ServiceFixedcodex_enterprise_analytics
SKUFixedcodex_usage

ChatGPT Enterprise Workspace Analytics

Cloud Analytics dimensionWorkspace Analytics valueExample
ProviderChatGPT Enterprise Workspace AnalyticsChatGPT Enterprise Workspace Analytics
Billing AccountPrincipal IDprincipal-abc123
Project/Account IDUser IDuser-xyz789
ServiceFixedchatgpt_workspace_analytics
SKUFixeduser_daily_usage
Note

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​

  1. Sign in to Cloud Intelligence, select Data ingestion and integrations > Integrations from the top navigation mega menu.

  2. Search for the integration card you want to remove.

  3. Select Manage on the integration card.

  4. Select the kebab menu (⋮) at the rightmost end of the account you want to remove and select Delete.

  5. Select Delete to confirm.