OpenAI
Turngate ingests audit logs from your OpenAI organization so you can monitor administrative actions across your ChatGPT Enterprise, ChatGPT Team, or API-only OpenAI organization.
Setting Up
Preparing your OpenAI Organization
To set up the OpenAI integration you must be an Owner of the OpenAI organization you want to connect. Audit log access is scoped at the organization level, so a single Data Source will cover all projects in that organization.
The Audit Logs API is available on ChatGPT Enterprise, ChatGPT Team, and OpenAI API organizations that have an admin plan. If you do not see the Admin keys section described below, your organization may not have access enabled — contact OpenAI support.
Log in to the OpenAI platform dashboard and switch to the organization you want to connect using the org switcher in the top-left.
Open Settings → Organization → Admin keys.
Click Create new admin key.
Give the key a descriptive name (e.g.
Turngate Audit Log Reader).Click Create key and copy the value immediately. OpenAI will not show it again.
You will also need your Organization ID, which is shown on Settings → Organization → General (it begins with org-).
Setting up the OpenAI Data Source in the Turngate App
Once you have your admin key and Organization ID, head back to the Turngate App.
Click Data Sources in the navigation bar on the left.
Click Install on the OpenAI selection.
Give the Data Source a name for your own reference.
Paste in the Organization ID and Admin Key you generated above.
Click Install.
Turngate will validate the credentials and begin pulling audit logs. OpenAI retains audit logs for the past 30 days, and Turngate will backfill whatever is available at install time.
What Gets Ingested
The OpenAI Audit Logs API exposes administrative events such as:
User invitations, additions, removals, and role changes
Project creation, updates, archival, and membership changes
API key creation and deletion (both user and service account keys)
Service account creation and deletion
SSO and SCIM configuration changes
Login events for users in the organization
Turngate does not ingest the content of prompts or completions — only administrative audit events.
Other Resources
Last updated

