RunReveal
SourcesSource Types

ChatGPT Compliance Logs

The ChatGPT Compliance Logs Platform provides immutable, append-only compliance log files for ChatGPT Enterprise and Edu workspaces and OpenAI organizations. RunReveal polls the Compliance Logs Platform API to ingest conversation messages, user and app authentication activity, administrative audit actions, plugin usage, Codex activity and security findings, custom agents, and agent traces.

Setup

ChatGPT Compliance supports API polling scoped to either a single Workspace (/v1/compliance/workspaces/{workspace_id}/logs) or an entire Organization (/v1/compliance/organizations/{org_id}/logs).

  1. Go to Sources → Add Source in RunReveal and select ChatGPT Compliance.
  2. Enter a Source Name and choose Workspace or Organization under Log Scope.
  3. Enter the Workspace ID or Organization ID and the matching API Key.
  4. Select the Event Types to collect (at least one event type is required; all 12 are selected by default).
  5. Click Verify Settings to test access, then click Connect Source.

Credentials and Permissions

To collect compliance logs for a single ChatGPT Enterprise or Edu workspace:

  1. Sign in to the ChatGPT Admin Console as a Workspace Owner or Admin.
  2. Copy your Workspace ID (UUID format, e.g. 11111111-2222-3333-4444-555555555555).
  3. Navigate to Credentials → Admin keys and create a workspace-scoped Admin key.
  4. Grant read permissions for every compliance log category you select in RunReveal. Only a Workspace Owner can grant broad compliance export access or permission to read CONVERSATION_MESSAGE logs.
  5. Copy the Admin key immediately — it is shown only once.

ChatGPT Compliance Key Required: Standard project API keys from platform.openai.com cannot access the ChatGPT Compliance Logs Platform (api.chatgpt.com). Use a workspace-scoped Admin key from the ChatGPT Admin Console or an organization-scoped Compliance API key, and ensure the key has read permissions for every event type enabled on the source.

Supported Event Types

You can collect all event types or choose a subset (at least one is required):

Event TypeDescription
CONVERSATION_MESSAGEUser and assistant messages exchanged in ChatGPT conversations, including model, client surface, tools, and conversation metadata
APP_LOGIn-app connector and application requests and responses, including acting user and conversation context
APP_AUTH_LOGApplication authentication activity such as linking and unlinking apps and connectors
AUDIT_LOGAdministrative and workspace audit actions including role changes, invitations, feature toggles, and policy updates
AUTH_LOGUser authentication lifecycle events including logins, token issuance, logouts, client IP, geolocation, and TLS fingerprints
CODEX_LOGCodex usage activity including prompts, responses, tool calls, plugins, environments, and access tokens
CHATGPT_PLUGIN_SPREADSHEETChatGPT spreadsheet plugin activity
CHATGPT_PLUGIN_PRESENTATIONChatGPT presentation plugin activity
CHATGPT_PLUGIN_DOCUMENTChatGPT document plugin activity
CODEX_SECURITY_LOGCodex Security scan configurations, finding status updates, triage changes, and proposed patch pull requests
CUSTOM_AGENTS_LOGCustom workspace agent lifecycle changes, runs, messages, memory access, connector calls, skills, and triggers
AGENT_TRACESExecution trace events for agent runs and tool invocations

Data Collection

  • Collection Method: API polling every 5 minutes via the two-step Compliance Logs Platform flow (list JSONL log files per event type, then download and parse individual events)
  • Provider Retention: OpenAI retains compliance log files in the Compliance Logs Platform for up to 30 days

Verify Ingestion

Once connected, logs begin flowing within a few minutes. Validate ingestion with the following SQL query:

SELECT *
FROM chatgpt_compliance_logs
ORDER BY eventTime DESC
LIMIT 10

Polling failures appear under Polling errors.

Schema

The chatgpt_compliance_logs view exposes RunReveal's normalized columns alongside the full JSON event payload in rawLog:

Table: chatgpt_compliance_logs (37 columns)

ColumnType
workspaceIDString
sourceIDString
sourceTypeString
sourceTTLUInt32
receivedAtDateTime
idString
eventTimeDateTime
eventNameString
eventIDString
srcIPString
srcASCountryCodeString
srcASNumberUInt32
srcASOrganizationString
srcCityString
srcConnectionTypeString
srcISPString
srcLatitudeFloat64
srcLongitudeFloat64
srcUserTypeString
ColumnType
dstIPString
dstASCountryCodeString
dstASNumberUInt32
dstASOrganizationString
dstCityString
dstConnectionTypeString
dstISPString
dstLatitudeFloat64
dstLongitudeFloat64
dstUserTypeString
actorMap(String, String)
tagsMap(String, String)
resourcesArray(String)
serviceNameString
enrichmentsArray(Tuple(data Map(String, String), name String, provider String, type String, value String))
readOnlyBool
rawLogString

On this page