How to get a working Compliance API key?

How do I create a key for the Compliance API? We’re an Enterprise customer integrating ChatGPT Enterprise with Microsoft Purview. Running a Purview scan with our OpenAI API key returns Error (3818): Connector Exception: {“detail”: “API key not authorized for enterprise logs”}. I don’t see instructions in open ai’s docs, but I found one other source saying to email support@openai.com to enable an existing key—is that correct? Thanks.

Hi and welcome to the community!

The suggestion to reach out to support is solid. You have the option to contact your organization’s dedicated account manager as well, which may help to speed up the process.

2 gotchas is that when creating the key here: API keys - OpenAI API

  1. make sure you are in your company’s organization and not personal organization (upper left hand corner drop down).
  2. the api key must be owned by ‘You’ not a service account.
  3. Assign ‘All’ all permissions granted

email support@openai.com that you need a key assigned the scopes to be used with the compliance api. send them:
⦁ The last 4 digits of the key
⦁ Key name
⦁ Created by (the user)
⦁ Requested access level: Read-only or Read and Delete

@Scott_Bunting im having the same issue and have been pulling my hair out for days!!

Using Microsoft Pureview im getting

Error: (3818) Connector Exception: {“detail”:“API key not authorized for enterprise logs”}

Support have confirmed my key is enabled for compilence API usage.

Key has been made as me and premissions are all enabled.

What i’m i doing wrong?