For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

  1. Log in to the OpenAI platform dashboard and switch to the organization you want to connect using the org switcher in the top-left.

  2. Open Settings → Organization → Admin keys.

  3. Click Create new admin key.

  4. Give the key a descriptive name (e.g. Turngate Audit Log Reader).

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

  1. Click Data Sources in the navigation bar on the left.

  2. Click Install on the OpenAI selection.

  3. Give the Data Source a name for your own reference.

  4. Paste in the Organization ID and Admin Key you generated above.

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