Skip to content

OpenAI Admin

The OpenAI Admin integration reads the audit log, directory and token usage of your OpenAI developer platform organisation. It uses the OpenAI Admin API.

ℹ This integration reads your OpenAI developer platform organisation, not ChatGPT. You manage that organisation at platform.openai.com. It does not read ChatGPT workspaces. It does not read ChatGPT users or conversations.

The integration adds this data to AI Governance: the seats and admin roles that people hold with OpenAI, in the Accounts tab.

Before You Start

Requirement What it needs to be
Who creates the key An Owner of the OpenAI organisation. Only an Owner can create an Admin API key
Key type An Admin API key. A regular key or a project key cannot reach the data
Key scopes All three scopes that step 3 lists. OpenAI refuses each request that needs a scope that the key lacks
Audit logging On. An Owner cannot turn it off afterwards
Organization ID The ID of your OpenAI organisation. It starts with org-

Set Up the Integration

In the OpenAI platform at platform.openai.com:

  1. As an Owner, go to Settings > Admin keys.
  2. Create an Admin API key.
  3. Select all three read scopes:
    • api.management.read for the directory
    • api.audit_logs.read for the audit log
    • api.usage.read for daily token usage and spend
  4. Copy the key.
  5. Go to Settings > Organization > Data controls. Under Audit logging, select Enable and save.
  6. Copy the ID of your organisation from the organisation settings page. It starts with org-.

⚠ Audit logging stays on. After you turn it on, you cannot turn it off. It records administrative events, such as changes to members, projects and keys. It does not record API requests or conversations. If audit logging is off, the audit log stays empty.

In the SenseOn Platform:

  1. Select Integrations in the main side menu.
  2. Select Set up a new integration. For the set-up page, refer to Data Connectors.
  3. Select the OpenAI Admin card.
  4. In Admin API key, paste the key. SenseOn stores the key in an encrypted form and never shows it again.
  5. In Organization ID, enter the ID that starts with org-.
  6. Select Connect.

What SenseOn Reads

SenseOn reads the OpenAI Admin API. It never changes anything in your OpenAI organisation.

  • The audit log. SenseOn reads the administrative events of your organisation, such as events for admins, projects, keys and members.
  • A directory snapshot. SenseOn reads the users and the Admin API keys. For each project, it reads the members, the service accounts and the project API keys.
  • Daily token usage and spend. SenseOn reads the totals for the whole organisation, for each project and API key, and for each billing line.

What the Accounts Tab Shows

OpenAI reports only when someone creates, changes or removes a seat. OpenAI never reports if a seat is in use. For this reason, Active, Dormant and Never used stay empty for OpenAI. The tab still shows the seats that OpenAI holds and the admin roles. For details, refer to the Accounts tab.

Where the Data Shows

Data Where to see it
Seats and admin roles Accounts tab