ChatGPT
Discover your OpenAI organization members and track per-user token consumption via the OpenAI Admin API
Harmony's ChatGPT integration connects directly to the OpenAI Admin API, giving your IT and finance teams a unified view of your OpenAI organization's members, invites, and token consumption alongside all your other SaaS tools. Harmony pulls real data from the OpenAI API so you are working with actual token consumption figures rather than flat seat estimates - broken down by employee and model.
This integration covers your OpenAI API platform organization, not a ChatGPT Enterprise workspace. Harmony reads the api.openai.com/v1/organization/* Admin API endpoints, which enumerate developer platform organization members, invites, and API token usage. ChatGPT Enterprise workspace seats, conversations, and sign-ins are managed on a separate OpenAI surface that this integration does not connect to, so ChatGPT Enterprise seats will not appear in Harmony.
What the ChatGPT integration enables
User Discovery
Surface the members of your OpenAI organization in Harmony's software inventory
Seat Inventory
Track organization members and pending or expired invites as seats, refreshed every 6 hours. Members are recorded as active; invites carry their OpenAI status (pending or expired)
Token Usage Tracking
Monitor per-user, per-model token consumption from OpenAI's Completions usage endpoint, ingested daily
Usage Trends
View each user's token consumption trend in the Activity column as daily usage accumulates
Multi-Instance Support
Connect multiple OpenAI organizations for teams with separate accounts
Prerequisites
OpenAI Organization Owner: Only organization owners can create Admin API keys
Admin API Key: A key starting with
sk-admin-(see below)Harmony Account: Active Harmony workspace
Only Admin API keys (starting with sk-admin-) are supported. Regular project API keys (sk-proj-...) and standard API keys (sk-...) will not work.
Connect ChatGPT to Harmony
Step 1: Generate an Admin API Key
Go to OpenAI Platform admin keys and sign in as an organization owner
Click Create new admin key
Enter a name (e.g.
Harmony Integration) and click CreateCopy the key - it starts with
sk-admin-and will not be shown again
Step 2: Navigate to Integrations
Log in to your Harmony dashboard
Go to Settings > Integrations
Find ChatGPT under SaaS Applications and click Connect
Step 3: Enter Credentials
Paste your Admin API Key
Click Connect
Disconnect ChatGPT from Harmony
Log in to your Harmony dashboard
Go to Settings > Integrations
Find ChatGPT under SaaS Applications and click the integration card
Click Disconnect
Confirm the disconnection when prompted
Once disconnected, Harmony stops syncing data from OpenAI. Previously synced data remains available in Harmony. To fully revoke access, delete the Admin API key in the OpenAI Platform as well.
What Harmony Syncs
From OpenAI:
Organization members (name, email, and OpenAI user ID), refreshed every 6 hours
Member roles - OpenAI's platform roles
ownerandreader, shown in Harmony as admin and memberPending and expired invites, tracked as seats with their OpenAI status. Accepted invites are skipped because the person already appears in the member list
Per-user, per-model token counts from OpenAI's Completions usage endpoint, ingested daily
The OpenAI organization the Admin API key belongs to, used to group data per connected account
Permissions Explained
The Admin API key is used read-only. Harmony calls three OpenAI endpoints:
GET /v1/organization/users
List organization members for the seat inventory, with their role
GET /v1/organization/invites
List pending and expired invites as seats
GET /v1/organization/usage/completions
Collect per-user, per-model daily token counts
Use Cases
Troubleshooting
Data & Privacy
Last updated
Was this helpful?
