Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

compliance-api-access changedmanage-claude/compliance-api-access

Nearest release: v2.1.333, published 4 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+7added
Lines−7removed
From line 40 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits22to this page, all time

The whole hunk

from line 40, old and new numbered
/
lines
from line 40
4040Accepting the EFS and Enterprise Data Controls terms turns on the Compliance API for your organization.
4141 
4242<Warning>
43 A Compliance Access Key with `read:compliance_user_data` can read every chat, file, project, and session transcript in every linked organization, including content the primary owner has not seen. A key with `delete:compliance_user_data` can permanently delete chats, files, and projects. Treat Compliance Access Keys like production database credentials: store them in a secrets manager, never in source control or SIEM forwarder configuration. Treat Admin API keys the same way: one that you create while the [Safety Cases API](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#get-access) is available to your organization can read the prompts and responses of flagged messages.
43 A Compliance Access Key with `read:compliance_user_data` can read every chat, file, project, and session transcript in every linked organization, including content the primary owner has not seen. A key with `delete:compliance_user_data` can permanently delete chats, files, projects, and code artifacts. Treat Compliance Access Keys like production database credentials: store them in a secrets manager, never in source control or SIEM forwarder configuration. Treat Admin API keys the same way: one that you create while the [Safety Cases API](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#get-access) is available to your organization can read the prompts and responses of flagged messages.
4444</Warning>
4545 
4646<Steps>
from line 78
7878 </Step>
7979 
8080 <Step title="Open API settings">
81 Go to [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) and find the **Keys** section.
81 Go to the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**) and find the **Keys** section.
8282 </Step>
8383 
8484 <Step title="Create the key">
from line 88
8888 | ----- | ----- |
8989 | `read:compliance_activities` | Read the Activity Feed. A key covering the parent organization reads events for the parent organization and all linked organizations. |
9090 | `read:compliance_user_data` | Read user chats, messages, files, projects, session metadata and transcripts, organization users, user preferences, and group members. Together with `read:compliance_org_data`, also read who made a [Security posture attestation](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#who-attested-and-comments), where the endpoint returns it: a user ID. |
91 | `delete:compliance_user_data` | Delete user chats, files, and projects. |
91 | `delete:compliance_user_data` | Delete user chats, files, projects, and code artifacts. |
9292 | `read:compliance_org_data` | Read organization metadata (names, types, roles, and groups) and the effective settings in force for organizations under the parent organization. Also read an organization’s [Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference): the current results of most of its security controls, with the attestations that the response shows. User listings and group membership require `read:compliance_user_data`. |
9393 
9494 With the Plugins API, `read:compliance_org_data` also reads your organization’s plugin and plugin marketplace inventory through the Admin API, including members’ personal plugins and their files. That inventory identifies members: it carries the user ID of each member who owns or created a plugin, or with whom a plugin has been shared individually, and the email address of a plugin’s creator while they are still a member; see [Read plugins and plugin marketplaces](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#read-plugins-and-plugin-marketplaces).
from line 121
121121 The Compliance API must already be [enabled for your Claude Console organization](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) before an Admin API key can call the Activity Feed.
122122</Note>
123123 
124Follow the steps in [Create an Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-console-organization), then set the key as an environment variable:
124Follow the steps in [Create a key for a Claude Console organization](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-console-organization) on the Admin API keys and tokens page. Then, set the key as an environment variable:
125125 
126126```bash
127127export ANTHROPIC_ADMIN_KEY=sk-ant-admin01-...
from line 137
137137 
138138To inspect the scopes on a key you already have, use one of the following signals.
139139 
140* **Key prefix.** `sk-ant-admin01-` is an Admin API key (carries `read:compliance_activities` only, subject to the enablement timing in the preceding section; the exception is a key created while the Safety Cases API is available, which also carries that API’s scopes). `sk-ant-api01-` is a Compliance Access Key; its scopes are the subset you selected at creation.
141* **Settings UI.** For a Compliance Access Key, open the **Keys** section in [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) and read the **Scopes** column for the key. Admin API keys, listed on the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console, have no selectable scopes.
140* **Key prefix.** `sk-ant-admin01-` is a Console Admin API key. Of the Compliance API’s scopes, it carries only `read:compliance_activities`, and only if the Compliance API was enabled for the organization when the key was created. The exception is a key created while the Safety Cases API is available, which also carries that API’s scopes. `sk-ant-api01-` is an [Enterprise Admin API key](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#create-a-key-for-a-claude-enterprise-organization), with the scopes you selected when you created it. One that holds only Compliance API scopes is also called a Compliance Access Key.
141* **Settings UI.** For a Compliance Access Key, open the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). The **Scopes** column lists each key’s scopes. Console Admin API keys, listed on the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console, have no selectable scopes.
142142* **Error responses.** A call that exceeds the key’s scopes returns a 403 with a message in the format `Missing required scopes. Got: [<scopes the key carries>] Needed one of: [<scopes the endpoint accepts>]` (`Needed: [...]` on the delete endpoints). See [Handle Compliance API errors](https://platform.claude.com/docs/en/manage-claude/compliance-errors#403-forbidden) for the full error catalog.
143143 
144144```json
from line 152
152152 
153153## Manage and rotate keys
154154 
155Delete a Compliance Access Key from the same **Keys** table where you created it: go to [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access). Delete an Admin API key from the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console.
155Delete a Compliance Access Key in the **Keys** section of the [API settings](https://claude.ai/admin-settings/api-access) page in claude.ai (**Organization settings** > **API**). Delete a Console Admin API key from the [Admin keys](https://platform.claude.com/settings/admin-keys) page (`platform.claude.com/settings/admin-keys`) in the Claude Console.
156156 
157157Deleting a key takes effect on the next request: there is no grace period. Compliance Access Keys do not expire on their own.
158158 
Feedback