Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · api

One read of Claude Developer Platformapi-20261120T193709Z

650 pages moved out of 936 read.

Pages moved 650 significant first
Pages read 936 in this capture
Captured 19:37 UTC
Corpus hash 721918d8c137 corpus-hash

What this read moved

251-275 of 650, page 11 of 26

This capture is too large to show at once. Changes 251-275 of 650 are below, significant first; the rest are on the following screens.

manage-claude/access-transparency Changed · +37 / -37 lines

from line 63
6363 
6464When Anthropic approves your whole organization for [customer-managed encryption keys](https://platform.claude.com/docs/en/manage-claude/cmek) (CMEK), it also enables Access Transparency for the organization. This happens at approval, before you attach a key, so you don’t need to request Access Transparency separately. Access Transparency still doesn’t cover content in claude.ai. See [What Access Transparency does not cover](https://platform.claude.com/docs/en/manage-claude/access-transparency#what-access-transparency-does-not-cover).
6565 
66The approval also has these effects:
66Note the following about the approval:
6767 
68* **Linked organizations:** If your organization is linked to a [parent organization](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#which-key-do-you-need), Anthropic also enables Access Transparency for the other Claude Console organizations linked to that parent, including organizations linked to it later.
68* **Linked organizations:** If your organization is linked to a [parent organization](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#which-key-do-you-need), the approval doesn’t guarantee Access Transparency for the other Claude Console organizations linked to that parent, now or later. Some of those organizations might have it.
6969* **Browser calls:** Organizations with Access Transparency enabled cannot call the Claude API directly from a browser. See [Browser-based applications](https://platform.claude.com/docs/en/manage-claude/authentication#browser-based-applications).
7070 
7171The approval doesn’t change your Compliance API setting. Anthropic records Access Transparency events even while the Compliance API is off, but you can read them only while it’s on. To read them:
from line 101
101101 
102102Each `anthropic_access` activity carries the standard Activity fields plus the following:
103103 
104| Field | Type | Description |
105| ----------------------------- | --------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
106| `id` | string | Unique identifier for this activity |
107| `accessed_at` | RFC 3339 string | When the access occurred. Might be earlier than when the activity becomes visible in your feed |
108| `created_at` | RFC 3339 string | When Anthropic recorded the event. An event usually becomes visible in your feed shortly after; see [Timing](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#timing) for when it can lag |
109| `actor` | object | Always `{ "type": "anthropic_actor", "email_address": null }`. Individual employee identity is not disclosed |
110| `accessor_department` | string | The Anthropic team that performed the access (for example, `Safeguards`) |
111| `reason_code` | enum | See [Reason codes](https://platform.claude.com/docs/en/manage-claude/access-transparency#reason-codes) |
112| `resource_details.type` | enum | A resource type, currently only `message`. Extensible for future resource types |
113| `resource_details.id` | string or null | Identifier of the content accessed |
114| `resource_details.parent` | string or null | Identifier of the content’s parent, for example the conversation ID containing a message. Currently `null` or omitted until resources with parents are supported |
115| `organization_id` | string | The organization the content belongs to. Tagged ID format (`org_...`) |
116| `organization_uuid` | string | The organization the content belongs to. UUID format |
117| `workspace_id` | string or null | The workspace the content belongs to |
118| `workspace_uuid` | string | The workspace the content belongs to. UUID format. Present when the access was scoped to a workspace, and absent otherwise. Not one of the transparency log’s [leaf fields](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#how-an-event-becomes-a-leaf), so an inclusion proof does not cover it |
119| `transparency_log_leaf_index` | integer | The event’s zero-based position in your organization’s transparency log (beta). Present whenever the event has a leaf, and absent otherwise. See [Verify Access Transparency events with the transparency log](https://platform.claude.com/docs/en/manage-claude/access-transparency-log) |
120| `user_profile_id` | string | The [user profile](https://platform.claude.com/docs/en/manage-claude/user-profiles) the accessed or preserved content was created under. Tagged ID format (`uprof_...`). Present only when the content was created under a user profile |
104| Field | Type | Description |
105| ----- | ----- | ----- |
106| `id` | string | Unique identifier for this activity |
107| `accessed_at` | RFC 3339 string | When the access occurred. Might be earlier than when the activity becomes visible in your feed |
108| `created_at` | RFC 3339 string | When Anthropic recorded the event. An event usually becomes visible in your feed shortly after; see [Timing](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#timing) for when it can lag |
109| `actor` | object | Always `{ "type": "anthropic_actor", "email_address": null }`. Individual employee identity is not disclosed |
110| `accessor_department` | string | The Anthropic team that performed the access (for example, `Safeguards`) |
111| `reason_code` | enum | See [Reason codes](https://platform.claude.com/docs/en/manage-claude/access-transparency#reason-codes) |
112| `resource_details.type` | enum | A resource type, currently only `message`. Extensible for future resource types |
113| `resource_details.id` | string or null | Identifier of the content accessed |
114| `resource_details.parent` | string or null | Identifier of the content’s parent, for example the conversation ID containing a message. Currently `null` or omitted until resources with parents are supported |
115| `organization_id` | string | The organization the content belongs to. Tagged ID format (`org_...`) |
116| `organization_uuid` | string | The organization the content belongs to. UUID format |
117| `workspace_id` | string or null | The workspace the content belongs to |
118| `workspace_uuid` | string | The workspace the content belongs to. UUID format. Present when the access was scoped to a workspace, and absent otherwise. Not one of the transparency log’s [leaf fields](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#how-an-event-becomes-a-leaf), so an inclusion proof does not cover it |
119| `transparency_log_leaf_index` | integer | The event’s zero-based position in your organization’s transparency log (beta). Present whenever the event has a leaf, and absent otherwise. See [Verify Access Transparency events with the transparency log](https://platform.claude.com/docs/en/manage-claude/access-transparency-log) |
120| `user_profile_id` | string | The [user profile](https://platform.claude.com/docs/en/manage-claude/user-profiles) the accessed or preserved content was created under. Tagged ID format (`uprof_...`). Present only when the content was created under a user profile |
121121 
122122Example JSON message:
123123 
from line 180
180180 
181181The set of reason codes is closed. Anthropic will update this page in the event it introduces a new code.
182182 
183| Code | Meaning |
184| -------------------------------- | ------------------------------------------------------------------------------ |
185| `safety_review` | Content was viewed as part of a usage-policy or safety investigation |
186| `incident_response` | Content was viewed while investigating an incident affecting your organization |
183| Code | Meaning |
184| ----- | ----- |
185| `safety_review` | Content was viewed as part of a usage-policy or safety investigation |
186| `incident_response` | Content was viewed while investigating an incident affecting your organization |
187187| `policy_violation_investigation` | Content was preserved during a Trust and Safety policy-violation investigation |
188| `csae_report` | Content was preserved as evidence for a child safety (CSAE) report |
188| `csae_report` | Content was preserved as evidence for a child safety (CSAE) report |
189189 
190190## Surface eligibility
191191 
192192The following table lists which surfaces are covered by Access Transparency. Coverage means human access to content from that surface generates `anthropic_access` events.
193193 
194| Surface | Covered | Details |
195| -------------------------------------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------- |
196| Claude API (`api.anthropic.com`) | Yes | Prompts, completions, and data directly embedded in the API inputs |
197| Claude Code (using an API key) | Yes | API traffic from Claude Code is covered as Claude API traffic |
198| Claude Platform on AWS | Yes | Claude Platform on AWS generates Access Transparency events within the Compliance API (not AWS CloudTrail) |
199| Claude API (`api.anthropic.com`) (Batch, Files) | No | The Claude API Batch and Files APIs are not covered, just like they are not covered by ZDR |
200| Claude for Enterprise (claude.ai seats) | No | Not covered |
201| Claude for Work | No | Not covered |
202| Claude Free, Pro, Max, Ultra | No | Consumer plans are not eligible |
203| Playground (Claude Console) | No | Not covered |
204| Microsoft Foundry | No | Not available |
205| Amazon Bedrock, Claude Models on Google Cloud (Google managed) | No | Partner-operated platforms; refer to those platforms’ transparency controls |
194| Surface | Covered | Details |
195| ----- | ----- | ----- |
196| Claude API (`api.anthropic.com`) | Yes | Prompts, completions, and data directly embedded in the API inputs |
197| Claude Code (using an API key) | Yes | API traffic from Claude Code is covered as Claude API traffic |
198| Claude Platform on AWS | Yes | Claude Platform on AWS generates Access Transparency events within the Compliance API (not AWS CloudTrail) |
199| Claude API (`api.anthropic.com`) (Batch, Files) | No | The Claude API Batch and Files APIs are not covered, just like they are not covered by ZDR |
200| Claude for Enterprise (claude.ai seats) | No | Not covered |
201| Claude for Work | No | Not covered |
202| Claude Free, Pro, Max, Ultra | No | Consumer plans are not eligible |
203| Playground (Claude Console) | No | Not covered |
204| Microsoft Foundry | No | Not available |
205| Amazon Bedrock, Claude Models on Google Cloud (Google managed) | No | Partner-operated platforms; refer to those platforms’ transparency controls |
206206 
207207## Limitations and exclusions
208208 

manage-claude/access-transparency-log Changed · +50 / -50 lines

from line 71
7171 
7272Six read-only endpoints are served under `https://api.anthropic.com/v1/compliance/transparency_log/`:
7373 
74| Endpoint | Returns |
75| ----------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
76| [`GET /checkpoint`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-the-latest-checkpoint) | The latest signed checkpoint |
77| [`GET /keys`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-the-verifier-keys) | The verifier key set |
78| [`GET /inclusion`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#fetch-an-inclusion-proof) | An inclusion proof for one event |
79| [`GET /consistency`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#fetch-a-consistency-proof) | A consistency proof from a checkpoint you hold to the latest one |
80| [`GET /tile/{level}/{index}`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-a-hash-tile) | A Merkle hash tile |
81| [`GET /tile/entries/{index}`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-an-entry-bundle) | An entry bundle of leaf bytes |
74| Endpoint | Returns |
75| ----- | ----- |
76| [`GET /checkpoint`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-the-latest-checkpoint) | The latest signed checkpoint |
77| [`GET /keys`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-the-verifier-keys) | The verifier key set |
78| [`GET /inclusion`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#fetch-an-inclusion-proof) | An inclusion proof for one event |
79| [`GET /consistency`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#fetch-a-consistency-proof) | A consistency proof from a checkpoint you hold to the latest one |
80| [`GET /tile/{level}/{index}`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-a-hash-tile) | A Merkle hash tile |
81| [`GET /tile/entries/{index}`](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#read-an-entry-bundle) | An entry bundle of leaf bytes |
8282 
8383Checkpoints, tiles, and entry bundles follow the C2SP tlog-tiles wire format exactly. The two proof endpoints are conveniences: every proof is also computable from tiles, so you never have to trust a proof endpoint’s output. You verify the hashes it returns against a signed checkpoint.
8484 
from line 100
100100 
101101Errors use the standard Compliance API JSON error envelope on every endpoint, including the text and binary ones. See [Handle Compliance API errors](https://platform.claude.com/docs/en/manage-claude/compliance-errors) for the envelope and the shared error types.
102102 
103| Status | Meaning on this surface |
104| ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
105| `400` | `organization_id` is malformed or is omitted with a parent-organization key, the Compliance API is not enabled, a query parameter is unknown, or a per-endpoint validation failed |
106| `401` | The API key is missing or not valid |
107| `403` | The key lacks the required scope |
108| `404` | No log readable by this key, or the per-endpoint “not covered” and “beyond the tree” cases |
109| `429` | Rate limited. These endpoints share the Compliance API’s per-parent-organization [rate limit](https://platform.claude.com/docs/en/manage-claude/compliance-api). Honor `retry-after` |
110| `503` | The log is temporarily unavailable. Retry with backoff |
103| Status | Meaning on this surface |
104| ----- | ----- |
105| `400` | `organization_id` is malformed or is omitted with a parent-organization key, the Compliance API is not enabled, a query parameter is unknown, or a per-endpoint validation failed |
106| `401` | The API key is missing or not valid |
107| `403` | The key lacks the required scope |
108| `404` | No log readable by this key, or the per-endpoint “not covered” and “beyond the tree” cases |
109| `429` | Rate limited. These endpoints share the Compliance API’s per-parent-organization [rate limit](https://platform.claude.com/docs/en/manage-claude/compliance-api). Honor `retry-after` |
110| `503` | The log is temporarily unavailable. Retry with backoff |
111111 
112112### Caching
113113 
from line 166
166166}
167167```
168168 
169| Field | Type | Description |
170| ------------------------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
171| `type` | string | Always `transparency_log_keys` |
172| `origin` | string | The origin line every checkpoint of this log carries. Informational: compare checkpoints against the origin you derive yourself, not against this field |
173| `log_keys` | array | The key that signs new checkpoints first, then every other key the log serves, newest first. Never empty |
169| Field | Type | Description |
170| ----- | ----- | ----- |
171| `type` | string | Always `transparency_log_keys` |
172| `origin` | string | The origin line every checkpoint of this log carries. Informational: compare checkpoints against the origin you derive yourself, not against this field |
173| `log_keys` | array | The key that signs new checkpoints first, then every other key the log serves, newest first. Never empty |
174174| `log_keys[].verifier_key` | string | The key as a C2SP note-verifier string, `<origin>+<key_hash>+<base64 key>`, accepted by tlog-tiles tooling that supports ECDSA note keys (for example, the Go `github.com/transparency-dev/formats` module). The base64 part decodes to the algorithm byte `0x02` followed by the DER-encoded public key |
175| `log_keys[].key_hash` | string | Eight lowercase hex digits. The 4-byte selector that matches this key to a checkpoint’s signature line. It is the first 4 bytes of `fingerprint` and is not an identity |
176| `log_keys[].fingerprint` | string | 64 lowercase hex digits: the SHA-256 of the DER `SubjectPublicKeyInfo` |
177| `log_keys[].algorithm` | string | The key type, currently `ecdsa_p256_sha256`. Values may be added. Skip a key whose algorithm you do not support |
178| `log_keys[].public_key` | string | The public key as base64 DER `SubjectPublicKeyInfo` |
175| `log_keys[].key_hash` | string | Eight lowercase hex digits. The 4-byte selector that matches this key to a checkpoint’s signature line. It is the first 4 bytes of `fingerprint` and is not an identity |
176| `log_keys[].fingerprint` | string | 64 lowercase hex digits: the SHA-256 of the DER `SubjectPublicKeyInfo` |
177| `log_keys[].algorithm` | string | The key type, currently `ecdsa_p256_sha256`. Values may be added. Skip a key whose algorithm you do not support |
178| `log_keys[].public_key` | string | The public key as base64 DER `SubjectPublicKeyInfo` |
179179 
180180The `key_hash` covers only the key bytes: it is the first 4 bytes of SHA-256 over the DER `SubjectPublicKeyInfo`, which is the rule the ECDSA note-verifier encoding uses. It is not the name-dependent key ID that the base signed-note format defines for Ed25519 keys, so it does not change with the origin. A valid signature by a key listed in [Published key fingerprints](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#published-key-fingerprints) proves the checkpoint came from Anthropic’s transparency log service. The origin line inside the signed checkpoint is what binds it to your organization. That is why you compare that line against the origin you derive yourself.
181181 
from line 189
189189 
190190Anthropic publishes the fingerprint of every key that signs checkpoints here, outside the API. This lets you check a key you hold locally against a source the serving path cannot alter. The key you hold might come from an earlier `GET /keys` response or from tooling that pins the key.
191191 
192| Key hash | SHA-256 fingerprint | Algorithm | Signing since | Status |
193| ---------- | ------------------------------------------------------------------ | ------------------- | ------------- | ------------------- |
194| `1dff5fe4` | `1dff5fe420d49743fe444a04fc17f818eea856699dec2ebbc24df15602c74a58` | `ecdsa_p256_sha256` | 2026-08-17 | Current signing key |
192| Key hash | SHA-256 fingerprint | Algorithm | Signing since | Status |
193| ----- | ----- | ----- | ----- | ----- |
194| `1dff5fe4` | `1dff5fe420d49743fe444a04fc17f818eea856699dec2ebbc24df15602c74a58` | `ecdsa_p256_sha256` | 2026-08-17 | Current signing key |
195195 
196196A planned rotation is announced on this page at least 30 days before the new key signs its first checkpoint. During that notice period the new key is listed in `log_keys` and in this table with its switch date. Retired keys stay listed with their service dates. A key that does not appear in this table is not legitimate, whatever `GET /keys` returns. Treat a checkpoint that verifies under no listed key as a verification failure, and report it to your Anthropic account representative or [Anthropic support](https://support.claude.com).
197197 
from line 201
201201 
202202`GET /v1/compliance/transparency_log/inclusion?leaf_index={index}`
203203 
204| Parameter | Type | Description |
205| ----------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
206| `leaf_index` | integer, required | The event’s position in the log: the `transparency_log_leaf_index` the Activity Feed served on the event. Must be zero or greater |
207| `organization_id` | string, optional | See [Authentication and scoping](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#authentication-and-scoping) |
204| Parameter | Type | Description |
205| ----- | ----- | ----- |
206| `leaf_index` | integer, required | The event’s position in the log: the `transparency_log_leaf_index` the Activity Feed served on the event. Must be zero or greater |
207| `organization_id` | string, optional | See [Authentication and scoping](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#authentication-and-scoping) |
208208 
209209```bash
210210curl --fail-with-body -sS -G \
from line 227
227227}
228228```
229229 
230| Field | Type | Description |
231| ------------ | ---------------- | ------------------------------------------------------------------------------------------ |
232| `type` | string | Always `transparency_log_inclusion_proof` |
233| `leaf_index` | integer | The event’s position in the log, echoed from the request |
234| `hashes` | array of strings | The base64 sibling hashes of the audit path, ordered from the leaf up to the root |
235| `checkpoint` | string | The latest signed checkpoint, the one the proof verifies against. It carries the tree size |
230| Field | Type | Description |
231| ----- | ----- | ----- |
232| `type` | string | Always `transparency_log_inclusion_proof` |
233| `leaf_index` | integer | The event’s position in the log, echoed from the request |
234| `hashes` | array of strings | The base64 sibling hashes of the audit path, ordered from the leaf up to the root |
235| `checkpoint` | string | The latest signed checkpoint, the one the proof verifies against. It carries the tree size |
236236 
237237There is no lookup by activity ID. You always hold the index, because it arrives on the event, and you check the proof against the event bytes you fetched from the feed.
238238 
from line 247
247247 
248248`GET /v1/compliance/transparency_log/consistency?from={size}`
249249 
250| Parameter | Type | Description |
251| ----------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
252| `from` | integer, required | The tree size of the earlier checkpoint you hold. Must be at least 1 and at most the latest checkpoint’s tree size |
253| `organization_id` | string, optional | See [Authentication and scoping](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#authentication-and-scoping) |
250| Parameter | Type | Description |
251| ----- | ----- | ----- |
252| `from` | integer, required | The tree size of the earlier checkpoint you hold. Must be at least 1 and at most the latest checkpoint’s tree size |
253| `organization_id` | string, optional | See [Authentication and scoping](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#authentication-and-scoping) |
254254 
255255```bash
256256curl --fail-with-body -sS -G \
from line 272
272272}
273273```
274274 
275| Field | Type | Description |
276| ------------ | ---------------- | ------------------------------------------------------------------------------------ |
277| `type` | string | Always `transparency_log_consistency_proof` |
278| `hashes` | array of strings | The base64 proof hashes, in RFC 9162 order |
279| `checkpoint` | string | The latest signed checkpoint, the one the proof extends to. It carries the tree size |
275| Field | Type | Description |
276| ----- | ----- | ----- |
277| `type` | string | Always `transparency_log_consistency_proof` |
278| `hashes` | array of strings | The base64 proof hashes, in RFC 9162 order |
279| `checkpoint` | string | The latest signed checkpoint, the one the proof extends to. It carries the tree size |
280280 
281281* The proof always extends to the latest published checkpoint. This API never serves historical checkpoints: you keep the ones you are served.
282282* A `from` equal to the latest checkpoint’s tree size returns the empty proof.
from line 405
405405Each `axt-verify` release rebuilds only [leaf versions](https://platform.claude.com/docs/en/manage-claude/access-transparency-log#how-an-event-becomes-a-leaf) that were defined when it was released. Assume that your log can start writing a new version at any time once a release that rebuilds it is published. Install that release as soon as it is published.
406406 
407407| Leaf version | `axt-verify` releases that rebuild it |
408| ------------ | ------------------------------------- |
409| `0x01` | Every release |
410| `0x02` | `v0.2.0` and later |
408| ----- | ----- |
409| `0x01` | Every release |
410| `0x02` | `v0.2.0` and later |
411411 
412412`axt-verify version` prints the release you run. A new installation gets the newest release. If the table’s last row does not include your release, upgrade to a release in that row. If none is published yet, upgrade as soon as one is:
413413 

manage-claude/admin-api Changed · +6 / -6 lines

from line 234
234234 
235235Claude Console organizations have five organization-level roles. For details, see [API Console roles and permissions](https://support.claude.com/en/articles/10186004-api-console-roles-and-permissions).
236236 
237| Role | Permissions |
238| ------------------ | ------------------------------------------------------------------------------ |
239| user | Can use playground |
237| Role | Permissions |
238| ----- | ----- |
239| user | Can use playground |
240240| claude\_code\_user | Can use playground and [Claude Code](https://code.claude.com/docs/en/overview) |
241| developer | Can use playground and manage API keys |
242| billing | Can use playground and manage billing details |
243| admin | Can do all of the preceding, plus manage users |
241| developer | Can use playground and manage API keys |
242| billing | Can use playground and manage billing details |
243| admin | Can do all of the preceding, plus manage users |
244244 
245245Claude Enterprise organizations have a different set of roles, including owners and a primary owner. See [Organization roles](https://platform.claude.com/docs/en/manage-claude/user-management#organization-roles).
246246 

manage-claude/admin-api-keys Changed · +26 / -26 lines

from line 10
1010 
1111The key you need depends on which Claude product your organization uses: Claude Console (Claude Platform) or Claude Enterprise.
1212 
13| Organization | Claude Console | Claude Enterprise |
14| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
15| **Sign-in address** | `platform.claude.com` | `claude.ai` |
16| **Where to create it** | [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) |
17| **Key prefix** | `sk-ant-admin01-...` | `sk-ant-api01-...` |
18| **Who can create it** | Organization members with the **admin** role | **Primary owner:** any scope<br />**Organization owner:** Compliance API scopes only, for their own organization |
19| **Scopes** | None to select: every key has full access to the endpoints that accept it | [Choose scopes](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#choose-scopes-for-a-claude-enterprise-key) when you create the key. The key works only with the APIs your scopes cover |
20| **Works with** | [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api)<br />[Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)<br />[Compliance API Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed)<br />[Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy)<br />[Rate Limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api)<br />[Claude Code Analytics API](https://platform.claude.com/docs/en/manage-claude/claude-code-analytics-api) | Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management)<br />[Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)<br />[Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api)<br />[Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy)<br />[Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api)<br />[Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api)<br />[Claude Tag API](https://platform.claude.com/docs/en/manage-claude/claude-tag-api)<br />[Spend Limits API](https://platform.claude.com/docs/en/manage-claude/spend-limits-api) |
13| Organization | Claude Console | Claude Enterprise |
14| ----- | ----- | ----- |
15| **Sign-in address** | `platform.claude.com` | `claude.ai` |
16| **Where to create it** | [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) |
17| **Key prefix** | `sk-ant-admin01-...` | `sk-ant-api01-...` |
18| **Who can create it** | Organization members with the **admin** role | **Primary owner:** any scope<br />**Organization owner:** Compliance API scopes only, for their own organization |
19| **Scopes** | None to select: every key has full access to the endpoints that accept it | [Choose scopes](https://platform.claude.com/docs/en/manage-claude/admin-api-keys#choose-scopes-for-a-claude-enterprise-key) when you create the key. The key works only with the APIs your scopes cover |
20| **Works with** | [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api)<br />[Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)<br />[Compliance API Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed)<br />[Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy)<br />[Rate Limits API](https://platform.claude.com/docs/en/manage-claude/rate-limits-api)<br />[Claude Code Analytics API](https://platform.claude.com/docs/en/manage-claude/claude-code-analytics-api) | Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management)<br />[Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api)<br />[Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api)<br />[Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy)<br />[Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api)<br />[Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api)<br />[Claude Tag API](https://platform.claude.com/docs/en/manage-claude/claude-tag-api)<br />[Spend Limits API](https://platform.claude.com/docs/en/manage-claude/spend-limits-api) |
2121 
2222Most keys reach only the organization you created them in. Some keys, such as those with Compliance API, group, or audit scopes, can reach further if your company links its organizations under a [parent organization](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#which-key-do-you-need). If your company uses both Claude Console and Claude Enterprise, create one key in each.
2323 
from line 63
6363 
6464When you create a Claude Enterprise key, select every scope that the APIs you plan to call require. Scopes are fixed at creation; to add a scope later, create a new key. A key that holds only Compliance API scopes is also called a Compliance Access Key. A key that holds only `read:analytics` is also called an Analytics API key.
6565 
66| To call... | Select these scopes |
67| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- |
68| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): list and look up members and invites; read custom roles and their permissions | `read:members` |
69| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): change member roles, remove members, [sign members out everywhere](https://platform.claude.com/docs/en/manage-claude/user-management#sign-a-member-out-everywhere) (beta), and create and withdraw invites (to assign the `managed` role on a role change or an invite, also select `write:rbac_groups`) | `write:members` |
70| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): read groups and their members | `read:rbac_groups` |
71| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): create, rename, and delete groups; add and remove group members; with `write:members`, assign the `managed` role (on an invite or a role change) or assign groups on an invite | `write:rbac_groups` |
72| [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api): read plugins, versions, installation settings, shares, and marketplaces; download plugin files, including the files of members’ personal plugins; validate a marketplace before you connect it | `read:plugins` |
73| [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api): upload plugins and versions; choose which version members are served; delete plugins, including members’ personal plugins; set and remove installation settings; set a marketplace’s default installation setting; validate a marketplace before you connect it (to read plugins, also select `read:plugins`) | `write:plugins` |
74| [Claude Tag API](https://platform.claude.com/docs/en/manage-claude/claude-tag-api): read Claude Tag’s settings on Slack channels and Slack workspaces; list Access bundles and where they are attached (no other scope grants read access to the Claude Tag API) | `read:claude_tag` |
75| [Claude Tag API](https://platform.claude.com/docs/en/manage-claude/claude-tag-api): set up and remove channels; change settings; attach and detach Access bundles (to read as well, also select `read:claude_tag`) | `write:claude_tag` |
76| [Spend Limits API](https://platform.claude.com/docs/en/manage-claude/spend-limits-api): read members’ effective spend limits and increase requests | `read:spend_limits` |
77| [Spend Limits API](https://platform.claude.com/docs/en/manage-claude/spend-limits-api): set or clear per-user spend limits; approve or deny increase requests | `write:spend_limits` |
78| [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api): engagement, adoption, cost, and usage reports; [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api): token usage and cost reports; [Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy): usage and cost reports | `read:analytics` |
79| [Compliance API Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed): organization-wide activity events | `read:compliance_activities` |
80| [Compliance API chat, file, and project endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-content-data) and [Compliance API session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions): read chats, files, projects, session transcripts, and [organization users](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#list-organization-users); together with `read:compliance_org_data`, also 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 | `read:compliance_user_data` |
81| [Compliance API chat, file, and project endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-content-data): delete chats, files, and projects | `delete:compliance_user_data` |
82| [Compliance API organization endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-org-data): read organization metadata and effective settings, and an organization’s [Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference); [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api): every `GET` endpoint, including file downloads | `read:compliance_org_data` |
83| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management) read endpoints, every Compliance API read endpoint, and every [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api) `GET` endpoint, including file downloads, with a single read-only scope (for security-audit integrations; does not include the Spend Limits or Analytics APIs) | `read:org_audit` |
66| To call... | Select these scopes |
67| ----- | ----- |
68| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): list and look up members and invites; read custom roles and their permissions | `read:members` |
69| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): change member roles, remove members, [sign members out everywhere](https://platform.claude.com/docs/en/manage-claude/user-management#sign-a-member-out-everywhere) (beta), and create and withdraw invites (to assign the `managed` role on a role change or an invite, also select `write:rbac_groups`) | `write:members` |
70| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): read groups and their members | `read:rbac_groups` |
71| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management): create, rename, and delete groups; add and remove group members; with `write:members`, assign the `managed` role (on an invite or a role change) or assign groups on an invite | `write:rbac_groups` |
72| [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api): read plugins, versions, installation settings, shares, and marketplaces; download plugin files, including the files of members’ personal plugins; validate a marketplace before you connect it | `read:plugins` |
73| [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api): upload plugins and versions; choose which version members are served; delete plugins, including members’ personal plugins; set and remove installation settings; set a marketplace’s default installation setting; validate a marketplace before you connect it (to read plugins, also select `read:plugins`) | `write:plugins` |
74| [Claude Tag API](https://platform.claude.com/docs/en/manage-claude/claude-tag-api): read Claude Tag’s settings on Slack channels and Slack workspaces; list Access bundles and where they are attached (no other scope grants read access to the Claude Tag API) | `read:claude_tag` |
75| [Claude Tag API](https://platform.claude.com/docs/en/manage-claude/claude-tag-api): set up and remove channels; change settings; attach and detach Access bundles (to read as well, also select `read:claude_tag`) | `write:claude_tag` |
76| [Spend Limits API](https://platform.claude.com/docs/en/manage-claude/spend-limits-api): read members’ effective spend limits and increase requests | `read:spend_limits` |
77| [Spend Limits API](https://platform.claude.com/docs/en/manage-claude/spend-limits-api): set or clear per-user spend limits; approve or deny increase requests | `write:spend_limits` |
78| [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api): engagement, adoption, cost, and usage reports; [Usage and Cost Analytics API](https://platform.claude.com/docs/en/manage-claude/usage-cost-analytics-api): token usage and cost reports; [Usage and Cost API](https://platform.claude.com/docs/en/manage-claude/usage-cost-api) (legacy): usage and cost reports | `read:analytics` |
79| [Compliance API Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed): organization-wide activity events | `read:compliance_activities` |
80| [Compliance API chat, file, and project endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-content-data) and [Compliance API session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions): read chats, files, projects, session transcripts, and [organization users](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#list-organization-users); together with `read:compliance_org_data`, also 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 | `read:compliance_user_data` |
81| [Compliance API chat, file, and project endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-content-data): delete chats, files, and projects | `delete:compliance_user_data` |
82| [Compliance API organization endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-org-data): read organization metadata and effective settings, and an organization’s [Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference); [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api): every `GET` endpoint, including file downloads | `read:compliance_org_data` |
83| Admin API [user management](https://platform.claude.com/docs/en/manage-claude/user-management) read endpoints, every Compliance API read endpoint, and every [Plugins API](https://platform.claude.com/docs/en/manage-claude/plugins-api) `GET` endpoint, including file downloads, with a single read-only scope (for security-audit integrations; does not include the Spend Limits or Analytics APIs) | `read:org_audit` |
8484 
8585Compliance API scopes need the [Compliance API enabled](https://platform.claude.com/docs/en/manage-claude/compliance-api-access#set-up-the-compliance-api) before you can create a key with them. The `read:analytics` scope needs [access to the Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api#get-access-to-the-claude-enterprise-analytics-api).
8686 

manage-claude/analytics-api Changed · +4 / -4 lines

from line 13
1313 
1414## Which API do you need?
1515 
16| API | Key type | Created in | Who can create it | What it covers |
17| ----------------------------------- | ----------------- | ---------------------------------------------------------------------------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------- |
18| **Claude Code Analytics API** | Admin API key | [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console | Organization admin | Daily Claude Code metrics for each user: sessions, lines of code, commits, pull requests, tool acceptance, and estimated cost by model |
19| **Claude Enterprise Analytics API** | Analytics API key | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | Primary owner | Organization-wide engagement and adoption (user activity, active-user summaries, project, skill, and connector usage), plus cost and usage reports |
16| API | Key type | Created in | Who can create it | What it covers |
17| ----- | ----- | ----- | ----- | ----- |
18| **Claude Code Analytics API** | Admin API key | [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console | Organization admin | Daily Claude Code metrics for each user: sessions, lines of code, commits, pull requests, tool acceptance, and estimated cost by model |
19| **Claude Enterprise Analytics API** | Analytics API key | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | Primary owner | Organization-wide engagement and adoption (user activity, active-user summaries, project, skill, and connector usage), plus cost and usage reports |
2020 
2121The two key types differ in what they can call:
2222 

manage-claude/api-and-data-retention Changed · +46 / -46 lines

from line 172
172172 
173173This section lists features that relate to both the [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) and [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview). Some are available in only one of them. This table gives each feature’s eligibility in the Messages API. In Claude Managed Agents, no feature is eligible for ZDR or HIPAA readiness, except for self-hosted Managed Agents under ZDR. See the Claude Managed Agents row under [Managed Agents features](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#managed-agents-features).
174174 
175| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
176| :------------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------- | :-------------- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
177| [Advisor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool) | `/v1/messages` with `advisor` tool | Yes | No | Advisor model output is returned in the API response; nothing is stored server-side after the response. |
178| [Agent Skills](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview) | `/v1/skills`, `/v1/messages` with `skills` | No | No | Skill data retained according to standard policy. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview#data-retention) |
179| [Batch processing](https://platform.claude.com/docs/en/build-with-claude/batch-processing) | `/v1/messages/batches` | No | No | 29-day retention; async storage required. [Learn more](https://platform.claude.com/docs/en/build-with-claude/batch-processing#data-retention) |
180| [Browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) | `/v1/messages` with `browser` toolset | Yes | No | Client-side tool. Anthropic does not run browser actions or retain page content beyond standard API handling. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool#data-retention) Not covered under HIPAA readiness; requests that include the browser use tool are not blocked. |
181| [Citations](https://platform.claude.com/docs/en/build-with-claude/citations) | `/v1/messages` | Yes | Yes | |
182| [Computer use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) | `/v1/messages` with `computer` toolset or tool | Yes | Yes | Client-side tool where screenshots and files are captured and stored in your environment, not by Anthropic. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool#data-retention) |
183| [Data residency](https://platform.claude.com/docs/en/manage-claude/data-residency) | `/v1/messages` with `inference_geo` | Yes | Yes | |
184| [Effort](https://platform.claude.com/docs/en/build-with-claude/effort) | `/v1/messages` with `effort` | Yes | Yes | |
185| [Fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode) | `/v1/messages` with `speed: "fast"` | Yes | Yes | Same Messages API endpoint with faster inference. ZDR applies regardless of speed setting. |
186| [Files API](https://platform.claude.com/docs/en/build-with-claude/files) | `/v1/files` | No | No | Files retained until explicitly deleted or they reach their configured expiration. [Learn more](https://platform.claude.com/docs/en/build-with-claude/files#data-retention) |
187| [MCP connector](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector) | `/v1/messages` with `mcp_servers` | No | No | Data retained according to standard policy. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector#data-retention) |
188| [MCP tunnels](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/overview) | `/v1/tunnels` | No | No | Research preview. The MCP tunnels security page describes the data-flow boundary and subprocessor details. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/security) |
189| [Mid-conversation system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages) | `/v1/messages` with `role: "system"` messages | Yes | Yes | Request-shape capability of the Messages API; mid-conversation system messages flow through the standard inference path and nothing is stored server-side after the response. |
190| [PDF support](https://platform.claude.com/docs/en/build-with-claude/pdf-support) | `/v1/messages` | Yes | Yes | HIPAA eligibility applies to PDFs sent inline through the Messages API, not through the Files API. |
191| [Programmatic tool calling](https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling) | `/v1/messages` with `code_execution` tool | No | No | Built on code execution containers; data retained up to 30 days. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling#data-retention) |
192| [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | `/v1/messages` | Yes | Yes | Your prompts and Claude’s outputs are not stored. KV cache representations and cryptographic hashes are held in memory for the cache TTL and promptly deleted after expiry. [Learn more](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#data-retention) |
193| ↳ [Cache diagnostics](https://platform.claude.com/docs/en/build-with-claude/cache-diagnostics) | `/v1/messages` with `diagnostics` | Yes (qualified) | No | Your prompts and Claude’s outputs are not stored. A fingerprint of cryptographic hashes and token-count estimates is retained briefly to allow comparison against the next request. [Learn more](https://platform.claude.com/docs/en/build-with-claude/cache-diagnostics#data-retention) |
194| [Search results](https://platform.claude.com/docs/en/build-with-claude/search-results) | `/v1/messages` with `search_results` source | Yes | Yes | |
195| [Structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs) | `/v1/messages` | Yes (qualified) | Yes | Your prompts and Claude’s outputs are not stored. Only the JSON schema is cached, for up to 24 hours since last use. This also covers strict tool use (`strict: true` on tools), which uses the same grammar pipeline. [Learn more](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#data-retention) PHI must not be included in JSON schema definitions; see PHI handling guidelines. [Learn more](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#phi-handling-guidelines) |
196| [Thinking](https://platform.claude.com/docs/en/build-with-claude/thinking) | `/v1/messages` with `thinking` | Yes | Yes | |
197| ↳ [Adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking-steering-and-cost) | `/v1/messages` | Yes | Yes | |
198| [Threshold compaction](https://platform.claude.com/docs/en/build-with-claude/compaction-threshold) | `/v1/messages` with `context_management` | Yes | No | Server-side compaction results are returned and round-tripped statelessly through the API response. |
199| [Token counting](https://platform.claude.com/docs/en/build-with-claude/token-counting) | `/v1/messages/count_tokens` | Yes | Yes | Count tokens before sending requests. |
200| [Tool search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool) | `/v1/messages` with `tool_search` tool | Yes | No | Server-side tool run by Anthropic; the tool definitions in the request are searched in memory per call and nothing is stored after the response. |
201| [Web fetch tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool) | `/v1/messages` with `web_fetch` tool | Yes | No | Fetched web content returned in the API response. Dynamic filtering for web fetch is not eligible for ZDR or HIPAA. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies. |
202| [Web search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool) | `/v1/messages` with `web_search` tool | Yes | Yes | Real-time web search results returned in the API response. Dynamic filtering for web search is not eligible for ZDR or HIPAA. |
175| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
176| :---- | :---- | :---- | :---- | :---- |
177| [Advisor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool) | `/v1/messages` with `advisor` tool | Yes | No | Advisor model output is returned in the API response; nothing is stored server-side after the response. |
178| [Agent Skills](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview) | `/v1/skills`, `/v1/messages` with `skills` | No | No | Skill data retained according to standard policy. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview#data-retention) |
179| [Batch processing](https://platform.claude.com/docs/en/build-with-claude/batch-processing) | `/v1/messages/batches` | No | No | 29-day retention; async storage required. [Learn more](https://platform.claude.com/docs/en/build-with-claude/batch-processing#data-retention) |
180| [Browser use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool) | `/v1/messages` with `browser` toolset | Yes | No | Client-side tool. Anthropic does not run browser actions or retain page content beyond standard API handling. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool#data-retention) Not covered under HIPAA readiness; requests that include the browser use tool are not blocked. |
181| [Citations](https://platform.claude.com/docs/en/build-with-claude/citations) | `/v1/messages` | Yes | Yes | |
182| [Computer use tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool) | `/v1/messages` with `computer` toolset or tool | Yes | Yes | Client-side tool where screenshots and files are captured and stored in your environment, not by Anthropic. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool#data-retention) |
183| [Data residency](https://platform.claude.com/docs/en/manage-claude/data-residency) | `/v1/messages` with `inference_geo` | Yes | Yes | |
184| [Effort](https://platform.claude.com/docs/en/build-with-claude/effort) | `/v1/messages` with `effort` | Yes | Yes | |
185| [Fast mode](https://platform.claude.com/docs/en/build-with-claude/fast-mode) | `/v1/messages` with `speed: "fast"` | Yes | Yes | Same Messages API endpoint with faster inference. ZDR applies regardless of speed setting. |
186| [Files API](https://platform.claude.com/docs/en/build-with-claude/files) | `/v1/files` | No | No | Files retained until explicitly deleted or they reach their configured expiration. [Learn more](https://platform.claude.com/docs/en/build-with-claude/files#data-retention) |
187| [MCP connector](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector) | `/v1/messages` with `mcp_servers` | No | No | Data retained according to standard policy. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/mcp-connector#data-retention) |
188| [MCP tunnels](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/overview) | `/v1/tunnels` | No | No | Research preview. The MCP tunnels security page describes the data-flow boundary and subprocessor details. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/mcp-tunnels/security) |
189| [Mid-conversation system messages](https://platform.claude.com/docs/en/build-with-claude/mid-conversation-system-messages) | `/v1/messages` with `role: "system"` messages | Yes | Yes | Request-shape capability of the Messages API; mid-conversation system messages flow through the standard inference path and nothing is stored server-side after the response. |
190| [PDF support](https://platform.claude.com/docs/en/build-with-claude/pdf-support) | `/v1/messages` | Yes | Yes | HIPAA eligibility applies to PDFs sent inline through the Messages API, not through the Files API. |
191| [Programmatic tool calling](https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling) | `/v1/messages` with `code_execution` tool | No | No | Built on code execution containers; data retained up to 30 days. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling#data-retention) |
192| [Prompt caching](https://platform.claude.com/docs/en/build-with-claude/prompt-caching) | `/v1/messages` | Yes | Yes | Your prompts and Claude’s outputs are not stored. KV cache representations and cryptographic hashes are held in memory for the cache TTL and promptly deleted after expiry. [Learn more](https://platform.claude.com/docs/en/build-with-claude/prompt-caching#data-retention) |
193| ↳ [Cache diagnostics](https://platform.claude.com/docs/en/build-with-claude/cache-diagnostics) | `/v1/messages` with `diagnostics` | Yes (qualified) | No | Your prompts and Claude’s outputs are not stored. A fingerprint of cryptographic hashes and token-count estimates is retained briefly to allow comparison against the next request. [Learn more](https://platform.claude.com/docs/en/build-with-claude/cache-diagnostics#data-retention) |
194| [Search results](https://platform.claude.com/docs/en/build-with-claude/search-results) | `/v1/messages` with `search_results` source | Yes | Yes | |
195| [Structured outputs](https://platform.claude.com/docs/en/build-with-claude/structured-outputs) | `/v1/messages` | Yes (qualified) | Yes | Your prompts and Claude’s outputs are not stored. Only the JSON schema is cached, for up to 24 hours since last use. This also covers strict tool use (`strict: true` on tools), which uses the same grammar pipeline. [Learn more](https://platform.claude.com/docs/en/build-with-claude/structured-outputs#data-retention) PHI must not be included in JSON schema definitions; see PHI handling guidelines. [Learn more](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#phi-handling-guidelines) |
196| [Thinking](https://platform.claude.com/docs/en/build-with-claude/thinking) | `/v1/messages` with `thinking` | Yes | Yes | |
197| ↳ [Adaptive thinking](https://platform.claude.com/docs/en/build-with-claude/thinking-steering-and-cost) | `/v1/messages` | Yes | Yes | |
198| [Threshold compaction](https://platform.claude.com/docs/en/build-with-claude/compaction-threshold) | `/v1/messages` with `context_management` | Yes | No | Server-side compaction results are returned and round-tripped statelessly through the API response. |
199| [Token counting](https://platform.claude.com/docs/en/build-with-claude/token-counting) | `/v1/messages/count_tokens` | Yes | Yes | Count tokens before sending requests. |
200| [Tool search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool) | `/v1/messages` with `tool_search` tool | Yes | No | Server-side tool run by Anthropic; the tool definitions in the request are searched in memory per call and nothing is stored after the response. |
201| [Web fetch tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool) | `/v1/messages` with `web_fetch` tool | Yes | No | Fetched web content returned in the API response. Dynamic filtering for web fetch is not eligible for ZDR or HIPAA. Website publishers might retain request data (such as fetched URLs and request metadata) according to their own policies. |
202| [Web search tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool) | `/v1/messages` with `web_search` tool | Yes | Yes | Real-time web search results returned in the API response. Dynamic filtering for web search is not eligible for ZDR or HIPAA. |
203203 
204204### Messages API features
205205 
206| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
207| :----------------------------------------------------------------------------------------------------------------------- | :---------------------------------------- | :----------- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
208| [Bash tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/bash-tool) | `/v1/messages` with `bash` tool | Yes | Yes | Client-side tool run in your environment. |
209| [Code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) | `/v1/messages` with `code_execution` tool | No | No | Container data retained up to 30 days. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#data-retention) |
210| [Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) | `/v1/messages` with `context_management` | Yes | No | Context edits (tool use clearing and thinking clearing) are applied in real time. |
211| [Fine-grained tool streaming](https://platform.claude.com/docs/en/agents-and-tools/tool-use/fine-grained-tool-streaming) | `/v1/messages` | Yes | Yes | |
212| [Memory tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool) | `/v1/messages` with `memory` tool | Yes | Yes | Client-side memory storage where you control data retention. |
213| [Message threads](https://platform.claude.com/docs/en/build-with-claude/message-threads) | `/v1/messages` with `thread` | No | No | A thread’s contents (the conversation, system prompt, and tools) are held in memory, encrypted under a server-managed key, never written to durable storage, and deleted no more than 1 hour after the thread’s last use. Using this feature does not affect your use of other ZDR eligible features. [Learn more](https://platform.claude.com/docs/en/build-with-claude/message-threads#data-retention) |
214| [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) | `/v1/messages` | Yes | Yes | Standard API calls for generating Claude responses. |
215| [Text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool) | `/v1/messages` with `text_editor` tool | Yes | Yes | Client-side tool run in your environment. |
206| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
207| :---- | :---- | :---- | :---- | :---- |
208| [Bash tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/bash-tool) | `/v1/messages` with `bash` tool | Yes | Yes | Client-side tool run in your environment. |
209| [Code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool) | `/v1/messages` with `code_execution` tool | No | No | Container data retained up to 30 days. [Learn more](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#data-retention) |
210| [Context editing](https://platform.claude.com/docs/en/build-with-claude/context-editing) | `/v1/messages` with `context_management` | Yes | No | Context edits (tool use clearing and thinking clearing) are applied in real time. |
211| [Fine-grained tool streaming](https://platform.claude.com/docs/en/agents-and-tools/tool-use/fine-grained-tool-streaming) | `/v1/messages` | Yes | Yes | |
212| [Memory tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/memory-tool) | `/v1/messages` with `memory` tool | Yes | Yes | Client-side memory storage where you control data retention. |
213| [Message threads](https://platform.claude.com/docs/en/build-with-claude/message-threads) | `/v1/messages` with `thread` | No | No | A thread’s contents (the conversation, system prompt, and tools) are held in memory, encrypted under a server-managed key, never written to durable storage, and deleted no more than 1 hour after the thread’s last use. Using this feature does not affect your use of other ZDR eligible features. [Learn more](https://platform.claude.com/docs/en/build-with-claude/message-threads#data-retention) |
214| [Messages API](https://platform.claude.com/docs/en/build-with-claude/working-with-messages) | `/v1/messages` | Yes | Yes | Standard API calls for generating Claude responses. |
215| [Text editor tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/text-editor-tool) | `/v1/messages` with `text_editor` tool | Yes | Yes | Client-side tool run in your environment. |
216216 
217217### Managed Agents features
218218 
219| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
220| :----------------------------------------------------------------------------------- | :----------------------------------------------- | :----------- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
221| [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview) | `/v1/agents`, `/v1/sessions`, `/v1/environments` | No | No | Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them. [Learn more](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept) Not eligible for HIPAA. Applies to all Managed Agents sub-features. |
219| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
220| :---- | :---- | :---- | :---- | :---- |
221| [Claude Managed Agents](https://platform.claude.com/docs/en/managed-agents/overview) | `/v1/agents`, `/v1/sessions`, `/v1/environments` | No | No | Not eligible for ZDR, except for self-hosted Managed Agents. Sessions are stateful resources; transcripts persist until you delete them. [Learn more](https://platform.claude.com/docs/en/managed-agents/self-hosted-data-and-access#how-long-data-is-kept) Not eligible for HIPAA. Applies to all Managed Agents sub-features. |
222222 
223223### Other features
224224 
225| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
226| ------------------------------------------------------------------------------------------------ | ------------------------------------------ | ------------ | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
227| [1M token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | `/v1/messages` | Yes | Yes | |
228| [OpenTelemetry export](https://platform.claude.com/docs/en/manage-claude/opentelemetry) | `/v1/organizations/telemetry_destinations` | Yes | No | Beta. Spans have the same ZDR eligibility as the feature that produces them. HIPAA organizations can export metadata. SDK spans go directly from your environment to your exporter. After delivery, the data is held by the service that you chose, outside Anthropic, under that service’s retention and access controls. |
229| [User profiles](https://platform.claude.com/docs/en/manage-claude/user-profiles) | `/v1/user_profiles` | No | No | Profiles are metadata about your end customers and don’t contain prompts or outputs. The profile data you send is retained according to standard policy until you delete the profile. HIPAA-enabled organizations can use user profiles, but the user profiles API is not a HIPAA-eligible service and PHI must not be included in the profile data you send. See [What a profile contains and how Anthropic uses it](https://platform.claude.com/docs/en/manage-claude/user-profiles#what-a-profile-contains-and-how-anthropic-uses-it). |
225| Feature | Endpoint | ZDR eligible | HIPAA eligible | Details |
226| ----- | ----- | ----- | ----- | ----- |
227| [1M token context window](https://platform.claude.com/docs/en/build-with-claude/context-windows) | `/v1/messages` | Yes | Yes | |
228| [OpenTelemetry export](https://platform.claude.com/docs/en/manage-claude/opentelemetry) | `/v1/organizations/telemetry_destinations` | Yes | No | Beta. Spans have the same ZDR eligibility as the feature that produces them. HIPAA organizations can export metadata. SDK spans go directly from your environment to your exporter. After delivery, the data is held by the service that you chose, outside Anthropic, under that service’s retention and access controls. |
229| [User profiles](https://platform.claude.com/docs/en/manage-claude/user-profiles) | `/v1/user_profiles` | No | No | Profiles are metadata about your end customers and don’t contain prompts or outputs. The profile data you send is retained according to standard policy until you delete the profile. HIPAA-enabled organizations can use user profiles, but the user profiles API is not a HIPAA-eligible service and PHI must not be included in the profile data you send. See [What a profile contains and how Anthropic uses it](https://platform.claude.com/docs/en/manage-claude/user-profiles#what-a-profile-contains-and-how-anthropic-uses-it). |
230230 
231231## Retention regardless of arrangement
232232 

manage-claude/authentication Changed · +10 / -10 lines

from line 6
66 
77The Claude API supports three ways to authenticate requests:
88 
9| Method | Credential | Best for |
10| ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
11| [API key](https://platform.claude.com/docs/en/manage-claude/authentication#api-keys) | Static `sk-ant-api...` secret sent as a bearer token in the `Authorization` header | Local development, prototyping, scripts, and servers where you control secret storage |
12| [Workload Identity Federation (WIF)](https://platform.claude.com/docs/en/manage-claude/authentication#workload-identity-federation) | Short-lived bearer token exchanged from your identity provider’s identity token | Production workloads on cloud platforms (AWS, Google Cloud, and Azure), CI/CD pipelines, and Kubernetes, where you want to eliminate static secrets |
13| [App Attest](https://platform.claude.com/docs/en/manage-claude/authentication#app-attest) | Short-lived access token issued to a genuine, attested installation of your registered iOS or macOS app | iOS and macOS apps distributed to end users, where the app calls the Claude API directly with no back end or proxy |
9| Method | Credential | Best for |
10| ----- | ----- | ----- |
11| [API key](https://platform.claude.com/docs/en/manage-claude/authentication#api-keys) | Static `sk-ant-api...` secret sent as a bearer token in the `Authorization` header | Local development, prototyping, scripts, and servers where you control secret storage |
12| [Workload Identity Federation (WIF)](https://platform.claude.com/docs/en/manage-claude/authentication#workload-identity-federation) | Short-lived bearer token exchanged from your identity provider’s identity token | Production workloads on cloud platforms (AWS, Google Cloud, and Azure), CI/CD pipelines, and Kubernetes, where you want to eliminate static secrets |
13| [App Attest](https://platform.claude.com/docs/en/manage-claude/authentication#app-attest) | Short-lived access token issued to a genuine, attested installation of your registered iOS or macOS app | iOS and macOS apps distributed to end users, where the app calls the Claude API directly with no back end or proxy |
1414 
1515API keys and Workload Identity Federation grant the same access to Claude API endpoints. Choose API keys to get started quickly: a personal key for your own development, or a service account key for anything shared. Move to Workload Identity Federation when your workload already has a platform-issued identity you can federate. Use App Attest for iOS and macOS apps you distribute to end users.
1616 
from line 22
2222 
2323When you create a key, you choose its type, which determines what the key can do, where it works, and when it stops working:
2424 
25| Key type | Acts as | Works in | Stops working when |
26| -------------------------- | -------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27| **Personal key** | You, the user, with your roles and permissions | Either a single workspace or the workspaces where your role allows API use, chosen when the key is created | You lose access to the organization. A single-workspace key also stops working when you lose access to that workspace or that workspace is archived. Personal keys are archived when you are removed from the organization. If you are re-invited, create new keys; archived keys are not restored |
28| **Service account key** | A [service account](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation#service-accounts) | Either a single workspace or anything the service account has access to, chosen when the key is created. A service account has access to the Default Workspace and to workspaces it has been added to | The service account is archived. A single-workspace key also stops working when the service account is removed from that workspace or that workspace is archived |
29| **Workspace key** (legacy) | No one: it belongs to the workspace it was created in | That workspace | It expires, is disabled or deleted, or its workspace is archived, regardless of whether its creator leaves the organization |
25| Key type | Acts as | Works in | Stops working when |
26| ----- | ----- | ----- | ----- |
27| **Personal key** | You, the user, with your roles and permissions | Either a single workspace or the workspaces where your role allows API use, chosen when the key is created | You lose access to the organization. A single-workspace key also stops working when you lose access to that workspace or that workspace is archived. Personal keys are archived when you are removed from the organization. If you are re-invited, create new keys; archived keys are not restored |
28| **Service account key** | A [service account](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation#service-accounts) | Either a single workspace or anything the service account has access to, chosen when the key is created. A service account has access to the Default Workspace and to workspaces it has been added to | The service account is archived. A single-workspace key also stops working when the service account is removed from that workspace or that workspace is archived |
29| **Workspace key** (legacy) | No one: it belongs to the workspace it was created in | That workspace | It expires, is disabled or deleted, or its workspace is archived, regardless of whether its creator leaves the organization |
3030 
3131Personal keys and service account keys are identity-backed: each belongs to a user or service account your organization already manages, and every request acts as that identity. When that identity is removed from the organization, the key stops working. This means that keys don’t accidentally outlive the people or workloads that own them. Prefer them over workspace keys for new integrations.
3232 

manage-claude/claude-code-analytics-api Changed · +5 / -5 lines

from line 98
9898 
9999### Request parameters
100100 
101| Parameter | Type | Required | Description |
102| ------------- | ------- | -------- | ----------------------------------------------------------------------- |
103| `starting_at` | string | Yes | UTC date in YYYY-MM-DD format; returns metrics for this single day only |
104| `limit` | integer | No | Number of records per page (default: 20, max: 1000) |
105| `page` | string | No | Opaque cursor token from previous response’s `next_page` field |
101| Parameter | Type | Required | Description |
102| ----- | ----- | ----- | ----- |
103| `starting_at` | string | Yes | UTC date in YYYY-MM-DD format; returns metrics for this single day only |
104| `limit` | integer | No | Number of records per page (default: 20, max: 1000) |
105| `page` | string | No | Opaque cursor token from previous response’s `next_page` field |
106106 
107107### Available metrics
108108 

manage-claude/claude-tag-api Changed · +113 / -113 lines

from line 24
2424 
2525The API exposes 14 endpoints across four resources:
2626 
27| Resource | Endpoints |
28| --------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
29| **Slack channels:** set a channel up, list the channels of a workspace or find one by its Slack IDs, read one, change its settings, remove it | `POST /v1/organizations/claude_tag/slack_channels`<br />`GET /v1/organizations/claude_tag/slack_channels`<br />`GET /v1/organizations/claude_tag/slack_channels/{id}`<br />`POST /v1/organizations/claude_tag/slack_channels/{id}`<br />`DELETE /v1/organizations/claude_tag/slack_channels/{id}` |
30| **Slack workspaces:** list your workspaces or find one by its Slack ID, read one, change its settings | `GET /v1/organizations/claude_tag/slack_workspaces`<br />`GET /v1/organizations/claude_tag/slack_workspaces/{id}`<br />`POST /v1/organizations/claude_tag/slack_workspaces/{id}` |
31| **Bundles:** list your organization’s Access bundles, read one (read-only) | `GET /v1/organizations/claude_tag/bundles`<br />`GET /v1/organizations/claude_tag/bundles/{bundle_id}` |
32| **Bundle targets:** list where a Bundle is attached, attach it to a channel or workspace, read one attachment, detach it | `GET /v1/organizations/claude_tag/bundles/{bundle_id}/targets`<br />`POST /v1/organizations/claude_tag/bundles/{bundle_id}/targets`<br />`GET /v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}`<br />`DELETE /v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}` |
27| Resource | Endpoints |
28| ----- | ----- |
29| **Slack channels:** set a channel up, list the channels of a workspace or find one by its Slack IDs, read one, change its settings, remove it | `POST /v1/organizations/claude_tag/slack_channels`<br />`GET /v1/organizations/claude_tag/slack_channels`<br />`GET /v1/organizations/claude_tag/slack_channels/{id}`<br />`POST /v1/organizations/claude_tag/slack_channels/{id}`<br />`DELETE /v1/organizations/claude_tag/slack_channels/{id}` |
30| **Slack workspaces:** list your workspaces or find one by its Slack ID, read one, change its settings | `GET /v1/organizations/claude_tag/slack_workspaces`<br />`GET /v1/organizations/claude_tag/slack_workspaces/{id}`<br />`POST /v1/organizations/claude_tag/slack_workspaces/{id}` |
31| **Bundles:** list your organization’s Access bundles, read one (read-only) | `GET /v1/organizations/claude_tag/bundles`<br />`GET /v1/organizations/claude_tag/bundles/{bundle_id}` |
32| **Bundle targets:** list where a Bundle is attached, attach it to a channel or workspace, read one attachment, detach it | `GET /v1/organizations/claude_tag/bundles/{bundle_id}/targets`<br />`POST /v1/organizations/claude_tag/bundles/{bundle_id}/targets`<br />`GET /v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}`<br />`DELETE /v1/organizations/claude_tag/bundles/{bundle_id}/targets/{target_id}` |
3333 
3434This release covers Slack. Connecting and disconnecting a Slack workspace or Enterprise Grid, your organization’s Slack defaults, creating and editing Access bundles, spend limits, and every Claude Tag setting other than the five in [Settings](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#settings) stay in claude.ai.
3535 
from line 179
179179 
180180## Scopes
181181 
182| Scope | Grants |
183| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
184| `read:claude_tag` | Every `GET` endpoint on this page. |
182| Scope | Grants |
183| ----- | ----- |
184| `read:claude_tag` | Every `GET` endpoint on this page. |
185185| `write:claude_tag` | Every `POST` and `DELETE` endpoint on this page. It does not grant reads, although the response to a change holds the changed resource. |
186186 
187187A key can carry both scopes. An integration that looks a channel up and then changes it needs both. No other scope grants access to these endpoints, and a key created in the Claude Console does not work here.
from line 192
192192 
193193### Names on this page and in claude.ai
194194 
195| This API | claude.ai and Slack |
196| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
197| Slack workspace | A Slack workspace. Slack’s own API calls it a team, so Slack’s own workspace ID on this page is the team ID there. It is unrelated to a Claude Platform workspace, whose IDs start with `wrkspc_`. |
198| Slack defaults | **Default Slack access**: the settings that apply to every workspace and channel. An organization owner changes them in claude.ai; this API shows where a channel or workspace inherits from them. |
199| Settings level | A [scope](https://claude.com/docs/claude-tag/admins/customize): a channel, a workspace, or the Slack defaults |
200| Bundle | An Access bundle ([Claude Tag glossary](https://claude.com/docs/claude-tag/concepts/glossary#access-bundle)) |
201| `enabled` | The **Enable Claude Tag in Slack** toggle |
202| `instructions` | **Custom instructions** |
203| `model` | **Model** |
204| `environment_id` | **Environment** |
205| `guest_policy` | **How should Claude work in channels with guests**: `restrict` is **Restrict**, `channel_only` is **Channel only**, and `allow` is **Full access** |
195| This API | claude.ai and Slack |
196| ----- | ----- |
197| Slack workspace | A Slack workspace. Slack’s own API calls it a team, so Slack’s own workspace ID on this page is the team ID there. It is unrelated to a Claude Platform workspace, whose IDs start with `wrkspc_`. |
198| Slack defaults | **Default Slack access**: the settings that apply to every workspace and channel. An organization owner changes them in claude.ai; this API shows where a channel or workspace inherits from them. |
199| Settings level | A [scope](https://claude.com/docs/claude-tag/admins/customize): a channel, a workspace, or the Slack defaults |
200| Bundle | An Access bundle ([Claude Tag glossary](https://claude.com/docs/claude-tag/concepts/glossary#access-bundle)) |
201| `enabled` | The **Enable Claude Tag in Slack** toggle |
202| `instructions` | **Custom instructions** |
203| `model` | **Model** |
204| `environment_id` | **Environment** |
205| `guest_policy` | **How should Claude work in channels with guests**: `restrict` is **Restrict**, `channel_only` is **Channel only**, and `allow` is **Full access** |
206206 
207207### Set-up channels and workspaces
208208 
from line 221
221221 
222222You know a channel by the IDs Slack shows you. Look its `id` up once with [Find a channel by its Slack IDs](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#find-a-channel-by-its-slack-ids), then store and use the `id`.
223223 
224| ID | Prefix | Where it appears |
225| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
226| Slack channel resource | `slch_` | `id` on a channel; `slack_channel_id` in request bodies and responses |
227| Slack workspace resource | `slws_` | `id` on a workspace; `slack_workspace_id` in request bodies and responses |
228| Bundle | `capp_` | `id` on a Bundle; `{bundle_id}` in paths |
229| Bundle target | `btgt_` | `id` on a Bundle target; `{target_id}` in paths |
230| Slack’s own workspace ID | `T`, or `E` for a Grid’s own ID (see [Set-up channels and workspaces](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-channels-and-workspaces)) | `slack.workspace_id`; the `slack_workspace_id` query parameter |
231| Slack’s own channel ID | `C` or `G` | `slack.channel_id`; the `slack_channel_id` query parameter |
224| ID | Prefix | Where it appears |
225| ----- | ----- | ----- |
226| Slack channel resource | `slch_` | `id` on a channel; `slack_channel_id` in request bodies and responses |
227| Slack workspace resource | `slws_` | `id` on a workspace; `slack_workspace_id` in request bodies and responses |
228| Bundle | `capp_` | `id` on a Bundle; `{bundle_id}` in paths |
229| Bundle target | `btgt_` | `id` on a Bundle target; `{target_id}` in paths |
230| Slack’s own workspace ID | `T`, or `E` for a Grid’s own ID (see [Set-up channels and workspaces](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-channels-and-workspaces)) | `slack.workspace_id`; the `slack_workspace_id` query parameter |
231| Slack’s own channel ID | `C` or `G` | `slack.channel_id`; the `slack_channel_id` query parameter |
232232 
233233<Warning>
234234 `slack_channel_id` and `slack_workspace_id` each mean two things. In a **query parameter** each is Slack’s own ID (`C05HJKL6MNP`, `T01ABCD2EFG`). In a **request body or a response** each is the `id` this API issues (`slch_...`, `slws_...`). Slack’s own IDs in a body or a response are always under `slack`.
from line 242
242242 
243243Each settings level stores the same five settings, all optional:
244244 
245| Setting | Type | Description |
246| ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
247| `enabled` | boolean | Whether Claude is on. |
248| `instructions` | string | Standing guidance Claude reads in every session. At most 8,192 characters after leading and trailing white space is trimmed. Blank text clears the setting. |
249| `model` | string | The model new sessions start on: a [model ID](https://platform.claude.com/docs/en/models/overview) your organization can use with Claude Tag. At most 128 characters. |
250| `environment_id` | string | The environment sessions run in: an active environment of your organization, prefixed `env_`, or a self-hosted runner pool of your organization that every member may use, prefixed `ccpool_`. |
251| `guest_policy` | object | What Claude does in a channel while a Slack guest is in it, for everyone in the channel: `{"type": "allow"}` (Claude answers), `{"type": "restrict"}` (Claude does not answer), or `{"type": "channel_only"}` (Claude answers with only the Bundles attached to the channel itself; if `channel_only` is not available to your organization, a request that sets it returns `400`). See [Restrict guest channels](https://claude.com/docs/claude-tag/admins/restrict-access#restrict-guest-channels) for what it means in channels shared through Slack Connect or across an Enterprise Grid. |
245| Setting | Type | Description |
246| ----- | ----- | ----- |
247| `enabled` | boolean | Whether Claude is on. |
248| `instructions` | string | Standing guidance Claude reads in every session. At most 8,192 characters after leading and trailing white space is trimmed. Blank text clears the setting. |
249| `model` | string | The model new sessions start on: a [model ID](https://platform.claude.com/docs/en/models/overview) your organization can use with Claude Tag. At most 128 characters. |
250| `environment_id` | string | The environment sessions run in: an active environment of your organization, prefixed `env_`, or a self-hosted runner pool of your organization that every member may use, prefixed `ccpool_`. |
251| `guest_policy` | object | What Claude does in a channel while a Slack guest is in it, for everyone in the channel: `{"type": "allow"}` (Claude answers), `{"type": "restrict"}` (Claude does not answer), or `{"type": "channel_only"}` (Claude answers with only the Bundles attached to the channel itself; if `channel_only` is not available to your organization, a request that sets it returns `400`). See [Restrict guest channels](https://claude.com/docs/claude-tag/admins/restrict-access#restrict-guest-channels) for what it means in channels shared through Slack Connect or across an Enterprise Grid. |
252252 
253253`model` and `environment_id` are checked when you write them and not again: if the model or environment later changes, responses keep returning the stored value.
254254 
from line 265
265265 
266266Each setting is resolved on its own:
267267 
268| Setting | Rule | When no level sets it |
269| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
270| `enabled` | The nearest level that sets it determines the value, so `true` on a channel turns Claude on there even when its workspace stores `false`. | `true` |
271| `instructions` | Additive. The text of every level that sets it is joined, broadest first, with a blank line between. | `null` |
272| `model` | The nearest level that sets it determines the value. | `null`: Claude uses the product’s default model |
273| `environment_id` | The nearest level that sets it determines the value. | `null` |
274| `guest_policy` | The nearest level that sets it determines the value. | `restrict` |
268| Setting | Rule | When no level sets it |
269| ----- | ----- | ----- |
270| `enabled` | The nearest level that sets it determines the value, so `true` on a channel turns Claude on there even when its workspace stores `false`. | `true` |
271| `instructions` | Additive. The text of every level that sets it is joined, broadest first, with a blank line between. | `null` |
272| `model` | The nearest level that sets it determines the value. | `null`: Claude uses the product’s default model |
273| `environment_id` | The nearest level that sets it determines the value. | `null` |
274| `guest_policy` | The nearest level that sets it determines the value. | `restrict` |
275275 
276276For example, an organization stores instructions on its Slack defaults, turns Claude off on a workspace, and sets a model on one channel of that workspace. Read with `include_inherited=true`, the channel shows the three values and where each comes from:
277277 
from line 312
312312 
313313A source is one of:
314314 
315| `type` | Meaning |
316| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
317| `slack_channel` | The channel, named in `slack_channel_id`. |
318| `slack_workspace` | The workspace, named in `slack_workspace_id`. |
319| `slack_parent_channel` | The parent of a code channel, named in `slack_channel_id`. A code channel is one that was started from another channel. While the parent is a public channel in the same workspace, it sits between the channel and the workspace and contributes `instructions` and `environment_id` only. |
320| `slack_grid_channel` | The same Slack channel as set up under another workspace of its Slack Enterprise Grid, named by Slack’s own IDs under `slack`. It contributes `enabled` only: when neither the channel nor its workspace sets `enabled`, a `true` stored for the channel under another workspace of the Grid applies. |
321| `slack_default` | Your organization’s Slack defaults, which have no ID. |
322| `default` | No level sets a value, so the built-in default applies. |
315| `type` | Meaning |
316| ----- | ----- |
317| `slack_channel` | The channel, named in `slack_channel_id`. |
318| `slack_workspace` | The workspace, named in `slack_workspace_id`. |
319| `slack_parent_channel` | The parent of a code channel, named in `slack_channel_id`. A code channel is one that was started from another channel. While the parent is a public channel in the same workspace, it sits between the channel and the workspace and contributes `instructions` and `environment_id` only. |
320| `slack_grid_channel` | The same Slack channel as set up under another workspace of its Slack Enterprise Grid, named by Slack’s own IDs under `slack`. It contributes `enabled` only: when neither the channel nor its workspace sets `enabled`, a `true` stored for the channel under another workspace of the Grid applies. |
321| `slack_default` | Your organization’s Slack defaults, which have no ID. |
322| `default` | No level sets a value, so the built-in default applies. |
323323 
324324`sources.instructions` lists every level that contributes text, broadest first, which is the order of their text in `settings.instructions`, and is empty when none does. It says whose text comes first, not where one level’s text ends: to get one level’s own text, read that channel or workspace without `include_inherited`, or, for the Slack defaults, look in claude.ai. A source that names a channel or workspace always carries its ID, which is never `null`: an `id` of this API in `slack_channel_id` or `slack_workspace_id`, or, on `slack_grid_channel`, Slack’s own IDs under `slack` as on a channel object.
325325 
from line 384
384384 
385385The channel object describes one Slack channel:
386386 
387| Field | Description |
388| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
389| `type` | `slack_channel`. |
390| `id` | Prefixed `slch_`. See [IDs](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#ids). |
391| `slack` | Slack’s own IDs: `workspace_id` for the workspace the channel is in, and `channel_id` for the channel. |
392| `settings` | What the channel itself stores, or, with `include_inherited=true`, what applies in it. Always present, with all five [settings](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#settings); one that is not set is `null`. See [Stored and inherited values](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#stored-and-inherited-values). |
393| `sources` | For each setting, the level that the value in `settings` comes from. Always present. |
394| `created_at` | When the channel was set up. |
395| `updated_at` | When Claude Tag’s record of the channel last changed. It moves on every change to a setting, here, in claude.ai, or in Slack, and can also move for a change that no response here shows. Treat a later value as a reason to read the channel again, not as proof that a setting changed. Attaching or detaching a Bundle does not by itself move it. |
387| Field | Description |
388| ----- | ----- |
389| `type` | `slack_channel`. |
390| `id` | Prefixed `slch_`. See [IDs](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#ids). |
391| `slack` | Slack’s own IDs: `workspace_id` for the workspace the channel is in, and `channel_id` for the channel. |
392| `settings` | What the channel itself stores, or, with `include_inherited=true`, what applies in it. Always present, with all five [settings](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#settings); one that is not set is `null`. See [Stored and inherited values](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#stored-and-inherited-values). |
393| `sources` | For each setting, the level that the value in `settings` comes from. Always present. |
394| `created_at` | When the channel was set up. |
395| `updated_at` | When Claude Tag’s record of the channel last changed. It moves on every change to a setting, here, in claude.ai, or in Slack, and can also move for a change that no response here shows. Treat a later value as a reason to read the channel again, not as proof that a setting changed. Attaching or detaching a Bundle does not by itself move it. |
396396 
397397An `id` that is not a valid `slch_` identifier returns `400`. A valid one that names no channel of your organization returns `404`.
398398 
from line 1569
15691569 
15701570A Bundle is what claude.ai calls an [Access bundle](https://claude.com/docs/claude-tag/admins/add-connections): a named set of access, such as connectors, repositories, and credentials, that Claude can use in a channel or workspace. Organization owners create, edit, and delete Bundles in claude.ai. This API lists them and attaches them. It returns a Bundle’s name and description and never what the Bundle grants.
15711571 
1572| Field | Description |
1573| -------------------------- | ------------------------------------------------ |
1574| `type` | `bundle`. |
1575| `id` | Prefixed `capp_`. |
1576| `display_name` | The Bundle’s name. |
1577| `description` | What the Bundle is for. `null` when it has none. |
1578| `created_at`, `updated_at` | When the Bundle was created and last changed. |
1572| Field | Description |
1573| ----- | ----- |
1574| `type` | `bundle`. |
1575| `id` | Prefixed `capp_`. |
1576| `display_name` | The Bundle’s name. |
1577| `description` | What the Bundle is for. `null` when it has none. |
1578| `created_at`, `updated_at` | When the Bundle was created and last changed. |
15791579 
15801580A `bundle_id` that is not a valid `capp_` identifier returns `400`. A valid one that does not exist or belongs to another organization returns `404`, whatever else the request holds. Bundles that Claude Tag manages for itself are not listed and return `404`.
15811581 
from line 1786
17861786 
17871787A Bundle target is the record of one Bundle attached to one channel or one workspace. A Bundle attached to a workspace can be used in the workspace and in every channel in it. A Bundle attached to a channel can be used in that channel only.
17881788 
1789| Field | Description |
1790| -------------------- | ------------------------------------------------------------------------------------------------------- |
1791| `type` | `slack_channel` or `slack_workspace`. |
1792| `id` | Prefixed `btgt_`. It is the `{target_id}` in paths, and is never the channel’s or workspace’s own `id`. |
1793| `slack_channel_id` | On a `slack_channel` target: the channel’s `id`, prefixed `slch_`. |
1794| `slack_workspace_id` | On a `slack_workspace` target: the workspace’s `id`, prefixed `slws_`. |
1795| `created_at` | When the Bundle was attached. |
1789| Field | Description |
1790| ----- | ----- |
1791| `type` | `slack_channel` or `slack_workspace`. |
1792| `id` | Prefixed `btgt_`. It is the `{target_id}` in paths, and is never the channel’s or workspace’s own `id`. |
1793| `slack_channel_id` | On a `slack_channel` target: the channel’s `id`, prefixed `slch_`. |
1794| `slack_workspace_id` | On a `slack_workspace` target: the workspace’s `id`, prefixed `slws_`. |
1795| `created_at` | When the Bundle was attached. |
17961796 
17971797A Bundle is attached to a channel or workspace at most once, and the same pair always has the same `id`, also after a detach and a new attach. The `id` is opaque: get it from the response to an attach or from the list. A Bundle target does not hold its Bundle’s `id`, which its paths also need, so keep the two together.
17981798 
from line 2442
24422442 
24432443Requests are limited for each organization, in two budgets that all of your organization’s keys share and that are separate from your organization’s other Admin API limits. Each budget allows a burst and then refills at a steady rate:
24442444 
2445| Budget | Requests | Burst | Refill |
2446| ------- | ------------------------- | ----- | ------------ |
2447| Reads | Every `GET` | 120 | 2 per second |
2448| Changes | Every `POST` and `DELETE` | 60 | 1 per second |
2445| Budget | Requests | Burst | Refill |
2446| ----- | ----- | ----- | ----- |
2447| Reads | Every `GET` | 120 | 2 per second |
2448| Changes | Every `POST` and `DELETE` | 60 | 1 per second |
24492449 
24502450Requests over a budget return **429 Too Many Requests** with a `retry-after` header: wait that many seconds, then send the request again. A request that got as far as its budget, whatever its outcome, gets the `anthropic-ratelimit-requests-limit`, `anthropic-ratelimit-requests-remaining`, and `anthropic-ratelimit-requests-reset` headers for that budget; a request refused before that, such as for its key, scope, or headers, or because the API, changes, or new storage are not enabled for your organization, gets none.
24512451 
from line 2459
24592459 
24602460Error responses follow the standard shape documented in [Claude API errors](https://platform.claude.com/docs/en/api/errors). Quote the `request_id` from the response body when contacting support.
24612461 
2462| Status | Meaning |
2463| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2464| 400 | Invalid input, or the operation does not apply to this channel, workspace, or Bundle (see each endpoint’s section). |
2465| 401 | Missing `x-api-key` header, or the key is not recognized. |
2466| 403 | The key is not an organization-level scoped key, is missing the required scope, or your organization cannot make this change. |
2467| 404 | Resource not found, or not your organization’s. Also returned when the request omits the `anthropic-beta` value, or the API is not enabled for your organization, so that the endpoints read as nonexistent. |
2468| 409 | Something else changed or removed the resource while the request ran. Nothing the request asked for was done: no setting stored, nothing attached, detached, or removed. The one exception is a setup request, which can have set the channel up before its `settings` met the conflict (`slack_channel_set_up_settings_conflict`). Read the resource again and resend the request if it is still needed. |
2469| 429 | Rate limit exceeded. See [Rate limiting](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#rate-limiting). |
2470| 500 | Internal error. |
2471| 503 | Temporary. On a change, it does not say whether the change was stored. Every change is safe to repeat, so send the request again unchanged. If a resent `DELETE` then returns `404`, the channel or Bundle target is already gone. |
2462| Status | Meaning |
2463| ----- | ----- |
2464| 400 | Invalid input, or the operation does not apply to this channel, workspace, or Bundle (see each endpoint’s section). |
2465| 401 | Missing `x-api-key` header, or the key is not recognized. |
2466| 403 | The key is not an organization-level scoped key, is missing the required scope, or your organization cannot make this change. |
2467| 404 | Resource not found, or not your organization’s. Also returned when the request omits the `anthropic-beta` value, or the API is not enabled for your organization, so that the endpoints read as nonexistent. |
2468| 409 | Something else changed or removed the resource while the request ran. Nothing the request asked for was done: no setting stored, nothing attached, detached, or removed. The one exception is a setup request, which can have set the channel up before its `settings` met the conflict (`slack_channel_set_up_settings_conflict`). Read the resource again and resend the request if it is still needed. |
2469| 429 | Rate limit exceeded. See [Rate limiting](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#rate-limiting). |
2470| 500 | Internal error. |
2471| 503 | Temporary. On a change, it does not say whether the change was stored. Every change is safe to repeat, so send the request again unchanged. If a resent `DELETE` then returns `404`, the channel or Bundle target is already gone. |
24722472 
24732473When one status has several causes that you would handle differently, the error also carries `error.details.error_code`:
24742474 
from line 2487
24872487}
24882488```
24892489 
2490| `error_code` | Status | Meaning and what to do |
2491| -------------------------------------------- | ------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2492| `organization_level_scoped_api_key_required` | 403 | The credential is not a scoped Admin API key that belongs to the organization as a whole. Ask your primary owner for one. |
2493| `api_key_scope_missing` | 403 | The key lacks `read:claude_tag` or `write:claude_tag`, whichever the endpoint requires. |
2494| `claude_tag_writes_not_enabled` | 403 | Your organization can read through this API but is not enabled for changes. |
2495| `compliance_configuration_restricted` | 403 | Your organization has a compliance configuration under which Claude Tag stores nothing new, such as zero data retention. Setting a channel up, updating settings (even to clear them), and attaching a Bundle are refused. Detaching a Bundle and removing a channel are not, and such an organization can [remove](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#remove-a-channel) a channel even while Claude is on in it. |
2496| `environment_not_found` | 404 | `environment_id` names no environment or runner pool your organization can use here. The `id` in the path is fine. |
2497| `environment_archived` | 400 | `environment_id` names an archived environment. |
2498| `runner_pool_restricted` | 400 | The request would put a settings level on a restricted runner pool, or changes or clears `environment_id` on a settings level that stores one. An organization owner makes that change in claude.ai. See [Settings](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#settings). |
2499| `slack_channel_set_up_settings_refused` | 400 | The request set the channel up, then `settings` was refused. `details.slack_channel_id` is the channel. See [Set up a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-a-channel). |
2500| `slack_channel_set_up_environment_not_found` | 404 | The request set the channel up, then `environment_id` was not found. `details.slack_channel_id` is the channel. See [Set up a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-a-channel). |
2501| `slack_channel_set_up_settings_conflict` | 409 | The request set the channel up, then another change overlapped `settings`. Nothing of `settings` was stored. `details.slack_channel_id` is the channel. See [Set up a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-a-channel). |
2502| `slack_channel_enabled` | 400 | Claude is on in the channel (`enabled` resolves to `true`), so it cannot be removed. Set `enabled` to `false` first. See [Remove a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#remove-a-channel). |
2490| `error_code` | Status | Meaning and what to do |
2491| ----- | ----- | ----- |
2492| `organization_level_scoped_api_key_required` | 403 | The credential is not a scoped Admin API key that belongs to the organization as a whole. Ask your primary owner for one. |
2493| `api_key_scope_missing` | 403 | The key lacks `read:claude_tag` or `write:claude_tag`, whichever the endpoint requires. |
2494| `claude_tag_writes_not_enabled` | 403 | Your organization can read through this API but is not enabled for changes. |
2495| `compliance_configuration_restricted` | 403 | Your organization has a compliance configuration under which Claude Tag stores nothing new, such as zero data retention. Setting a channel up, updating settings (even to clear them), and attaching a Bundle are refused. Detaching a Bundle and removing a channel are not, and such an organization can [remove](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#remove-a-channel) a channel even while Claude is on in it. |
2496| `environment_not_found` | 404 | `environment_id` names no environment or runner pool your organization can use here. The `id` in the path is fine. |
2497| `environment_archived` | 400 | `environment_id` names an archived environment. |
2498| `runner_pool_restricted` | 400 | The request would put a settings level on a restricted runner pool, or changes or clears `environment_id` on a settings level that stores one. An organization owner makes that change in claude.ai. See [Settings](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#settings). |
2499| `slack_channel_set_up_settings_refused` | 400 | The request set the channel up, then `settings` was refused. `details.slack_channel_id` is the channel. See [Set up a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-a-channel). |
2500| `slack_channel_set_up_environment_not_found` | 404 | The request set the channel up, then `environment_id` was not found. `details.slack_channel_id` is the channel. See [Set up a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-a-channel). |
2501| `slack_channel_set_up_settings_conflict` | 409 | The request set the channel up, then another change overlapped `settings`. Nothing of `settings` was stored. `details.slack_channel_id` is the channel. See [Set up a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#set-up-a-channel). |
2502| `slack_channel_enabled` | 400 | Claude is on in the channel (`enabled` resolves to `true`), so it cannot be removed. Set `enabled` to `false` first. See [Remove a channel](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#remove-a-channel). |
25032503 
25042504New codes may be added. Treat a code you do not recognize the way you treat its status. A `404` with no `error_code` has one of two causes. Either something the request names was not found (an `id` in the path, or a Slack channel or workspace in the body or the query), or every endpoint reads as nonexistent because the request omits the `anthropic-beta` value or the API is not enabled for your organization. To tell them apart, [list your workspaces](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#list-workspaces) with the same key and headers: that request names nothing, so it returns `404` only in the second case.
25052505 
from line 2507
25072507 
25082508Every change through this API is recorded on your organization’s [Compliance API Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed), attributed to the API key as an `api_actor` carrying its `apikey_` ID. The events are the ones the feed records when the same change is made in claude.ai, so one query finds a change whichever way it was made.
25092509 
2510| Event | Emitted when |
2511| --------------------------------- | ----------------------------------------------------------------------------------- |
2512| `ccr_agent_created` | A channel is set up. |
2513| `ccr_agent_updated` | A setting changes on a channel or a workspace. |
2514| `ccr_agent_deleted` | A channel is removed. Its Bundle targets go with it and emit no event of their own. |
2515| `ccr_agent_proxy_profile_bound` | A Bundle is attached. |
2516| `ccr_agent_proxy_profile_unbound` | A Bundle is detached. |
2510| Event | Emitted when |
2511| ----- | ----- |
2512| `ccr_agent_created` | A channel is set up. |
2513| `ccr_agent_updated` | A setting changes on a channel or a workspace. |
2514| `ccr_agent_deleted` | A channel is removed. Its Bundle targets go with it and emit no event of their own. |
2515| `ccr_agent_proxy_profile_bound` | A Bundle is attached. |
2516| `ccr_agent_proxy_profile_unbound` | A Bundle is detached. |
25172517 
25182518The events name a channel or workspace by an identifier of the feed’s own, `agent_id` (prefixed `cagt_`), which no response of this API holds, so you cannot yet match an event to a channel’s or workspace’s `id`. The two Bundle events name the Bundle in `profile_id` and the channel or workspace, by the same `agent_id`, in `scope_id`.
25192519 
25202520A `ccr_agent_updated` event lists what changed in `updated_fields`, under the feed’s own names:
25212521 
2522| Setting | Name in `updated_fields` |
2523| ---------------- | ------------------------ |
2524| `enabled` | `slackbot_version` |
2525| `instructions` | `system_prompt_addendum` |
2526| `model` | `default_model` |
2522| Setting | Name in `updated_fields` |
2523| ----- | ----- |
2524| `enabled` | `slackbot_version` |
2525| `instructions` | `system_prompt_addendum` |
2526| `model` | `default_model` |
25272527| `environment_id` | `default_environment_id` |
2528| `guest_policy` | `guest_policy` |
2528| `guest_policy` | `guest_policy` |
25292529 
25302530`updated_fields` can also hold `is_virtual`, which names no setting. It appears beside the names of the changed settings in the event for a change through this API that is the first thing anyone stores on the channel or workspace: a channel that Claude’s first use set up, or that this API set up with no `settings`, or a workspace in which Claude was never used, and on which nobody has yet stored a setting or attached a Bundle, here or in claude.ai. The `model` a code channel starts with does not count as stored. Attaching a Bundle records only `ccr_agent_proxy_profile_bound`.
25312531 

manage-claude/cmek-azure-key-vault Changed · +6 / -6 lines

from line 46
4646 --query "{rbac:properties.enableRbacAuthorization, purge:properties.enablePurgeProtection, pub:properties.publicNetworkAccess, net:properties.networkAcls.defaultAction, ipRules:properties.networkAcls.ipRules, uri:properties.vaultUri, tenantId:properties.tenantId}"
4747```
4848 
49| Field | Must be |
50| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
51| `rbac` | `true` |
52| `purge` | `true`. If it’s `false` or `null`, turn on purge protection first. You can’t turn it off again. |
53| `pub` | `"Enabled"`. Private endpoints aren’t supported. |
54| `net` | `"Allow"`, or `"Deny"` with [Anthropic’s outbound IP addresses](https://platform.claude.com/docs/en/api/ip-addresses#outbound-ip-addresses) in `ipRules` |
49| Field | Must be |
50| ----- | ----- |
51| `rbac` | `true` |
52| `purge` | `true`. If it’s `false` or `null`, turn on purge protection first. You can’t turn it off again. |
53| `pub` | `"Enabled"`. Private endpoints aren’t supported. |
54| `net` | `"Allow"`, or `"Deny"` with [Anthropic’s outbound IP addresses](https://platform.claude.com/docs/en/api/ip-addresses#outbound-ip-addresses) in `ipRules` |
5555 
5656Copy `uri` (the vault URI) and `tenantId`.
5757 

manage-claude/cmek-claude-platform-on-aws Changed · +4 / -4 lines

from line 86
8686 
8787The conditions determine which workspaces can use the key. The sample follows the second row:
8888 
89| Workspaces that can use the key | What to do |
90| ------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
91| Every workspace in the account | Delete the `StringEquals` entry and keep the `ArnLike` entry. |
92| Only the workspaces you list, for encryption and decryption | List each workspace’s compartment ID in the `StringEquals` entry. |
89| Workspaces that can use the key | What to do |
90| ----- | ----- |
91| Every workspace in the account | Delete the `StringEquals` entry and keep the `ArnLike` entry. |
92| Only the workspaces you list, for encryption and decryption | List each workspace’s compartment ID in the `StringEquals` entry. |
9393| Only the workspaces you list, for every call, `kms:DescribeKey` included | In both statements, replace the `aws:SourceArn` value with a JSON array of full [workspace ARNs](https://platform.claude.com/docs/en/api/claude-platform-on-aws-iam-actions#service-details). The `StringEquals` entry is then optional. |
9494 
9595A full workspace ARN has this form:

manage-claude/cmek-coverage-claude-enterprise Changed · +23 / -23 lines

from line 27
2727 
2828This list is not exhaustive. Review it with your team before you set up CMEK.
2929 
30| Feature | What people see |
31| ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
32| Claude Code on the web | Off. New sessions can’t be started, even if an admin turns the product on. |
33| Claude Code Desktop | Off until an admin turns it on. Available for local sessions once turned on under [claude.ai > Organization settings > Claude Code](https://claude.ai/admin-settings/claude-code). |
34| [Code Review](https://code.claude.com/docs/en/code-review) | Off. Code Review doesn’t run on pull requests. |
35| Artifacts | Changed. For organizations that use Claude Code ZDR: Artifacts, including Claude Design, Claude Slides, and Claude Docs in conversations and the **Artifacts** tab, cannot be turned on. |
36| Artifact publishing and sharing | Changed. Artifacts can be shared within your organization, but not publicly. |
37| Analytics: skills and connectors | Changed. Admin analytics for skills and connectors, in the claude.ai analytics dashboard and through the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api), don’t include usage in chat, and hide the names of custom skills, plugins, and connectors. |
38| Response ratings: thumbs up and thumbs down | Off. Members can’t rate Claude’s responses. |
39| [Skill and plugin security scanning](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/enterprise#skill-content-scanning) | Off. The setting can’t be turned on, and skills and plugins are installed without a scan. |
40| Claude in Slack (beta) | Off. Claude declines requests, even if an admin turns the product on. |
41| Analytics: smart reports and contribution metrics | Off. Certain analytics are disabled, regardless of admin settings: Claude smart reports (under claude.ai/analytics/insights) and Claude Code contribution metrics from GitHub (beta, under claude.ai/analytics/claude-code). |
42| Claude Security (beta) | Off. Beta feature, turned off regardless of admin settings. |
43| Cloud scheduled tasks (research preview) | Off. An admin can turn them on for the unified Claude experience. |
44| Standalone Claude Design app (being deprecated) | Not supported. See [Encrypted with Anthropic’s key](https://platform.claude.com/docs/en/manage-claude/cmek-coverage-claude-enterprise#encrypted-with-anthropics-key). |
30| Feature | What people see |
31| ----- | ----- |
32| Claude Code on the web | Off. New sessions can’t be started, even if an admin turns the product on. |
33| Claude Code Desktop | Off until an admin turns it on. Available for local sessions once turned on under [claude.ai > Organization settings > Claude Code](https://claude.ai/admin-settings/claude-code). |
34| [Code Review](https://code.claude.com/docs/en/code-review) | Off. Code Review doesn’t run on pull requests. |
35| Artifacts | Changed. Organizations that use Claude Code ZDR can’t turn on Claude Docs or Claude Sheets. |
36| Artifact publishing and sharing | Changed. Artifacts can be shared within your organization, but not publicly. |
37| Analytics: skills and connectors | Changed. Admin analytics for skills and connectors, in the claude.ai analytics dashboard and through the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api), don’t include usage in chat, and hide the names of custom skills, plugins, and connectors. |
38| Response ratings: thumbs up and thumbs down | Off. Members can’t rate Claude’s responses. |
39| [Skill and plugin security scanning](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/enterprise#skill-content-scanning) | Off. The setting can’t be turned on, and skills and plugins are installed without a scan. |
40| Claude in Slack (beta) | Off. Claude declines requests, even if an admin turns the product on. |
41| Analytics: smart reports and contribution metrics | Off. Certain analytics are disabled, regardless of admin settings: Claude smart reports (under claude.ai/analytics/insights) and Claude Code contribution metrics from GitHub (beta, under claude.ai/analytics/claude-code). |
42| Claude Security (beta) | Off. Beta feature, turned off regardless of admin settings. |
43| Cloud scheduled tasks (research preview) | Off. An admin can turn them on for the unified Claude experience. |
44| Standalone Claude Design app (being deprecated) | Not supported. See [Encrypted with Anthropic’s key](https://platform.claude.com/docs/en/manage-claude/cmek-coverage-claude-enterprise#encrypted-with-anthropics-key). |
4545 
4646## Encrypted with Anthropic’s key
4747 
4848The features that store this data stay available, but the data isn’t encrypted with your key. You can turn off some of these features in **Settings**.
4949 
50| Data | Details |
51| --------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52| Existing data before key setup | Written before [your key takes effect](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). |
53| Standalone Claude Design app (being deprecated) | The standalone Claude Design app at claude.ai/design is not supported with CMEK, and its data might not be encrypted under your key. The standalone app is closing. Claude Design in conversations and the **Artifacts** tab is encrypted under your key, as listed under [Encrypted with your key](https://platform.claude.com/docs/en/manage-claude/cmek-coverage-claude-enterprise#encrypted-with-your-key). |
54| Personal preferences and Cowork Global instructions | [Personal preferences - Instructions for Claude section](https://claude.ai/new#settings/account) and Cowork Global instructions. These are set at the account level and shared across all of a user’s organizations. |
55| Account data for users in your organization | Includes names, email addresses, and profile pictures. |
56| Preserved records | Anthropic can preserve specific records [in three narrow cases](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention#limited-preservation-outside-your-key). |
57| Claude Code telemetry | When Claude Code connects through an LLM gateway or proxy (a custom `ANTHROPIC_BASE_URL`), CMEK does not apply to Claude Code’s operational telemetry. To turn this telemetry off, set the `DISABLE_TELEMETRY` environment variable to `1`, as described under [Telemetry services](https://code.claude.com/docs/en/data-usage#telemetry-services) in the Claude Code documentation. |
50| Data | Details |
51| ----- | ----- |
52| Existing data before key setup | Written before [your key takes effect](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). |
53| Standalone Claude Design app (being deprecated) | The standalone Claude Design app at claude.ai/design is not supported with CMEK, and its data might not be encrypted under your key. The standalone app is closing. Claude Design in conversations and the **Artifacts** tab is encrypted under your key, as listed under [Encrypted with your key](https://platform.claude.com/docs/en/manage-claude/cmek-coverage-claude-enterprise#encrypted-with-your-key). |
54| Personal preferences and Cowork Global instructions | [Personal preferences - Instructions for Claude section](https://claude.ai/new#settings/account) and Cowork Global instructions. These are set at the account level and shared across all of a user’s organizations. |
55| Account data for users in your organization | Includes names, email addresses, and profile pictures. |
56| Preserved records | Anthropic can preserve specific records [in three narrow cases](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention#limited-preservation-outside-your-key). |
57| Claude Code telemetry | When Claude Code connects through an LLM gateway or proxy (a custom `ANTHROPIC_BASE_URL`), CMEK does not apply to Claude Code’s operational telemetry. To turn this telemetry off, set the `DISABLE_TELEMETRY` environment variable to `1`, as described under [Telemetry services](https://code.claude.com/docs/en/data-usage#telemetry-services) in the Claude Code documentation. |
5858 

manage-claude/cmek-coverage-claude-platform Changed · +18 / -18 lines

from line 22
2222 
2323This list is not exhaustive. Review it with your team before you set up CMEK.
2424 
25| Feature | What changes |
26| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27| Playground in the Claude Console | Turned off. |
28| Structured outputs, including `strict: true` on tools, with Claude Fable or Claude Mythos models | Turned off in CMEK organizations. With other models, data that structured outputs store at rest is [encrypted with your key](https://platform.claude.com/docs/en/manage-claude/cmek-coverage-claude-platform#encrypted-with-your-key). |
29| [Organization webhooks](https://platform.claude.com/docs/en/manage-claude/organization-webhooks#errors) (beta) | Turned off for an organization whose default workspace uses a key. Requests return a 400 error. |
30| Zero data retention (ZDR) | A workspace with your key retains data. See [CMEK, data retention, and ZDR](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention). |
25| Feature | What changes |
26| ----- | ----- |
27| Playground in the Claude Console | Turned off. |
28| Structured outputs, including `strict: true` on tools, with Claude Fable or Claude Mythos models | Turned off in CMEK organizations. With other models, data that structured outputs store at rest is [encrypted with your key](https://platform.claude.com/docs/en/manage-claude/cmek-coverage-claude-platform#encrypted-with-your-key). |
29| [Organization webhooks](https://platform.claude.com/docs/en/manage-claude/organization-webhooks#errors) (beta) | Turned off for an organization whose default workspace uses a key. Requests return a 400 error. |
30| Zero data retention (ZDR) | A workspace with your key retains data. See [CMEK, data retention, and ZDR](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention). |
3131 
3232## Encrypted with Anthropic’s key
3333 
3434The features that store this data stay available, but the data isn’t encrypted with your key. You can turn off some of these features in **Settings**.
3535 
36| Data | Details |
37| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
38| Existing data before key setup | Written before [your key takes effect](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). |
39| Data that isn’t at rest, and data with a TTL shorter than 24 hours | For example, cache. |
40| Activity Feed, audit logs, and telemetry network traffic such as OpenTelemetry (beta) | Kept under Anthropic’s key so that you can maintain compliance even if your key can’t be used. |
41| Claude Managed Agents (beta) [vault credential](https://platform.claude.com/docs/en/managed-agents/vaults) values, such as OAuth tokens and client secrets | Write-only and never returned in API responses. |
42| [User profiles](https://platform.claude.com/docs/en/manage-claude/user-profiles) | Profile fields such as `name` and `metadata`. Don’t store sensitive personal data in profile `metadata`. |
43| Claude Console feedback | Ratings and comments that members choose to send with the **Feedback** option. No setting turns it off. |
44| [OpenTelemetry destination](https://platform.claude.com/docs/en/manage-claude/opentelemetry/api#add-a-destination) (beta) request headers, such as the API key header of your observability platform | Write-only and never returned in API responses. |
45| Account data for users in your organization | Includes names, email addresses, and profile pictures. |
46| Preserved records | Anthropic can preserve specific records [in three narrow cases](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention#limited-preservation-outside-your-key). |
47| Claude Code telemetry | When Claude Code connects through an LLM gateway or proxy (a custom `ANTHROPIC_BASE_URL`), CMEK does not apply to Claude Code’s operational telemetry. To turn this telemetry off, set the `DISABLE_TELEMETRY` environment variable to `1`, as described under [Telemetry services](https://code.claude.com/docs/en/data-usage#telemetry-services) in the Claude Code documentation. |
36| Data | Details |
37| ----- | ----- |
38| Existing data before key setup | Written before [your key takes effect](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). |
39| Data that isn’t at rest, and data with a TTL shorter than 24 hours | For example, cache. |
40| Activity Feed, audit logs, and telemetry network traffic such as OpenTelemetry (beta) | Kept under Anthropic’s key so that you can maintain compliance even if your key can’t be used. |
41| Claude Managed Agents (beta) [vault credential](https://platform.claude.com/docs/en/managed-agents/vaults) values, such as OAuth tokens and client secrets | Write-only and never returned in API responses. |
42| [User profiles](https://platform.claude.com/docs/en/manage-claude/user-profiles) | Profile fields such as `name` and `metadata`. Don’t store sensitive personal data in profile `metadata`. |
43| Claude Console feedback | Ratings and comments that members choose to send with the **Feedback** option. No setting turns it off. |
44| [OpenTelemetry destination](https://platform.claude.com/docs/en/manage-claude/opentelemetry/api#add-a-destination) (beta) request headers, such as the API key header of your observability platform | Write-only and never returned in API responses. |
45| Account data for users in your organization | Includes names, email addresses, and profile pictures. |
46| Preserved records | Anthropic can preserve specific records [in three narrow cases](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention#limited-preservation-outside-your-key). |
47| Claude Code telemetry | When Claude Code connects through an LLM gateway or proxy (a custom `ANTHROPIC_BASE_URL`), CMEK does not apply to Claude Code’s operational telemetry. To turn this telemetry off, set the `DISABLE_TELEMETRY` environment variable to `1`, as described under [Telemetry services](https://code.claude.com/docs/en/data-usage#telemetry-services) in the Claude Code documentation. |
4848 

manage-claude/cmek-key-lifecycle Changed · +7 / -7 lines

from line 12
1212 ![Key states: attaching is one-way, a disabled key can be re-enabled, and Anthropic can't recover data once the key is deleted.](https://platform.claude.com/docs/images/cmek/key-states.svg)
1313</Frame>
1414 
15| Action | What happens | Can you undo it? |
16| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
17| Attach the key to a workspace (on Claude Enterprise, add it to the organization) | Your key protects data written [after it takes effect](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). On Claude Platform, attaching also locks the workspace’s [data retention setting](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention#data-retention). | No. The key can’t be removed or replaced. |
18| Rotate the key material within the same key | You rotate it in your KMS, on your own schedule. Rotation needs no action in Claude. | Nothing to undo. Keep earlier key versions enabled. |
19| Disable the key, or remove (revoke) Anthropic’s access to it | The change can take up to 1 hour to apply, and requests in flight during that hour might still succeed. After that, Claude can’t read or write the data the key protects, and requests fail. | Re-enable the key or restore Anthropic’s access. [Two limits apply](https://platform.claude.com/docs/en/manage-claude/cmek-key-lifecycle#restore-access). |
20| Delete the key in your KMS, schedule it for deletion, or destroy its key material | Anthropic can’t recover the data the key protects. | Not by Anthropic. It keeps no copy of your key. |
21| Delete the key’s record in Claude (**Delete encryption key** in the Claude Console) | You can do this only while no workspace, including an archived one, uses the key. | No. |
15| Action | What happens | Can you undo it? |
16| ----- | ----- | ----- |
17| Attach the key to a workspace (on Claude Enterprise, add it to the organization) | Your key protects data written [after it takes effect](https://platform.claude.com/docs/en/manage-claude/cmek-how-it-works#when-your-key-takes-effect). On Claude Platform, attaching also locks the workspace’s [data retention setting](https://platform.claude.com/docs/en/manage-claude/cmek-data-retention#data-retention). | No. The key can’t be removed or replaced. |
18| Rotate the key material within the same key | You rotate it in your KMS, on your own schedule. Rotation needs no action in Claude. | Nothing to undo. Keep earlier key versions enabled. |
19| Disable the key, or remove (revoke) Anthropic’s access to it | The change can take up to 1 hour to apply, and requests in flight during that hour might still succeed. After that, Claude can’t read or write the data the key protects, and requests fail. | Re-enable the key or restore Anthropic’s access. [Two limits apply](https://platform.claude.com/docs/en/manage-claude/cmek-key-lifecycle#restore-access). |
20| Delete the key in your KMS, schedule it for deletion, or destroy its key material | Anthropic can’t recover the data the key protects. | Not by Anthropic. It keeps no copy of your key. |
21| Delete the key’s record in Claude (**Delete encryption key** in the Claude Console) | You can do this only while no workspace, including an archived one, uses the key. | No. |
2222 
2323## What disabling does, and what comes back
2424 

manage-claude/cmek-troubleshooting Changed · +22 / -22 lines

from line 45
4545 
4646## Verification fails: AWS KMS
4747 
48| Cause | Fix |
49| ---------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
50| Wrong organization ID | The `org_uuid` condition must list [your Anthropic organization ID](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms#prerequisites), the UUID without the `org_` prefix. |
51| A workspace is missing from the policy | A `compartment_uuid` condition must [list the compartment ID](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms-workspaces) of each workspace the key is attached to. |
52| Access granted through IAM instead of the key policy | Anthropic’s role needs access in [the key policy itself](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms#key-policy). |
48| Cause | Fix |
49| ----- | ----- |
50| Wrong organization ID | The `org_uuid` condition must list [your Anthropic organization ID](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms#prerequisites), the UUID without the `org_` prefix. |
51| A workspace is missing from the policy | A `compartment_uuid` condition must [list the compartment ID](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms-workspaces) of each workspace the key is attached to. |
52| Access granted through IAM instead of the key policy | Anthropic’s role needs access in [the key policy itself](https://platform.claude.com/docs/en/manage-claude/cmek-aws-kms#key-policy). |
5353 
5454To print the key policy, run:
5555 
from line 83
8383 
8484## Verification fails: Google Cloud KMS
8585 
86| Cause | Fix |
87| --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
88| Wrong organization label | The key needs the [organization label](https://platform.claude.com/docs/en/manage-claude/cmek-google-cloud-kms#organization-label), with your Anthropic organization ID in lowercase. |
89| Domain restricted sharing | This organization policy blocks the grant to Anthropic’s service account. [Add an exception](https://platform.claude.com/docs/en/manage-claude/cmek-google-cloud-kms#prerequisites). |
90| Disabled or destroyed key version | The key’s primary version must be enabled. |
86| Cause | Fix |
87| ----- | ----- |
88| Wrong organization label | The key needs the [organization label](https://platform.claude.com/docs/en/manage-claude/cmek-google-cloud-kms#organization-label), with your Anthropic organization ID in lowercase. |
89| Domain restricted sharing | This organization policy blocks the grant to Anthropic’s service account. [Add an exception](https://platform.claude.com/docs/en/manage-claude/cmek-google-cloud-kms#prerequisites). |
90| Disabled or destroyed key version | The key’s primary version must be enabled. |
9191 
9292To check the grant, run:
9393 
from line 100
100100 
101101## Verification fails: Azure Key Vault
102102 
103| Cause | Fix |
104| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
105| Wrong organization tag | The key’s current version needs the [organization tag](https://platform.claude.com/docs/en/manage-claude/cmek-azure-key-vault#organization-tag). |
106| Role assignment not yet in effect | A new role assignment can take a few minutes. Wait, then try again. |
103| Cause | Fix |
104| ----- | ----- |
105| Wrong organization tag | The key’s current version needs the [organization tag](https://platform.claude.com/docs/en/manage-claude/cmek-azure-key-vault#organization-tag). |
106| Role assignment not yet in effect | A new role assignment can take a few minutes. Wait, then try again. |
107107| The vault’s network rules block Anthropic | Check the rules against the [vault settings Anthropic needs](https://platform.claude.com/docs/en/manage-claude/cmek-azure-key-vault#check-your-vault-configuration). |
108108 
109109## Attaching fails on Claude Platform on AWS
from line 110
110110 
111111Claude Platform on AWS has no **Verify** step, so a problem with the key shows when you attach it.
112112 
113| Cause | Fix |
114| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
115| Key policy mismatch | Print the key policy with the [`get-key-policy` command](https://platform.claude.com/docs/en/manage-claude/cmek-troubleshooting#aws-kms) and compare it with the [policy on the setup page](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#prepare-the-key-policy). |
116| The key policy leaves out the workspace | If your key policy lists workspaces, [add this workspace to each list](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#add-a-workspace). If it doesn’t, check that the [`aws:SourceArn` condition](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#source-arn-condition) matches this workspace’s ARN. Don’t remove that condition. |
117| The key policy has an `aws:SourceAccount` condition | Remove it from both service principal statements and keep `aws:SourceArn`. Anthropic’s calls to your key send only the source ARN. |
118| Key selected while creating a workspace | A key policy that lists workspaces can’t list one that doesn’t exist yet. Create the workspace without the key, then [add it to the key policy](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#add-a-workspace). |
119| Key state or location | The key must be enabled, single-Region, and in the same AWS account and region as the workspace. |
120| Missing permissions | The principal you’re signed in as needs `kms:DescribeKey`, `kms:Encrypt`, and `kms:Decrypt` on the key. |
113| Cause | Fix |
114| ----- | ----- |
115| Key policy mismatch | Print the key policy with the [`get-key-policy` command](https://platform.claude.com/docs/en/manage-claude/cmek-troubleshooting#aws-kms) and compare it with the [policy on the setup page](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#prepare-the-key-policy). |
116| The key policy leaves out the workspace | If your key policy lists workspaces, [add this workspace to each list](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#add-a-workspace). If it doesn’t, check that the [`aws:SourceArn` condition](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#source-arn-condition) matches this workspace’s ARN. Don’t remove that condition. |
117| The key policy has an `aws:SourceAccount` condition | Remove it from both service principal statements and keep `aws:SourceArn`. Anthropic’s calls to your key send only the source ARN. |
118| Key selected while creating a workspace | A key policy that lists workspaces can’t list one that doesn’t exist yet. Create the workspace without the key, then [add it to the key policy](https://platform.claude.com/docs/en/manage-claude/cmek-claude-platform-on-aws#add-a-workspace). |
119| Key state or location | The key must be enabled, single-Region, and in the same AWS account and region as the workspace. |
120| Missing permissions | The principal you’re signed in as needs `kms:DescribeKey`, `kms:Encrypt`, and `kms:Decrypt` on the key. |
121121 
122122If attaching still fails, find the denied `kms:` event in CloudTrail in the key’s account. It shows the calling principal and, for cryptographic calls, the encryption context. Fix the cause, then click **Save** again.
123123 

manage-claude/compliance-activity-feed Changed · +24 / -24 lines

from line 73
7373 
7474The Compliance API uses two pagination schemes depending on the endpoint family:
7575 
76| Endpoint family | Sort order | Scheme | Parameters |
77| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | ---------- | ----------------------------------------------------------- |
78| Activities | Newest first | Cursor | `after_id`, `before_id` (returned as `first_id`, `last_id`) |
79| Chats and chat messages | Oldest first | Cursor | `after_id`, `before_id` (returned as `first_id`, `last_id`) |
80| Organizations, projects, project attachments, users, roles, role permissions, groups, group members | Endpoint-specific | Page token | `page` (returned as `next_page`) |
81| Local and remote sessions and session messages | Sessions newest first; messages oldest first by default | Page token | `page` (returned as `next_page`) |
76| Endpoint family | Sort order | Scheme | Parameters |
77| ----- | ----- | ----- | ----- |
78| Activities | Newest first | Cursor | `after_id`, `before_id` (returned as `first_id`, `last_id`) |
79| Chats and chat messages | Oldest first | Cursor | `after_id`, `before_id` (returned as `first_id`, `last_id`) |
80| Organizations, projects, project attachments, users, roles, role permissions, groups, group members | Endpoint-specific | Page token | `page` (returned as `next_page`) |
81| Local and remote sessions and session messages | Sessions newest first; messages oldest first by default | Page token | `page` (returned as `next_page`) |
8282 
8383Files do not paginate: they are retrieved individually by ID.
8484 
from line 138
138138 
139139Every entry in `data` is an Activity with this top-level shape:
140140 
141| Field | Type | Description |
142| ------------------- | --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
143| `id` | string | Unique identifier for the activity. |
144| `created_at` | RFC 3339 string | When the activity occurred. |
145| `organization_id` | string or null | Organization where the activity occurred, or `null` for events not tied to an organization. |
146| `organization_uuid` | string or null | Same scoping as `organization_id`, expressed as a UUID. |
147| `actor` | Actor union | Who or what performed the activity. See the following actor table. |
148| `type` | string | The activity type, for example `claude_chat_created`. |
149| *additional fields* | varies | Type-specific fields, for example `claude_chat_id` on chat events or `claude_file_id` on file events. See [Query compliance activities](https://platform.claude.com/docs/en/api/compliance/activities/list) in the API reference for the per-type field list. |
141| Field | Type | Description |
142| ----- | ----- | ----- |
143| `id` | string | Unique identifier for the activity. |
144| `created_at` | RFC 3339 string | When the activity occurred. |
145| `organization_id` | string or null | Organization where the activity occurred, or `null` for events not tied to an organization. |
146| `organization_uuid` | string or null | Same scoping as `organization_id`, expressed as a UUID. |
147| `actor` | Actor union | Who or what performed the activity. See the following actor table. |
148| `type` | string | The activity type, for example `claude_chat_created`. |
149| *additional fields* | varies | Type-specific fields, for example `claude_chat_id` on chat events or `claude_file_id` on file events. See [Query compliance activities](https://platform.claude.com/docs/en/api/compliance/activities/list) in the API reference for the per-type field list. |
150150 
151151The `actor` field is a discriminated union. The `type` discriminator tells you which other fields are present:
152152 
153| `actor.type` | When it appears | Key fields |
154| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
155| `user_actor` | A signed-in claude.ai or Claude Console user took the action. Processes Anthropic runs on the user’s behalf can also appear as this type; see the paragraph after this table. | `email_address`, `user_id`, `ip_address`, `user_agent` |
156| `api_actor` | A request called the Claude API or the Compliance API with a customer-issued API key. Compliance API calls produce this actor type for both Compliance Access Keys and Admin API keys. | `api_key_id`, `ip_address`, `user_agent` |
157| `admin_api_key_actor` | An organization admin used an Admin API key to manage users, invites, workspaces, or API keys. | `admin_api_key_id`, `ip_address`, `user_agent` |
158| `unauthenticated_user_actor` | An action occurred before sign-in completed, for example `sso_login_initiated`. | `unauthenticated_email_address`, `ip_address`, `user_agent` |
159| `anthropic_actor` | Anthropic acted on the organization, for example through internal tooling. | `email_address` (always `null`; present for shape consistency with `user_actor`, because Anthropic operators are not represented by individual email) |
160| `system_actor` | Automated background processing performed by Anthropic systems, acting without a user or customer credential. | `service` (nullable; the name of the automated process that performed the action, when known) |
161| `scim_directory_sync_actor` | An identity provider (such as Okta, Microsoft Entra ID, or JumpCloud) pushed a change through SCIM directory sync. | `workos_event_id`, `directory_id`, `idp_connection_type` (nullable; for example `OktaSCIMV2`, `AzureSCIMV2`) |
153| `actor.type` | When it appears | Key fields |
154| ----- | ----- | ----- |
155| `user_actor` | A signed-in claude.ai or Claude Console user took the action. Processes Anthropic runs on the user’s behalf can also appear as this type; see the paragraph after this table. | `email_address`, `user_id`, `ip_address`, `user_agent` |
156| `api_actor` | A request called the Claude API or the Compliance API with a customer-issued API key. Compliance API calls produce this actor type for both Compliance Access Keys and Admin API keys. | `api_key_id`, `ip_address`, `user_agent` |
157| `admin_api_key_actor` | An organization admin used an Admin API key to manage users, invites, workspaces, or API keys. | `admin_api_key_id`, `ip_address`, `user_agent` |
158| `unauthenticated_user_actor` | An action occurred before sign-in completed, for example `sso_login_initiated`. | `unauthenticated_email_address`, `ip_address`, `user_agent` |
159| `anthropic_actor` | Anthropic acted on the organization, for example through internal tooling. | `email_address` (always `null`; present for shape consistency with `user_actor`, because Anthropic operators are not represented by individual email) |
160| `system_actor` | Automated background processing performed by Anthropic systems, acting without a user or customer credential. | `service` (nullable; the name of the automated process that performed the action, when known) |
161| `scim_directory_sync_actor` | An identity provider (such as Okta, Microsoft Entra ID, or JumpCloud) pushed a change through SCIM directory sync. | `workos_event_id`, `directory_id`, `idp_connection_type` (nullable; for example `OktaSCIMV2`, `AzureSCIMV2`) |
162162 
163163A `user_actor` activity does not always mean the user took the action. Processes that Anthropic runs on a user’s behalf can currently appear as `user_actor` for the affected user rather than as `system_actor`, and this attribution may change. For example, memory activities from a migration, such as `platform_memory_store_created`, `platform_memory_created`, and `platform_memory_deleted`, are attributed this way. The memory activities `platform_memory_store_created`, `platform_memory_created`, `platform_memory_updated`, and `platform_memory_deleted` currently show an `ip_address` of `0.0.0.0` whoever performed them. As a result, this value does not on its own identify a process that Anthropic runs on the user’s behalf.
164164 

manage-claude/compliance-api-access Changed · +12 / -12 lines

from line 16
1616 
1717## Which key do you need?
1818 
19| Key type | Created in | Used for | Works with the Compliance API? |
20| ---------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------ |
21| **Compliance Access Key** (`sk-ant-api01-...`) | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | Activity Feed, chats, files, projects, sessions (in apps such as Cowork and Claude Code), users, organization metadata, and organization settings | Yes (all endpoints) |
22| **Admin API key** (`sk-ant-admin01-...`) | [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console | The [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) and the Compliance API Activity Feed | Activity Feed only |
23| **Analytics API key** | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | The Claude Enterprise Analytics API (see [Analytics APIs](https://platform.claude.com/docs/en/manage-claude/analytics-api)) | No |
24| **Claude API key** (`sk-ant-api03-...`) | [API keys](https://platform.claude.com/settings/keys) page in the Claude Console | Calling Claude models through the [Claude API](https://platform.claude.com/docs/en/api/overview) | No |
19| Key type | Created in | Used for | Works with the Compliance API? |
20| ----- | ----- | ----- | ----- |
21| **Compliance Access Key** (`sk-ant-api01-...`) | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | Activity Feed, chats, files, projects, sessions (in apps such as Cowork and Claude Code), users, organization metadata, and organization settings | Yes (all endpoints) |
22| **Admin API key** (`sk-ant-admin01-...`) | [Admin keys](https://platform.claude.com/settings/admin-keys) page in the Claude Console | The [Admin API](https://platform.claude.com/docs/en/manage-claude/admin-api) and the Compliance API Activity Feed | Activity Feed only |
23| **Analytics API key** | [claude.ai > Organization settings > API](https://claude.ai/admin-settings/api-access) | The Claude Enterprise Analytics API (see [Analytics APIs](https://platform.claude.com/docs/en/manage-claude/analytics-api)) | No |
24| **Claude API key** (`sk-ant-api03-...`) | [API keys](https://platform.claude.com/settings/keys) page in the Claude Console | Calling Claude models through the [Claude API](https://platform.claude.com/docs/en/api/overview) | No |
2525 
2626A Claude Enterprise tenant has one **parent organization** that centralizes identity, SSO, and SCIM for every workload organization beneath it. These workload organizations are the parent’s **linked organizations**.
2727 
from line 74
7474 <Step title="Create the key">
7575 Click **Create key**, name the key, and select one or more scopes from the following table. Click **Create**.
7676 
77 | Scope | Grants |
78 | ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
79 | `read:compliance_activities` | Read the Activity Feed. A key covering the parent organization reads events for the parent organization and all linked organizations. |
80 | `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. |
81 | `delete:compliance_user_data` | Delete user chats, files, and projects. |
82 | `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`. |
77 | Scope | Grants |
78 | ----- | ----- |
79 | `read:compliance_activities` | Read the Activity Feed. A key covering the parent organization reads events for the parent organization and all linked organizations. |
80 | `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. |
81 | `delete:compliance_user_data` | Delete user chats, files, and projects. |
82 | `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`. |
8383 
8484 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).
8585 

manage-claude/compliance-content-data Changed · +10 / -10 lines

from line 181
181181 
182182Pick the endpoint that matches your ID’s prefix and the data you need. The same file content endpoint serves chat files, project files, and the `generated_files` entries whose IDs start with `claude_file_`. The file endpoints and the generated-file endpoints each reject the other’s IDs with a 400 error; see [Invalid file ID](https://platform.claude.com/docs/en/manage-claude/compliance-errors#invalid-file-id).
183183 
184| You have | You want | Use this endpoint |
185| ------------------------------ | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
186| `claude_file_*` ID | The file’s content | [Download file content](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/download) |
187| `claude_file_*` ID | The file’s metadata only | [Get file metadata](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/retrieve) |
188| `claude_gen_file_*` ID | A tool-generated file’s binary content | [Download a Claude-generated file](https://platform.claude.com/docs/en/api/compliance/apps/chats/generated_files/download) |
189| `claude_gen_file_*` ID | A tool-generated file’s metadata only | [Get generated-file metadata](https://platform.claude.com/docs/en/api/compliance/apps/chats/generated_files/retrieve) |
190| `claude_artifact_version_*` ID | One artifact version’s text | [Download artifact content](https://platform.claude.com/docs/en/api/compliance/apps/artifacts/download) |
191| `claude_artifact_version_*` ID | The artifact version’s metadata only | [Get artifact metadata](https://platform.claude.com/docs/en/api/compliance/apps/artifacts/retrieve) |
192| `claude_proj_doc_*` ID | A project document’s plain-text content | [Get project document content](https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/retrieve) |
193| `claude_proj_doc_*` ID | A project document’s metadata only | [Get project document metadata](https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/metadata) |
184| You have | You want | Use this endpoint |
185| ----- | ----- | ----- |
186| `claude_file_*` ID | The file’s content | [Download file content](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/download) |
187| `claude_file_*` ID | The file’s metadata only | [Get file metadata](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/retrieve) |
188| `claude_gen_file_*` ID | A tool-generated file’s binary content | [Download a Claude-generated file](https://platform.claude.com/docs/en/api/compliance/apps/chats/generated_files/download) |
189| `claude_gen_file_*` ID | A tool-generated file’s metadata only | [Get generated-file metadata](https://platform.claude.com/docs/en/api/compliance/apps/chats/generated_files/retrieve) |
190| `claude_artifact_version_*` ID | One artifact version’s text | [Download artifact content](https://platform.claude.com/docs/en/api/compliance/apps/artifacts/download) |
191| `claude_artifact_version_*` ID | The artifact version’s metadata only | [Get artifact metadata](https://platform.claude.com/docs/en/api/compliance/apps/artifacts/retrieve) |
192| `claude_proj_doc_*` ID | A project document’s plain-text content | [Get project document content](https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/retrieve) |
193| `claude_proj_doc_*` ID | A project document’s metadata only | [Get project document metadata](https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/metadata) |
194194 
195195The file content endpoint streams the content that claude.ai stored for the file as a chunked binary response. That content is not always identical to the file the user uploaded. Images can be served as a processed copy rather than the uploaded bytes. Some documents attached to chats (for example, Word files, PowerPoint files, and some PDFs) are stored as the text claude.ai extracted from them. For these documents, the endpoint returns the extracted text under the original file name, and the original document is not available through the Compliance API. The `size_bytes` and `md5` fields describe the stored content rather than the uploaded file. The file name and `mime_type` can still name the uploaded document’s format. Identify a file’s format from the returned bytes, not from its name or declared type.
196196 

manage-claude/compliance-errors Changed · +10 / -10 lines

from line 27
2727 
2828The following table tells you whether to retry. Each section that follows shows the verbatim error body and the fix.
2929 
30| Status | Retry? | When |
31| -------------------------------------------------------------------------------------------------------------------------- | --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
32| [400 Bad Request](https://platform.claude.com/docs/en/manage-claude/compliance-errors#400-bad-request) | No | Fix the request, or enable the Compliance API if the message says it is not enabled, then resend. If `error.details.error_code` is `transcript_page_read_limit_exceeded` (the message says a page of a session’s transcript is too large to read), do not resend the same request; [Transcript page too large](https://platform.claude.com/docs/en/manage-claude/compliance-errors#transcript-page-too-large) says what to do instead. |
33| [401 Unauthorized](https://platform.claude.com/docs/en/manage-claude/compliance-errors#401-unauthorized) | No | The key is not recognized, has been deactivated, or has expired; re-enable or replace it, then resend. |
34| [403 Forbidden](https://platform.claude.com/docs/en/manage-claude/compliance-errors#403-forbidden) | No | Add the missing scope or use the right key type, then resend. |
35| [404 Not Found](https://platform.claude.com/docs/en/manage-claude/compliance-errors#404-not-found) | Usually no | A message that names a resource means it was deleted or never existed; remove it from your queue. The bare message `Not found` means the request did not authenticate (or the path does not exist), not that a resource is gone; see [Request not authenticated](https://platform.claude.com/docs/en/manage-claude/compliance-errors#request-not-authenticated). On the Security posture endpoint, a bare `Not found` does not mean that the request did not authenticate; the [Security posture results reference](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#handle-errors) lists its causes. The session endpoints add two more cases: on the local session endpoints, the message `Local sessions are not available.` (returned on every call, including the list) means the endpoints are currently unavailable to your parent organization, not that a session is gone; keep your queued IDs and see [Local session not found](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-session-not-found). A remote session still in `pending` status 404s on its messages endpoint until it starts; see [Remote session not found](https://platform.claude.com/docs/en/manage-claude/compliance-errors#remote-session-not-found). |
36| [409 Conflict](https://platform.claude.com/docs/en/manage-claude/compliance-errors#409-conflict) | No | The request conflicts with the resource’s current state; resolve the conflict (such as detaching child resources), then retry. |
37| [429 Too Many Requests](https://platform.claude.com/docs/en/manage-claude/compliance-errors#429-too-many-requests) | Yes, after `retry-after` | Wait the seconds in `retry-after`, then retry; do not advance your cursor. |
38| [500 Internal Server Error](https://platform.claude.com/docs/en/manage-claude/compliance-errors#500-internal-server-error) | Depends on `x-should-retry` | Check the `x-should-retry` response header before retrying. |
39| [502, 503, 504, 529](https://platform.claude.com/docs/en/manage-claude/compliance-errors#500-internal-server-error) | Yes, with backoff | Transient; retry with exponential backoff. Exception: some local session 503s are not transient. See [Local sessions temporarily unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable). A Security posture 503 can also keep recurring for one organization. See [Errors in the Security posture results reference](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#handle-errors). |
30| Status | Retry? | When |
31| ----- | ----- | ----- |
32| [400 Bad Request](https://platform.claude.com/docs/en/manage-claude/compliance-errors#400-bad-request) | No | Fix the request, or enable the Compliance API if the message says it is not enabled, then resend. If `error.details.error_code` is `transcript_page_read_limit_exceeded` (the message says a page of a session’s transcript is too large to read), do not resend the same request; [Transcript page too large](https://platform.claude.com/docs/en/manage-claude/compliance-errors#transcript-page-too-large) says what to do instead. |
33| [401 Unauthorized](https://platform.claude.com/docs/en/manage-claude/compliance-errors#401-unauthorized) | No | The key is not recognized, has been deactivated, or has expired; re-enable or replace it, then resend. |
34| [403 Forbidden](https://platform.claude.com/docs/en/manage-claude/compliance-errors#403-forbidden) | No | Add the missing scope or use the right key type, then resend. |
35| [404 Not Found](https://platform.claude.com/docs/en/manage-claude/compliance-errors#404-not-found) | Usually no | A message that names a resource means it was deleted or never existed; remove it from your queue. The bare message `Not found` means the request did not authenticate (or the path does not exist), not that a resource is gone; see [Request not authenticated](https://platform.claude.com/docs/en/manage-claude/compliance-errors#request-not-authenticated). On the Security posture endpoint, a bare `Not found` does not mean that the request did not authenticate; the [Security posture results reference](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#handle-errors) lists its causes. The session endpoints add two more cases: on the local session endpoints, the message `Local sessions are not available.` (returned on every call, including the list) means the endpoints are currently unavailable to your parent organization, not that a session is gone; keep your queued IDs and see [Local session not found](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-session-not-found). A remote session still in `pending` status 404s on its messages endpoint until it starts; see [Remote session not found](https://platform.claude.com/docs/en/manage-claude/compliance-errors#remote-session-not-found). |
36| [409 Conflict](https://platform.claude.com/docs/en/manage-claude/compliance-errors#409-conflict) | No | The request conflicts with the resource’s current state; resolve the conflict (such as detaching child resources), then retry. |
37| [429 Too Many Requests](https://platform.claude.com/docs/en/manage-claude/compliance-errors#429-too-many-requests) | Yes, after `retry-after` | Wait the seconds in `retry-after`, then retry; do not advance your cursor. |
38| [500 Internal Server Error](https://platform.claude.com/docs/en/manage-claude/compliance-errors#500-internal-server-error) | Depends on `x-should-retry` | Check the `x-should-retry` response header before retrying. |
39| [502, 503, 504, 529](https://platform.claude.com/docs/en/manage-claude/compliance-errors#500-internal-server-error) | Yes, with backoff | Transient; retry with exponential backoff. Exception: some local session 503s are not transient. See [Local sessions temporarily unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable). A Security posture 503 can also keep recurring for one organization. See [Errors in the Security posture results reference](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/results-reference#handle-errors). |
4040 
4141## 400 Bad Request
4242 

manage-claude/compliance-faq Changed · +12 / -12 lines

from line 80
8080 <Accordion title="What do session transcripts include?">
8181 Local and remote session transcripts both carry user prompts, assistant responses, and tool calls and results. For local sessions (on users’ machines), that is what Claude was asked to do and what it returned, not what occurred on the device.
8282 
83 | Data | Local sessions (on users’ machines) | Remote sessions (in the cloud) |
84 | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
85 | User prompts | Yes; returned as `text` blocks. | Yes; returned as `text` blocks. |
86 | Assistant responses | Yes; text output only. | Yes; text output only. |
87 | Tool calls and results | Yes; each `tool_use` input and each `text` entry in a `tool_result` is truncated to 10,000 bytes by default (up to about 1 MiB each on request). | Yes; each `tool_use` input and each `text` entry in a `tool_result` is truncated to 10,000 bytes by default (up to about 1 MiB each on request). |
88 | File contents and file names | Yes; text that Claude reads through tools appears in the transcript, subject to the same truncation. Images, PDFs, and other binary or structured content appear only as placeholder `text` blocks. File names appear in tool-call inputs and outputs. | Yes; file contents and file names appear in the transcript through tool-call inputs and outputs (text only; other content is omitted). |
89 | Artifacts | Yes; generated content appears inside tool-call inputs in the transcript. | Yes; generated content appears inside tool-call inputs in the transcript. |
90 | Skills | Yes; skill content appears when the client sends it as message content, and it is not distinguished from other user text. | Yes; skill content appears in the transcript. |
91 | Session metadata | Yes; owner (`user.id` and email address), organization, workspace, `product_surface`, `created_at`, and `updated_at`, from the list and retrieve endpoints. Local sessions carry no `status`. | Yes; owner, organization, status, timestamps, and `product_surface`, from the list endpoint. |
92 | Thinking blocks | No. | No. |
93 | Images and other non-text content | No; each image, PDF, or other binary or structured block appears as a placeholder `text` block (for example, `[image content not shown]`) with `truncated` set to `true`. Raw file bytes are never returned. | No; non-text blocks are omitted, and raw file bytes are never returned. |
94 | Token usage, cost, and latency | No; token usage and cost are available through the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api#get-access-to-the-claude-enterprise-analytics-api). | No; token usage and cost are available through the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api#get-access-to-the-claude-enterprise-analytics-api). |
83 | Data | Local sessions (on users’ machines) | Remote sessions (in the cloud) |
84 | ----- | ----- | ----- |
85 | User prompts | Yes; returned as `text` blocks. | Yes; returned as `text` blocks. |
86 | Assistant responses | Yes; text output only. | Yes; text output only. |
87 | Tool calls and results | Yes; each `tool_use` input and each `text` entry in a `tool_result` is truncated to 10,000 bytes by default (up to about 1 MiB each on request). | Yes; each `tool_use` input and each `text` entry in a `tool_result` is truncated to 10,000 bytes by default (up to about 1 MiB each on request). |
88 | File contents and file names | Yes; text that Claude reads through tools appears in the transcript, subject to the same truncation. Images, PDFs, and other binary or structured content appear only as placeholder `text` blocks. File names appear in tool-call inputs and outputs. | Yes; file contents and file names appear in the transcript through tool-call inputs and outputs (text only; other content is omitted). |
89 | Artifacts | Yes; generated content appears inside tool-call inputs in the transcript. | Yes; generated content appears inside tool-call inputs in the transcript. |
90 | Skills | Yes; skill content appears when the client sends it as message content, and it is not distinguished from other user text. | Yes; skill content appears in the transcript. |
91 | Session metadata | Yes; owner (`user.id` and email address), organization, workspace, `product_surface`, `created_at`, and `updated_at`, from the list and retrieve endpoints. Local sessions carry no `status`. | Yes; owner, organization, status, timestamps, and `product_surface`, from the list endpoint. |
92 | Thinking blocks | No. | No. |
93 | Images and other non-text content | No; each image, PDF, or other binary or structured block appears as a placeholder `text` block (for example, `[image content not shown]`) with `truncated` set to `true`. Raw file bytes are never returned. | No; non-text blocks are omitted, and raw file bytes are never returned. |
94 | Token usage, cost, and latency | No; token usage and cost are available through the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api#get-access-to-the-claude-enterprise-analytics-api). | No; token usage and cost are available through the [Claude Enterprise Analytics API](https://platform.claude.com/docs/en/manage-claude/analytics-api#get-access-to-the-claude-enterprise-analytics-api). |
9595 
9696 See [Sessions on users’ machines](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions) and [Sessions in the cloud](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions) for the endpoints and parameters.
9797 </Accordion>

manage-claude/compliance-integration-patterns Changed · +18 / -18 lines

from line 31
3131* Cursor values are opaque strings that you must not parse.
3232* Requests are limited to 600 per minute for each [parent organization](https://platform.claude.com/docs/en/manage-claude/compliance-api#how-the-compliance-api-works), shared across every key, every linked organization, and every `/v1/compliance/*` endpoint; unlike the local session endpoints, the remote session endpoints carry a second request budget on top. See [429 Too Many Requests](https://platform.claude.com/docs/en/manage-claude/compliance-errors#429-too-many-requests) for the response headers and retry contract.
3333 
34| Pattern | Choose when |
35| ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
36| Window polling | Your pipeline runs on a fixed schedule, you prefer stateless workers, and you can tolerate replaying or overlapping windows |
34| Pattern | Choose when |
35| ----- | ----- |
36| Window polling | Your pipeline runs on a fixed schedule, you prefer stateless workers, and you can tolerate replaying or overlapping windows |
3737| Cursor-driven incremental reads | You want the lowest latency between an activity occurring and your pipeline ingesting it, you want to avoid re-reading pages you already drained, and you have a durable place to persist a cursor between runs |
3838 
3939### Window polling
from line 95
9595 
9696Each `Activity` carries fields you can join against events already in your SIEM (Splunk, Datadog, Microsoft Sentinel, Cribl, or similar):
9797 
98| Compliance API field | Join target |
99| --------------------- | ----------------------------------------------------------------------- |
100| `actor.user_id` | Your identity provider’s stable user identifier |
101| `actor.email_address` | Directory email when a stable ID is unavailable |
102| `actor.ip_address` | Network, VPN, and endpoint logs |
103| `actor.user_agent` | Endpoint and device inventory, and the client app that made the request |
104| `created_at` | Time-window correlation across any source |
98| Compliance API field | Join target |
99| ----- | ----- |
100| `actor.user_id` | Your identity provider’s stable user identifier |
101| `actor.email_address` | Directory email when a stable ID is unavailable |
102| `actor.ip_address` | Network, VPN, and endpoint logs |
103| `actor.user_agent` | Endpoint and device inventory, and the client app that made the request |
104| `created_at` | Time-window correlation across any source |
105105 
106106`actor.user_id` and `actor.email_address` are present when `actor.type` is `user_actor`. `actor.ip_address` and `actor.user_agent` are absent on some actor types, such as `anthropic_actor` and `scim_directory_sync_actor`. Check the discriminator before reading any of these fields. `user_id` is a stable, opaque identifier for the user account: it is consistent across every Compliance API endpoint and activity payload, and it does not change when the user’s email or display name changes. Use `user_id`, not `email_address`, as the primary join key.
107107 
from line 113
113113 
114114Six retention horizons govern what you can retrieve later:
115115 
116| Data | Retained for | Controlled by |
117| ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
118| Activity Feed records | 6 years | Anthropic |
119| Chat, file, and project content | Your organization’s claude.ai retention policy, unless a user deletes it sooner | Your organization |
120| Local session transcripts (sessions on users’ machines) | 6 years by default, or your organization’s custom conversation retention period when a finite one is set; 30 days in organizations with HIPAA readiness enabled | Anthropic by default; your organization when it sets a custom period |
121| Remote session transcripts (sessions in the cloud), other than Claude Tag | No default period; see [Retention and deletion](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retention-and-deletion) | Your users by default; also your organization’s retention policy for sessions that Claude starts from a chat |
122| Claude Tag session transcripts (sessions in the cloud) | No default period; deleted with their channel or Slack workspace (see [Retention and deletion](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retention-and-deletion)) | Your organization |
123| Content hard-deleted through the Compliance API | Not retained; deletion is immediate and permanent | The caller of the `DELETE` endpoint |
116| Data | Retained for | Controlled by |
117| ----- | ----- | ----- |
118| Activity Feed records | 6 years | Anthropic |
119| Chat, file, and project content | Your organization’s claude.ai retention policy, unless a user deletes it sooner | Your organization |
120| Local session transcripts (sessions on users’ machines) | 6 years by default, or your organization’s custom conversation retention period when a finite one is set; 30 days in organizations with HIPAA readiness enabled | Anthropic by default; your organization when it sets a custom period |
121| Remote session transcripts (sessions in the cloud), other than Claude Tag | No default period; see [Retention and deletion](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retention-and-deletion) | Your users by default; also your organization’s retention policy for sessions that Claude starts from a chat |
122| Claude Tag session transcripts (sessions in the cloud) | No default period; deleted with their channel or Slack workspace (see [Retention and deletion](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retention-and-deletion)) | Your organization |
123| Content hard-deleted through the Compliance API | Not retained; deletion is immediate and permanent | The caller of the `DELETE` endpoint |
124124 
125125To learn how the rest of the Claude Platform handles retention, see [API and data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention).
126126 

manage-claude/compliance-org-data Changed · +7 / -7 lines

from line 50
5050 
5151The `uuid` field is the canonical identifier for downstream lookups. The following table maps it to the other organization identifiers across the Compliance API:
5252 
53| Field | Where | Relationship to `uuid` |
54| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
55| `{org_uuid}` | Path parameter on per-organization endpoints on this page | Same value |
56| `organization_uuid` | Activity Feed, chat, project, and session records | Same value; join on these two fields directly |
57| `organization_id` | Activity Feed, chat, and project records | Same organization, `org_`-prefixed. Deprecated on chat and project records; use `organization_uuid` instead. |
58| `organization_ids[]` | Filter on [Query the Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed), [Retrieve chats and messages](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#retrieve-chats-and-messages), and the [remote session list](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions) (the local session list has no organization filter) | Accepts `uuid` or the `org_`-prefixed form |
59| `organization_id` | [Effective organization settings](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#get-effective-organization-settings) response | Same value, bare UUID; this response does **not** use the `org_`-prefixed form that `organization_id` carries on Activity Feed, chat, and project records |
53| Field | Where | Relationship to `uuid` |
54| ----- | ----- | ----- |
55| `{org_uuid}` | Path parameter on per-organization endpoints on this page | Same value |
56| `organization_uuid` | Activity Feed, chat, project, and session records | Same value; join on these two fields directly |
57| `organization_id` | Activity Feed, chat, and project records | Same organization, `org_`-prefixed. Deprecated on chat and project records; use `organization_uuid` instead. |
58| `organization_ids[]` | Filter on [Query the Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed), [Retrieve chats and messages](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#retrieve-chats-and-messages), and the [remote session list](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions) (the local session list has no organization filter) | Accepts `uuid` or the `org_`-prefixed form |
59| `organization_id` | [Effective organization settings](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#get-effective-organization-settings) response | Same value, bare UUID; this response does **not** use the `org_`-prefixed form that `organization_id` carries on Activity Feed, chat, and project records |
6060 
6161Most other Anthropic APIs use the `org_`-prefixed form.
6262 

manage-claude/compliance-security-posture/check-events-against-results Changed · +31 / -31 lines

from line 29
2929 
3030Match an entry in the response to a stored activity with these fields.
3131 
32| In the response | In the activity | How they relate |
33| ------------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
34| `organization_id` | `organization_uuid` | The same value; the activity’s own `organization_id` has the `org_` prefix. |
35| `controls[].id` | `control` | The same identifier, except as in [rule S2](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results#set-aside-what-cannot-be-compared). |
36| `attestation.attested_at` | `created_at` of the newest `attested`, `changed`, or `renewed` activity | The same time where the response shows the attestation; compare as times, not strings. |
37| `status` | `status` | While the attestation is in effect, `attested_completed` pairs with `completed`, and `attested_accepted_risk` and `failed_check_accepted_risk` with `accepted_risk`; nothing pairs with `control_failed`. |
32| In the response | In the activity | How they relate |
33| ----- | ----- | ----- |
34| `organization_id` | `organization_uuid` | The same value; the activity’s own `organization_id` has the `org_` prefix. |
35| `controls[].id` | `control` | The same identifier, except as in [rule S2](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results#set-aside-what-cannot-be-compared). |
36| `attestation.attested_at` | `created_at` of the newest `attested`, `changed`, or `renewed` activity | The same time where the response shows the attestation; compare as times, not strings. |
37| `status` | `status` | While the attestation is in effect, `attested_completed` pairs with `completed`, and `attested_accepted_risk` and `failed_check_accepted_risk` with `accepted_risk`; nothing pairs with `control_failed`. |
3838 
3939## Set aside what cannot be compared
4040 
4141Before you compare, set these aside.
4242 
43| # | What | Rule |
44| -- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
45| S1 | A stored attestation activity whose `action` is not `attested`, `changed`, `renewed`, `cleared`, or `lapsed` | Leave it out of the whole check; flag each new `action` value for review once. |
46| S2 | A stored attestation activity that names `mdm_cowork_required_organization` | Count it as one for `mdm_chat_required_organization`. |
47| S3 | A stored attestation activity whose control has no entry in the response | Nothing to compare; report the control as not in the response, never as Passed (`passed`). |
48| S4 | An entry whose `status` is `descriptive`, `not_applicable`, or `not_evaluated` | Skip it; a run on which it is `not_evaluated` does not count for that control. |
43| # | What | Rule |
44| ----- | ----- | ----- |
45| S1 | A stored attestation activity whose `action` is not `attested`, `changed`, `renewed`, `cleared`, or `lapsed` | Leave it out of the whole check; flag each new `action` value for review once. |
46| S2 | A stored attestation activity that names `mdm_cowork_required_organization` | Count it as one for `mdm_chat_required_organization`. |
47| S3 | A stored attestation activity whose control has no entry in the response | Nothing to compare; report the control as not in the response, never as Passed (`passed`). |
48| S4 | An entry whose `status` is `descriptive`, `not_applicable`, or `not_evaluated` | Skip it; a run on which it is `not_evaluated` does not count for that control. |
4949 
5050## Decide what each mismatch means
5151 
5252Each control that is left fits exactly one row. In this table, treat a `null` `state` as `in_force`.
5353 
54| # | Newest stored activity | Entry in the response | Verdict | What to do |
55| -- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
56| 1 | `attested`, `changed`, or `renewed` | `attested_at` equals its `created_at`; `state` is `in_force`; `status` pairs with its value. | Match | Nothing. |
57| 2 | `cleared` | `attestation` is `null`, except as in row 11. | Match | Nothing. |
58| 3 | `lapsed`, with Accepted risk (`accepted_risk`) | `attestation` is `null` or has the earlier activity’s time with `state` `check_passing` or `setting_changed`. | Match | Nothing. |
59| 4 | `lapsed`, with `completed` or `control_failed` | `attestation` is `null`. | Match | Nothing. |
60| 5 | `attested`, `changed`, or `renewed` | `attested_at` equals its `created_at`; `state` is `review_due`, `check_passing`, or `setting_changed`. | Expected | Not in effect: act once on each new state, without waiting for an activity; a return to `in_force` resets this. |
61| 6 | `attested`, `changed`, or `renewed`, with Completed (`completed`) and a `created_at` later than your first run | On the first run that compares the activity, `attestation` is `null`, and `status` is `failed` with a `current_value`. | Look into | The Security posture page may show a failing check as Passed: flag for review, with no wait. |
62| 7 | `attested`, `changed`, or `renewed`, with `completed` | `attestation` is `null`; `status` is neither `not_attested` nor `failed` with a `null` `current_value`; row 6 does not fit. | Expected | Nothing to compare; the response never shows it. |
63| 8 | `attested`, `changed`, or `renewed`, as Failed (`control_failed`) | `attestation` is `null`; `status` is one of three: `failed`; any status that the automatic check gives; or, from the end date (`review_date`, in UTC) on, `not_attested`. | Expected | Nothing to compare; act once when `status` leaves `failed` from the end date on. |
64| 9 | `attested`, `changed`, or `renewed`, with `accepted_risk` | `attestation` is `null`, and `status` is `passed`, `matches_profile`, or `exceeds_baseline`. | Expected | Store a placeholder ([placeholder rule 7](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results#keep-a-placeholder-where-the-two-sources-cannot-be-matched)). |
65| 10 | None, or every stored activity is older than `attested_at` | `attestation` is present. | Look into | Follow the placeholder rules. |
66| 11 | None, or one whose value is not `control_failed` | `current_value` is `null`, and `status` is `failed`. | Look into | Your store lacks an attestation as Failed (`control_failed`): follow the placeholder rules and act once when `status` leaves `failed`. |
67| 12 | `attested`, `changed`, `renewed`, or `cleared`, newer than `attested_at`, with another activity from almost the same time | `attestation` is present. | Expected | Changes made at almost the same time can be stored in either order. |
68| 13 | The same, with no such second activity | `attestation` is present. | Look into | Contact Anthropic support, once. |
69| 14 | `attested`, `changed`, or `renewed` | `attested_at` equals its `created_at`; `state` is `in_force`; `status` does not pair with its value. | Look into | Contact Anthropic support, once. |
70| 15 | `attested`, `changed`, or `renewed`; no earlier row fits | `attestation` is `null`. | Look into | Most likely cleared: store a placeholder ([placeholder rule 7](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results#keep-a-placeholder-where-the-two-sources-cannot-be-matched)) and flag for review once. |
71| 16 | None | `attestation` is `null`, and row 11 does not fit. | Match | Nothing. |
72| 17 | Any other | Any other. | Look into | Flag for review once. |
54| # | Newest stored activity | Entry in the response | Verdict | What to do |
55| ----- | ----- | ----- | ----- | ----- |
56| 1 | `attested`, `changed`, or `renewed` | `attested_at` equals its `created_at`; `state` is `in_force`; `status` pairs with its value. | Match | Nothing. |
57| 2 | `cleared` | `attestation` is `null`, except as in row 11. | Match | Nothing. |
58| 3 | `lapsed`, with Accepted risk (`accepted_risk`) | `attestation` is `null` or has the earlier activity’s time with `state` `check_passing` or `setting_changed`. | Match | Nothing. |
59| 4 | `lapsed`, with `completed` or `control_failed` | `attestation` is `null`. | Match | Nothing. |
60| 5 | `attested`, `changed`, or `renewed` | `attested_at` equals its `created_at`; `state` is `review_due`, `check_passing`, or `setting_changed`. | Expected | Not in effect: act once on each new state, without waiting for an activity; a return to `in_force` resets this. |
61| 6 | `attested`, `changed`, or `renewed`, with Completed (`completed`) and a `created_at` later than your first run | On the first run that compares the activity, `attestation` is `null`, and `status` is `failed` with a `current_value`. | Look into | The Security posture page may show a failing check as Passed: flag for review, with no wait. |
62| 7 | `attested`, `changed`, or `renewed`, with `completed` | `attestation` is `null`; `status` is neither `not_attested` nor `failed` with a `null` `current_value`; row 6 does not fit. | Expected | Nothing to compare; the response never shows it. |
63| 8 | `attested`, `changed`, or `renewed`, as Failed (`control_failed`) | `attestation` is `null`; `status` is one of three: `failed`; any status that the automatic check gives; or, from the end date (`review_date`, in UTC) on, `not_attested`. | Expected | Nothing to compare; act once when `status` leaves `failed` from the end date on. |
64| 9 | `attested`, `changed`, or `renewed`, with `accepted_risk` | `attestation` is `null`, and `status` is `passed`, `matches_profile`, or `exceeds_baseline`. | Expected | Store a placeholder ([placeholder rule 7](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results#keep-a-placeholder-where-the-two-sources-cannot-be-matched)). |
65| 10 | None, or every stored activity is older than `attested_at` | `attestation` is present. | Look into | Follow the placeholder rules. |
66| 11 | None, or one whose value is not `control_failed` | `current_value` is `null`, and `status` is `failed`. | Look into | Your store lacks an attestation as Failed (`control_failed`): follow the placeholder rules and act once when `status` leaves `failed`. |
67| 12 | `attested`, `changed`, `renewed`, or `cleared`, newer than `attested_at`, with another activity from almost the same time | `attestation` is present. | Expected | Changes made at almost the same time can be stored in either order. |
68| 13 | The same, with no such second activity | `attestation` is present. | Look into | Contact Anthropic support, once. |
69| 14 | `attested`, `changed`, or `renewed` | `attested_at` equals its `created_at`; `state` is `in_force`; `status` does not pair with its value. | Look into | Contact Anthropic support, once. |
70| 15 | `attested`, `changed`, or `renewed`; no earlier row fits | `attestation` is `null`. | Look into | Most likely cleared: store a placeholder ([placeholder rule 7](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/check-events-against-results#keep-a-placeholder-where-the-two-sources-cannot-be-matched)) and flag for review once. |
71| 16 | None | `attestation` is `null`, and row 11 does not fit. | Match | Nothing. |
72| 17 | Any other | Any other. | Look into | Flag for review once. |
7373 
7474## Keep a placeholder where the two sources cannot be matched
7575 

manage-claude/compliance-security-posture/events-reference Changed · +13 / -13 lines

from line 20
2020 
2121This type adds the following fields, where `status` is the attestation’s value and `review_date` is its end date.
2222 
23| Field | Type | Description |
24| ----------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
25| `control` | string | The identifier of the security control that the attestation applies to, for example, `oauth_conditional_access`; treat it as an opaque string. |
26| `action` | string | What changed, as one of the [`action` values](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#action-values). |
27| `status` | string | The attestation’s value: Completed (`completed`), Accepted risk (`accepted_risk`), or attested as Failed (`control_failed`); absent when the attestation was cleared. |
28| `previous_status` | string | The attestation’s value before this change, one of the same three; absent when `action` is `attested`. |
29| `review_date` | string | The UTC day (ISO 8601 date) on which the attestation is due to end; absent if it was saved with no end date or cleared. |
23| Field | Type | Description |
24| ----- | ----- | ----- |
25| `control` | string | The identifier of the security control that the attestation applies to, for example, `oauth_conditional_access`; treat it as an opaque string. |
26| `action` | string | What changed, as one of the [`action` values](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#action-values). |
27| `status` | string | The attestation’s value: Completed (`completed`), Accepted risk (`accepted_risk`), or attested as Failed (`control_failed`); absent when the attestation was cleared. |
28| `previous_status` | string | The attestation’s value before this change, one of the same three; absent when `action` is `attested`. |
29| `review_date` | string | The UTC day (ISO 8601 date) on which the attestation is due to end; absent if it was saved with no end date or cleared. |
3030 
3131On an information-only control, the value Reviewed is recorded as `completed`.
3232 
3333### `action` values
3434 
35| `action` | Meaning |
36| ---------- | -------------------------------------------------------- |
35| `action` | Meaning |
36| ----- | ----- |
3737| `attested` | An attestation was recorded for a control that had none. |
38| `changed` | An attestation was saved again with another value. |
39| `renewed` | An attestation was saved again with the same value. |
40| `cleared` | A person cleared an attestation. |
41| `lapsed` | An attestation ended automatically, not by a person. |
38| `changed` | An attestation was saved again with another value. |
39| `renewed` | An attestation was saved again with the same value. |
40| `cleared` | A person cleared an attestation. |
41| `lapsed` | An attestation ended automatically, not by a person. |
4242 
4343On or before October 23, 2026 (UTC), a `changed` activity can also record a save with the same value. Such an activity has a `created_at` on or before that day and a `status` that equals `previous_status`.
4444 

manage-claude/compliance-security-posture/ocsf-mapping Changed · +43 / -43 lines

from line 18
1818 
1919Map these fields on every event.
2020 
21| Activity field | OCSF attribute | Note |
22| ------------------- | ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
23| `id` | `metadata.uid` | Copy unchanged. |
24| `type` | `metadata.event_code` | Copy unchanged. |
25| `created_at` | `time` | Convert the RFC 3339 string to milliseconds since the Unix epoch and truncate to a whole number. |
26| `created_at` | `metadata.original_time` | Copy the string unchanged. |
27| None | `metadata.logged_time` | The time at which you stored the activity (`stored_at` on [Detect changes in Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes#before-you-write-a-rule)), in milliseconds since the Unix epoch. |
28| `organization_uuid` | `metadata.tenant_uid` | Copy unchanged. |
29| `organization_id` | `unmapped.organization_id` | Copy unchanged. |
30| None | `metadata.version` | Constant: `1.6.0`. |
31| None | `metadata.product.vendor_name` | Constant: `Anthropic`. |
32| None | `metadata.product.name` | Constant: `Compliance API`. |
33| None | `type_uid` | `class_uid * 100 + activity_id`. |
34| None | `severity_id` | Set to `1` (Informational) on every event and set an alert’s priority in the [detection rule](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes) that raises it. |
21| Activity field | OCSF attribute | Note |
22| ----- | ----- | ----- |
23| `id` | `metadata.uid` | Copy unchanged. |
24| `type` | `metadata.event_code` | Copy unchanged. |
25| `created_at` | `time` | Convert the RFC 3339 string to milliseconds since the Unix epoch and truncate to a whole number. |
26| `created_at` | `metadata.original_time` | Copy the string unchanged. |
27| None | `metadata.logged_time` | The time at which you stored the activity (`stored_at` on [Detect changes in Security posture](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes#before-you-write-a-rule)), in milliseconds since the Unix epoch. |
28| `organization_uuid` | `metadata.tenant_uid` | Copy unchanged. |
29| `organization_id` | `unmapped.organization_id` | Copy unchanged. |
30| None | `metadata.version` | Constant: `1.6.0`. |
31| None | `metadata.product.vendor_name` | Constant: `Anthropic`. |
32| None | `metadata.product.name` | Constant: `Compliance API`. |
33| None | `type_uid` | `class_uid * 100 + activity_id`. |
34| None | `severity_id` | Set to `1` (Informational) on every event and set an alert’s priority in the [detection rule](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/detect-changes) that raises it. |
3535 
3636Put every field that has no OCSF attribute in the `unmapped` object under its Activity Feed name, including fields that your handler does not recognize. Where a field is absent or `null`, leave out the OCSF attribute.
3737 
3838Map the `actor` object:
3939 
40| Activity field | OCSF attribute | Note |
41| --------------------- | ------------------------- | ------------------------------------------------------------------------------ |
42| None | `metadata.profiles` | Add `host`, the OCSF profile (an optional attribute set) that carries `actor`. |
43| `actor.type` | `unmapped.actor.type` | Copy unchanged. |
44| `actor.user_id` | `actor.user.uid` | `user_actor` only. |
45| `actor.email_address` | `actor.user.email_addr` | `user_actor` only. |
46| `actor.ip_address` | `src_endpoint.ip` | `user_actor` only. |
47| `actor.user_agent` | `http_request.user_agent` | `user_actor` only. |
48| `actor.service` | `actor.app_name` | `system_actor` only. |
40| Activity field | OCSF attribute | Note |
41| ----- | ----- | ----- |
42| None | `metadata.profiles` | Add `host`, the OCSF profile (an optional attribute set) that carries `actor`. |
43| `actor.type` | `unmapped.actor.type` | Copy unchanged. |
44| `actor.user_id` | `actor.user.uid` | `user_actor` only. |
45| `actor.email_address` | `actor.user.email_addr` | `user_actor` only. |
46| `actor.ip_address` | `src_endpoint.ip` | `user_actor` only. |
47| `actor.user_agent` | `http_request.user_agent` | `user_actor` only. |
48| `actor.service` | `actor.app_name` | `system_actor` only. |
4949 
5050## Attestation activities: Entity Management
5151 
5252Map an [`org_security_control_attestation_updated`](https://platform.claude.com/docs/en/manage-claude/compliance-security-posture/events-reference#attestation-activity) activity to the OCSF Entity Management class (3004). Entity Management events report an operation on a managed entity, here the organization’s attestation for a security control.
5353 
54| Activity field | OCSF attribute | Note |
55| ----------------- | -------------------------- | -------------------------------------------------------------------- |
56| None | `class_uid` | Constant: `3004` (Entity Management). |
57| None | `category_uid` | Constant: `3` (Identity & Access Management). |
58| `action` | `activity_id` | From the table of `action` values that follows. |
59| `action` | `unmapped.action` | Copy unchanged, because two `action` values share one `activity_id`. |
60| None | `entity.type_id` | Constant: `99` (Other). |
61| None | `entity.type` | Constant: `Security control attestation`. |
62| `control` | `entity.uid` | Copy unchanged. |
63| `status` | `entity.data.status` | Copy unchanged: the attestation’s value. |
64| `review_date` | `entity.data.review_date` | Copy unchanged: the attestation’s end date. |
65| `previous_status` | `unmapped.previous_status` | Copy unchanged: the attestation’s value before the change. |
54| Activity field | OCSF attribute | Note |
55| ----- | ----- | ----- |
56| None | `class_uid` | Constant: `3004` (Entity Management). |
57| None | `category_uid` | Constant: `3` (Identity & Access Management). |
58| `action` | `activity_id` | From the table of `action` values that follows. |
59| `action` | `unmapped.action` | Copy unchanged, because two `action` values share one `activity_id`. |
60| None | `entity.type_id` | Constant: `99` (Other). |
61| None | `entity.type` | Constant: `Security control attestation`. |
62| `control` | `entity.uid` | Copy unchanged. |
63| `status` | `entity.data.status` | Copy unchanged: the attestation’s value. |
64| `review_date` | `entity.data.review_date` | Copy unchanged: the attestation’s end date. |
65| `previous_status` | `unmapped.previous_status` | Copy unchanged: the attestation’s value before the change. |
6666 
6767Do not map `status` to `status_id` or to any pass or fail value: an attestation is a person’s statement about a control, not the result of a check.
6868 
69| `action` | `activity_id` | `type_uid` |
70| --------------- | ----------------- | ---------- |
71| `attested` | `1` (Create) | `300401` |
72| `changed` | `3` (Update) | `300403` |
73| `renewed` | `3` (Update) | `300403` |
74| `cleared` | `4` (Delete) | `300404` |
75| `lapsed` | `11` (Deactivate) | `300411` |
76| Any other value | `99` (Other) | `300499` |
69| `action` | `activity_id` | `type_uid` |
70| ----- | ----- | ----- |
71| `attested` | `1` (Create) | `300401` |
72| `changed` | `3` (Update) | `300403` |
73| `renewed` | `3` (Update) | `300403` |
74| `cleared` | `4` (Delete) | `300404` |
75| `lapsed` | `11` (Deactivate) | `300411` |
76| Any other value | `99` (Other) | `300499` |
7777 
7878For `99` (Other), set `activity_name` to the `action` value.
7979 
Feedback