OpenAI integrations with Coralogix
Coralogix integrates with OpenAI at the organization level and at the agent level. Pick the surface you want to instrument:
- API Platform: organization-level usage, cost, directory, governance, and audit telemetry pulled from the OpenAI Administration APIs. Requires an OpenAI API Platform organization and an Admin API key.
- Codex: Codex usage, credits, cost, tool activity, and code review across your ChatGPT Enterprise workspaces, plus a repository-tracking hook for Codex CLI and the ChatGPT desktop app. Requires ChatGPT Enterprise.
- ChatGPT: ChatGPT Enterprise usage, credits and cost, models, shared GPTs and projects, connectors, and seats per workspace. Requires ChatGPT Enterprise.
All three sources are collected by one OpenAI Usage & Cost integration, where each credential independently unlocks its own set of data: an Admin API key for API Platform, a Codex analytics API key per workspace for Codex usage, and a Compliance API key per workspace for ChatGPT and Codex compliance data. Codex and ChatGPT share the Compliance API credentials, so one set of keys serves both. The repository-tracking hook is the only part that runs on developer machines; everything else is pulled from OpenAI's APIs.
Once collected, Codex data lands in AI Center > Code Agents > Codex, ChatGPT data in AI Center > Code Agents > ChatGPT, and the API Platform metrics in Metrics Explorer under the openai_administration_ prefix.
Where the raw records land
Besides metrics, the OpenAI sources write their raw records to predefined datasets in the default dataspace. Use them to go beyond the built-in AI Center dashboards: query a dataset with DataPrime to investigate activity record by record, and chart it in your own Custom Dashboards or alerts. Each dataset page lists its fields and streams and includes a starter query. Grant access to these datasets too, so the Codex and ChatGPT dashboards can show the details that come from them:
| Source | Dataset | What it holds |
|---|---|---|
| OpenAI Administration APIs (API Platform) | ai.raw.openai.admin_logs | Usage and cost rows, directory and governance objects, and audit events. |
| ChatGPT Enterprise Compliance API (ChatGPT and Codex) | ai.raw.openai.compliance_logs | Audit and sign-in events, conversation messages, the workspace inventory, Codex events and tasks, and cost rows. |
| Codex analytics per ChatGPT workspace (Codex) | ai.raw.openai.codex.analytics_logs | Daily Codex usage per user and workspace, and Codex code review activity. |
These datasets are restricted by default. To let more users query them, add a target group rule to the access policy of each dataset. See Access control.