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

One read of Claude Developer Platformapi-20261130T210723Z

358 pages moved out of 971 read.

Pages moved 358 significant first
Pages read 971 in this capture
Captured 21:07 UTC
Corpus hash 767be2d45bc7 corpus-hash

What this read moved

76-100 of 358, page 4 of 15

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

api/organization/workspaces Changed · +32 / -10 lines

### User Profile Cleared Error Details ### user_profile_cleared

from line 180
180180{
181181 "data": [
182182 {
183 "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
183 "id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
184184 "archived_at": "2024-11-01T23:59:27.427722Z",
185185 "compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
186186 "created_at": "2024-10-30T23:58:27.427722Z",
from line 447
447447 
448448```json
449449{
450 "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
450 "id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
451451 "archived_at": "2024-11-01T23:59:27.427722Z",
452452 "compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
453453 "created_at": "2024-10-30T23:58:27.427722Z",
from line 601
601601 
602602```json
603603{
604 "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
604 "id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
605605 "archived_at": "2024-11-01T23:59:27.427722Z",
606606 "compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
607607 "created_at": "2024-10-30T23:58:27.427722Z",
from line 824
824824 
825825 The Workspace's storage and its user profile don't match: the Workspace and its storage must have the same user profile, or both have none.
826826 
827- `user_profile_cleared` (HTTP status 400)
828 
829 Deleting a user profile removed it from the Workspace, and a user profile can't be attached to that Workspace again. Create a new Workspace for the user profile.
830 
827831- `user_profile_not_found` (HTTP status 400)
828832 
829833 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
from line 871
867871 
868872```json
869873{
870 "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
874 "id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
871875 "archived_at": "2024-11-01T23:59:27.427722Z",
872876 "compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
873877 "created_at": "2024-10-30T23:58:27.427722Z",
from line 1038
10341038 
10351039```json
10361040{
1037 "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
1041 "id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
10381042 "archived_at": "2024-11-01T23:59:27.427722Z",
10391043 "compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
10401044 "created_at": "2024-10-30T23:58:27.427722Z",
from line 1183
11791183 
11801184 The storage setting that doesn't match the Workspace's user profile.
11811185 
1186### User Profile Cleared Error Details
1187 
1188- `UserProfileClearedErrorDetails object`
1189 
1190 - `error_code: "user_profile_cleared"`
1191 
11821192### Workspace
11831193 
11841194- `Workspace object`
from line 1398
13881398 
13891399 The storage setting that doesn't match the Workspace's user profile.
13901400 
1401### user_profile_cleared
1402 
1403HTTP status 400
1404 
1405- `"user_profile_cleared"`
1406 
1407 Deleting a user profile removed it from the Workspace, and a user profile can't be attached to that Workspace again. Create a new Workspace for the user profile.
1408 
1409 - `details: UserProfileClearedErrorDetails`
1410 
1411 - `error_code: "user_profile_cleared"`
1412 
13911413### workspace_member_limit_exceeded
13921414 
13931415HTTP status 400
from line 2084
20622084 {
20632085 "type": "workspace_member",
20642086 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
2065 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
2087 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
20662088 "workspace_role": "workspace_admin"
20672089 }
20682090 ],
from line 2199
21772199{
21782200 "type": "workspace_member",
21792201 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
2180 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
2202 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
21812203 "workspace_role": "workspace_admin"
21822204}
21832205```
from line 2276
22542276{
22552277 "type": "workspace_member",
22562278 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
2257 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
2279 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
22582280 "workspace_role": "workspace_admin"
22592281}
22602282```
from line 2387
23652387{
23662388 "type": "workspace_member",
23672389 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
2368 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
2390 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
23692391 "workspace_role": "workspace_admin"
23702392}
23712393```
from line 2459
24372459{
24382460 "type": "workspace_member_deleted",
24392461 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
2440 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
2462 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
24412463}
24422464```
24432465 

api/organization/workspaces/members Changed · +5 / -5 lines

from line 105
105105 {
106106 "type": "workspace_member",
107107 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
108 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
108 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
109109 "workspace_role": "workspace_admin"
110110 }
111111 ],
from line 220
220220{
221221 "type": "workspace_member",
222222 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
223 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
223 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
224224 "workspace_role": "workspace_admin"
225225}
226226```
from line 297
297297{
298298 "type": "workspace_member",
299299 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
300 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
300 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
301301 "workspace_role": "workspace_admin"
302302}
303303```
from line 408
408408{
409409 "type": "workspace_member",
410410 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
411 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
411 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
412412 "workspace_role": "workspace_admin"
413413}
414414```
from line 480
480480{
481481 "type": "workspace_member_deleted",
482482 "user_id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
483 "workspace_id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ"
483 "workspace_id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx"
484484}
485485```
486486 

api/organization/workspaces/update Changed · +5 / -1 lines

from line 205
205205 
206206 The Workspace's storage and its user profile don't match: the Workspace and its storage must have the same user profile, or both have none.
207207 
208- `user_profile_cleared` (HTTP status 400)
209 
210 Deleting a user profile removed it from the Workspace, and a user profile can't be attached to that Workspace again. Create a new Workspace for the user profile.
211 
208212- `user_profile_not_found` (HTTP status 400)
209213 
210214 The request depends on a user profile that does not exist in the organization or is no longer active. The request either names this user profile by ID, or names a resource, such as an External Key, that is bound to it.
from line 252
248252 
249253```json
250254{
251 "id": "wrkspc_01JwQvzr7rXLA5AGx3HKfFUJ",
255 "id": "wrkspc_01AbCdEfGhJkLmNpQrStUvWx",
252256 "archived_at": "2024-11-01T23:59:27.427722Z",
253257 "compartment_id": "f8a7b6c5-4d3e-4f1a-8b9c-0d1e2f3a4b5c",
254258 "created_at": "2024-10-30T23:58:27.427722Z",

manage-claude/analytics-api Changed · +10 / -2 lines

from line 75
7575 
7676* **User activity:** per-user daily metrics across chat (conversations, messages, projects, files, artifacts), Claude Code (sessions, commits, pull requests, lines of code, tool actions), Chat and Cowork unified (chat activity and Cowork sessions), and other Claude products
7777* **Activity summaries:** organization-level daily, weekly, and monthly active users, seat counts, and pending invites
78* **Project, skill, and connector usage:** adoption breakdowns for chat projects, skills, and connectors
78* **Project, skill, and connector usage:** adoption breakdowns for classic projects, the new projects experience, skills, and connectors
7979* **Cost and usage reports:** per-user and organization-level token usage and cost over time (usage-based Enterprise plans)
8080 
8181<Note>
from line 114
114114 
115115A user can appear in both the chat or Cowork counts and the Chat and Cowork unified counts. This can occur on a day when they use Chat and Cowork unified and some of their activity is still reported under chat or Cowork. Weekly and monthly counts can include them in both when the window has activity of both kinds, even on different days. For example, the window might cover days before and after they started using Chat and Cowork unified.
116116 
117When you filter user activity by project, each day’s project activity is counted in one place only. If a user sent a chat message in Chat and Cowork unified that day, all their project activity is counted in `chat_cowork_unified_metrics.chat`. Otherwise, it is counted in `chat_metrics`.
117When you filter user activity by project, each day’s project activity is counted in one place only. The filter takes the IDs of classic projects only. An ID that starts with `chan_` returns a 400 error. If a user sent a chat message in Chat and Cowork unified that day, all their project activity is counted in `chat_cowork_unified_metrics.chat`. Otherwise, it is counted in `chat_metrics`.
118 
119**The new projects experience.** In the new projects experience, a project is one ongoing conversation in which Claude coordinates related work and starts a thread for each task. See [Let Claude coordinate ongoing work with Projects](https://code.claude.com/docs/en/claude-projects). These projects have their own endpoint, `/v1/organizations/analytics/projects`. The classic project usage endpoint, `/v1/organizations/analytics/apps/chat/projects`, reports classic projects only. A classic project bundles chats.
120 
121No project ID appears on both endpoints. To cover all of your organization’s project usage, call both. Usage in the new projects experience is not counted in your classic project figures, so those figures can drop as users start using it.
122 
123Upgrading a classic project archives it and creates a project in the new projects experience that has its own `chan_` ID. The upgraded project can then appear on both endpoints under two IDs, and no field links them. Its chats stay in the classic project.
124 
125On `/v1/organizations/analytics/projects`, `project_id` starts with `chan_` instead of `claude_proj_`, and `distinct_session_count` replaces `distinct_conversation_count`. Each row also has `project_status` (`active` or `archived`), which is `null` for a deleted project. `project_name` is `null` for a private project, a deleted project, or a project with no name. The endpoint takes the same query parameters as the classic project usage endpoint, and its `project_id` filter takes `chan_` IDs only.
118126 
119127**Per-product metric blocks.** Per-product metric objects (for example, Office Agent or Cowork metrics on a user-activity record) are always present on every record. Organizations without usage of that product see zero counts rather than a `null` object. The exception is Chat and Cowork unified: on deployments that do not offer it, its fields are left out of the response. Individual fields inside these objects can be `null`, which means the value is not available. For example, when you filter user activity by project, `distinct_skills_used_count` in `chat_metrics` is `null`. The [Claude Enterprise Analytics API reference](https://platform.claude.com/docs/en/api/beta/organization/analytics) shows which fields can be `null`.
120128 

manage-claude/compliance-content-data Changed · +21 / -5 lines

### The new projects experience

from line 191
191191 
192192| You have | You want | Use this endpoint |
193193| ----- | ----- | ----- |
194| `claude_file_*` ID | The file’s content | [Download file content](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/download) |
195| `claude_file_*` ID | The file’s metadata only | [Get file metadata](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/retrieve) |
194| `claude_file_*` or `claude_proj_file_*` ID | The file’s content | [Download file content](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/download) |
195| `claude_file_*` or `claude_proj_file_*` ID | The file’s metadata only | [Get file metadata](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/retrieve) |
196196| `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) |
197197| `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) |
198198| `claude_artifact_version_*` ID | One artifact version’s text | [Download artifact content](https://platform.claude.com/docs/en/api/compliance/apps/artifacts/download) |
from line 236
236236* [List project attachments](https://platform.claude.com/docs/en/api/compliance/apps/projects/attachments/list)
237237* [Get project document content](https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/retrieve)
238238 
239Project results are sorted by creation date ascending. Attachment results are sorted by `created_at` ascending, with ties broken by `id`. Project list and attachment list responses paginate with an opaque `next_page` page token instead of the `first_id`/`last_id` cursors used by chats and the Activity Feed. Pass the token back as the `page` query parameter on the next request.
239The same endpoints also return projects in the new projects experience, in which Claude runs the work in [remote sessions](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions). See [The new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience) for how they differ.
240240 
241Project results are sorted by creation date ascending. Attachment results are sorted by `created_at` ascending, with ties broken by `id`. Project list and attachment list responses paginate with an opaque `next_page` page token instead of the `first_id`/`last_id` cursors used by chats and the Activity Feed. Pass the token back as the `page` query parameter on the next request. A page of either list can hold fewer entries than `limit`, or none, even when `has_more` is `true`. Keep paginating until `has_more` is `false`. For a project in the new projects experience, attachment results are sorted by file path instead of `created_at`.
242 
241243### Project files versus project documents
242244 
243245A project attachment has one of two shapes. The `type` field on each entry says which one.
from line 246
244246 
245247| `type` | What it holds | ID prefix | Content endpoint |
246248| ----- | ----- | ----- | ----- |
247| `project_file` | A file upload, such as a PDF, image, or spreadsheet | `claude_file_` | [Download file content](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/download) |
249| `project_file` | A file upload, such as a PDF, image, or spreadsheet | `claude_file_`, or `claude_proj_file_` in the new projects experience | [Download file content](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/download) |
248250| `project_doc` | A plain-text document (always `text/plain`). This includes a document, such as a Word file, that claude.ai converts to text when it is added to a project. | `claude_proj_doc_` | [Get project document content](https://platform.claude.com/docs/en/api/compliance/apps/projects/documents/retrieve) |
249251 
250252A consumer that walks the attachment list must branch on `type` and call the matching content endpoint for each entry. The following request lists one page of attachments; paginate by passing `next_page` back as the `page` parameter until `has_more` is `false`.
from line 283
281283}
282284```
283285 
286### The new projects experience
287 
288In the new projects experience, a project is one ongoing conversation in which Claude coordinates related work and starts a thread for each task. See [Let Claude coordinate ongoing work with Projects](https://code.claude.com/docs/en/claude-projects). A classic project bundles chats.
289 
290The project endpoints return both kinds in one list and with the same fields. `is_coordinated` says which kind a project is: `true` for a project in the new projects experience, `false` for a classic project.
291 
292A project in the new projects experience differs from a classic project as follows:
293 
294* **IDs:** Its ID starts with `chan_` instead of `claude_proj_`. Treat project IDs as opaque strings, and read `is_coordinated`, not the prefix, to tell the kinds apart. Every endpoint on this page that reads a project by ID accepts both forms.
295* **Conversations:** It holds remote sessions instead of chats. Its `chats_count` counts those sessions, up to 5,000. To retrieve them, see [List a project’s sessions](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#list-a-projects-sessions).
296* **Files:** Each save of a file gives it a new ID, and the previous ID then returns 404. That 404 does not mean the file is gone. To get the current ID, call [List project attachments](https://platform.claude.com/docs/en/api/compliance/apps/projects/attachments/list) again.
297* **Deleted projects:** When a user deletes a project in the new projects experience, the API stops returning the project and its files, and its sessions are deleted with it. See [Retention and deletion](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retention-and-deletion). A classic project that a user deletes stays listed, with `deleted_at` set.
298* **Delete requests:** [Delete project](https://platform.claude.com/docs/en/api/compliance/apps/projects/delete) and [Delete file](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/delete) cannot delete a project in the new projects experience or its files. See [Delete not run](https://platform.claude.com/docs/en/manage-claude/compliance-errors#delete-not-run).
299 
284300## Delete content
285301 
286302<Warning>
from line 303
287303 Every successful delete is permanent and immediate. There is no recovery window. A delete does not always remove all related content. See [Content that remains after a delete](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#content-that-remains-after-a-delete).
288304</Warning>
289305 
290The Compliance API exposes hard-delete endpoints for chats, files, project documents, and entire projects. A hard-deleted chat cannot be restored, and it stops appearing in list responses afterward.
306The Compliance API exposes hard-delete endpoints for chats, files, project documents, and entire projects. A hard-deleted chat cannot be restored, and it stops appearing in list responses afterward. These endpoints cannot delete a project in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience) or its files.
291307 
292308* [Delete chat](https://platform.claude.com/docs/en/api/compliance/apps/chats/delete): also deletes the chat’s messages and any files attached to those messages.
293309* [Delete file](https://platform.claude.com/docs/en/api/compliance/apps/chats/files/delete): handles both chat files and project files.

manage-claude/compliance-errors Changed · +45 / -3 lines

### Invalid project filter ### Delete not run

from line 36
3636| [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. |
3737| [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. |
3838| [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). |
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 503 whose `error.details.error_code` is `deletion_not_run` and that carries `x-should-retry: false` is not transient either. See [Delete not run](https://platform.claude.com/docs/en/manage-claude/compliance-errors#delete-not-run). 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 
from line 132
132132 
133133For the first body, resend the unmodified `next_page` value from the previous response to the endpoint and session that issued it. For an expired cursor, restart without a `page` parameter; the new walk reflects the retention boundary in effect when it starts, so messages that aged out of the retention period in the meantime are no longer returned (see [Retrieve a local session transcript](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-a-local-session-transcript)).
134134 
135### Invalid project filter
136 
137**Type:** `invalid_request_error`
138 
139```text wrap
140project_ids[] holds a value that is not a valid project id.
141```
142 
143```text wrap
144project_ids[] does not take this kind of project yet. Each session names its project in claude_project_id.
145```
146 
147```text wrap
148project_ids[] cannot be combined with user_ids[].
149```
150 
151```text wrap
152project_ids[] requires exactly one organization_ids[] value.
153```
154 
155```text wrap
156The projects in project_ids[] have too many sessions to list by project. Send fewer projects, or list without project_ids[]: each session names its project in claude_project_id.
157```
158 
159**Cause:** `GET /v1/compliance/apps/sessions/remote` was called with a `project_ids[]` filter that it cannot apply. The second body means that a value is the ID of a classic project. The filter takes only the IDs of projects in the new projects experience. The last body means that the named projects together hold more than 5,000 sessions. When the request names one project, the second sentence of that body starts with `List without project_ids[]`.
160 
161**Fix:** Follow the rules in [List a project’s sessions](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#list-a-projects-sessions). For the second body, list without the filter and match on each session’s `claude_project_id`. For the last body, do the same or send fewer projects. The list without the filter leaves out some older sessions, as that section explains.
162 
135163### Invalid file ID
136164 
137165**Type:** `invalid_request_error`
from line 172
144172Invalid claude_file_id format: 'claude_gen_file_01TbR8wAcCeFhJkLnPqStUvX'
145173```
146174 
147**Cause:** The ID in the path is not in the form the endpoint accepts. The generated-file endpoints (`/v1/compliance/apps/chats/generated-files/*`) accept only `claude_gen_file_...` IDs and return the first body for any other value. The file endpoints (`/v1/compliance/apps/chats/files/*`) accept only `claude_file_...` IDs and return the second body. The `generated_files` array on a chat message can hold both `claude_gen_file_...` and `claude_file_...` IDs.
175**Cause:** The ID in the path is not in the form the endpoint accepts. The generated-file endpoints (`/v1/compliance/apps/chats/generated-files/*`) accept only `claude_gen_file_...` IDs and return the first body for any other value. The file endpoints (`/v1/compliance/apps/chats/files/*`) accept only `claude_file_...` IDs and the `claude_proj_file_...` IDs of files in the new projects experience, and return the second body for any other value. The `generated_files` array on a chat message can hold both `claude_gen_file_...` and `claude_file_...` IDs.
148176 
149177**Fix:** Choose the endpoint by the ID’s prefix, not by the array the ID came from; see [Retrieve files and artifacts](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#retrieve-files-and-artifacts). If the prefix already matches the endpoint, the ID was truncated or altered; copy it again from the response that returned it.
150178 
from line 553
525553 
526554A 500 from the Compliance API carries an `x-should-retry: false` response header when the failure is deterministic. The Anthropic SDK honors this header automatically. If you use a generic HTTP retry library that retries on every 5xx, suppress retries when `x-should-retry` is `false`; retrying this error fails identically on every attempt.
527555 
528A 500 without the `x-should-retry: false` header is transient: retry with exponential backoff (start at 1 second, double up to 60 seconds). The same applies to 502, 503, 504, and 529 responses. The exception is a small set of local session 503s, described next, that depend on an organization’s settings or encryption key rather than on load. See [Claude API errors](https://platform.claude.com/docs/en/api/errors) for the platform-wide retry semantics.
556A 500 without the `x-should-retry: false` header is transient: retry with exponential backoff (start at 1 second, double up to 60 seconds). The same applies to 502, 503, 504, and 529 responses. The exception is a small set of local session 503s, described next, that depend on an organization’s settings or encryption key rather than on load. A 503 whose `error.details.error_code` is `deletion_not_run` and that carries `x-should-retry: false` is not transient either. See [Delete not run](https://platform.claude.com/docs/en/manage-claude/compliance-errors#delete-not-run). See [Claude API errors](https://platform.claude.com/docs/en/api/errors) for the platform-wide retry semantics.
529557 
530558### Local sessions temporarily unavailable
531559 
from line 586
558586If any of these conditions recurs across runs, contact your Anthropic representative and include the `request-id` response header. For the customer-managed key case, do this only if the error continues while that key is usable.
559587 
560588For service-wide incidents, check [status.anthropic.com](https://status.anthropic.com).
589 
590### Delete not run
591 
592**Type:** `overloaded_error`
593 
594**Error code:** `deletion_not_run`, returned in `error.details.error_code`
595 
596```text wrap
597The delete was not run, and nothing was deleted.
598```
599 
600**Cause:** `DELETE /v1/compliance/apps/projects/{project_id}` was called on a project in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience), or `DELETE /v1/compliance/apps/chats/files/{claude_file_id}` was called on one of its files. These endpoints cannot delete them.
601 
602**Fix:** Do not retry. The response carries `x-should-retry: false`, and a retry returns the same response. If you need the content deleted, contact your Anthropic representative.
561603 
562604## Next steps
563605 

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

from line 68
6868 <Accordion title="Does the Activity Feed include prompt or message content?">
6969 No. The Activity Feed records who did what and when (authentication, chat creation, file uploads, project changes, administrative actions, and similar resource events), but it does not capture the prompt text or model responses inside chats or messages.
7070 
71 To retrieve message bodies and file contents, use the chat, message, and file endpoints with a Compliance Access Key carrying `read:compliance_user_data`. The same key and scope retrieve transcripts of sessions on users’ machines (such as Cowork and Claude Code sessions) through the [local session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions), and transcripts of Cowork and Claude Tag sessions in the cloud through the [remote session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions). These endpoints serve Claude Enterprise content only; Claude Console workloads, and Claude API workloads authenticated with an API key, expose administrative and resource events through the Activity Feed but do not expose prompt text or model responses through the Compliance API. The exception is a [flagged message](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#read-a-message) that the Safety Cases API returns.
71 To retrieve message bodies and file contents, use the chat, message, and file endpoints with a Compliance Access Key carrying `read:compliance_user_data`. The same key and scope retrieve transcripts of sessions on users’ machines (such as Cowork and Claude Code sessions) through the [local session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions), and transcripts of Cowork and Claude Tag sessions in the cloud, and of sessions in the new projects experience, through the [remote session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions). These endpoints serve Claude Enterprise content only; Claude Console workloads, and Claude API workloads authenticated with an API key, expose administrative and resource events through the Activity Feed but do not expose prompt text or model responses through the Compliance API. The exception is a [flagged message](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#read-a-message) that the Safety Cases API returns.
7272 </Accordion>
7373 
7474 <Accordion title="Do sessions in Cowork, Claude Code, and other Claude apps and add-ins appear in the Compliance API?">
75 Yes. Cowork sessions in Claude Desktop that run on users’ machines, Claude Code sessions (in the terminal, in Claude Desktop, or in an IDE extension), sessions in the Claude Science desktop app, Claude for Microsoft 365 sessions (in Excel, PowerPoint, Word, and Outlook), sessions in the Claude add-ins for Google Docs, Google Sheets, and Google Slides, and chats in the Claude in Chrome browser extension are captured while users are signed in with their Claude Enterprise account and are available through the [local session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions). Cowork sessions started on claude.ai web or mobile and Claude Tag sessions started in Slack, which run in the cloud in Anthropic-managed environments or, for Claude Tag, on a self-hosted runner pool, are available through the [remote session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions). Each family has a list endpoint that returns session metadata and a messages endpoint that returns the session transcript (user prompts, assistant responses, and tool calls and results). The local family adds a third endpoint that retrieves one session’s metadata. All of these endpoints use your existing Compliance Access Key with `read:compliance_user_data`; no new key or scope is needed.
75 Yes. Cowork sessions in Claude Desktop that run on users’ machines, Claude Code sessions (in the terminal, in Claude Desktop, or in an IDE extension), sessions in the Claude Science desktop app, Claude for Microsoft 365 sessions (in Excel, PowerPoint, Word, and Outlook), sessions in the Claude add-ins for Google Docs, Google Sheets, and Google Slides, and chats in the Claude in Chrome browser extension are captured while users are signed in with their Claude Enterprise account and are available through the [local session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions). Cowork sessions started on claude.ai web or mobile and Claude Tag sessions started in Slack, which run in the cloud in Anthropic-managed environments or, for Claude Tag, on a self-hosted runner pool, are available through the [remote session endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions). So are sessions in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience). Each family has a list endpoint that returns session metadata and a messages endpoint that returns the session transcript (user prompts, assistant responses, and tool calls and results). The local family adds a third endpoint that retrieves one session’s metadata. All of these endpoints use your existing Compliance Access Key with `read:compliance_user_data`; no new key or scope is needed.
7676 
77 Local sessions are captured as their requests reach the Claude API, so nothing is installed on the device, and on-device activity that never reaches the API is not captured. Claude Code sessions authenticated with a Claude Console Developer API key, Claude Code sessions run through a third-party cloud platform (Amazon Bedrock, Google Cloud, or Microsoft Foundry), and [Claude Code cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web), which run on cloud infrastructure instead of the user’s machine, are not captured. These cloud sessions are not remote sessions, even though both run in the cloud; the remote session endpoints return Cowork and Claude Tag sessions only. Each run of a Cowork scheduled task in the cloud takes place in a remote session that has the same owner as the task. When a user creates the task in Cowork, those sessions are user-owned: `user` identifies that user, and `agent_id` and `started_by_user` are `null`. The [remote session list endpoint](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions) returns these sessions like any other Cowork session in the cloud, and the messages endpoint returns their transcripts. A `user_ids[]` filter that names that user matches these sessions. No session field marks a session as a scheduled run or carries the task’s name or schedule. Each run of a Claude Code cloud scheduled task (formerly a routine) is a Claude Code cloud session, so the session endpoints do not return it. Organizations with [HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#hipaa-readiness) enabled get local session data for Cowork and Claude Code only, stored for 30 days, and sessions for which [zero data retention (ZDR)](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#zero-data-retention-zdr-scope) is in effect are excluded.
77 Local sessions are captured as their requests reach the Claude API, so nothing is installed on the device, and on-device activity that never reaches the API is not captured. Claude Code sessions authenticated with a Claude Console Developer API key, Claude Code sessions run through a third-party cloud platform (Amazon Bedrock, Google Cloud, or Microsoft Foundry), and [Claude Code cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web), which run on cloud infrastructure instead of the user’s machine, are not captured. These cloud sessions are not remote sessions, even though both run in the cloud, unless they belong to a project in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience). The remote session endpoints return sessions from Cowork, Claude Tag, and the new projects experience only. Each run of a Cowork scheduled task in the cloud takes place in a remote session that has the same owner as the task. When a user creates the task in Cowork, those sessions are user-owned: `user` identifies that user, and `agent_id` and `started_by_user` are `null`. The [remote session list endpoint](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-remote-sessions) returns these sessions like any other Cowork session in the cloud, and the messages endpoint returns their transcripts. A `user_ids[]` filter that names that user matches these sessions. No session field marks a session as a scheduled run or carries the task’s name or schedule. Each run of a Claude Code cloud scheduled task (formerly a routine) is a Claude Code cloud session, so the session endpoints do not return it, unless it takes place in the conversation or a thread of a project in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience). Organizations with [HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#hipaa-readiness) enabled get local session data for Cowork and Claude Code only, stored for 30 days, and sessions for which [zero data retention (ZDR)](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#zero-data-retention-zdr-scope) is in effect are excluded.
7878 
79 The local and remote session endpoints are stable for Cowork, Claude Code, and Claude for Microsoft 365 sessions. Coverage of sessions in Claude Science, the Claude add-ins for Google Docs, Google Sheets, and Google Slides, Claude in Chrome, and Claude Tag is in beta.
79 The local and remote session endpoints are stable for Cowork, Claude Code, and Claude for Microsoft 365 sessions. Coverage of sessions in Claude Science, the Claude add-ins for Google Docs, Google Sheets, and Google Slides, Claude in Chrome, Claude Tag, and the new projects experience is in beta.
8080 </Accordion>
8181 
8282 <Accordion title="What do session transcripts include?">
from line 111
111111 <Accordion title="What does the Compliance API not capture?">
112112 The Compliance API has known coverage boundaries: the Activity Feed records resource events but not prompt or response text, Claude Console and Claude API workloads authenticated with an API key expose no message content apart from [flagged messages](https://platform.claude.com/docs/en/manage-claude/enterprise-frontier-safeguards/safety-cases-api#read-a-message) that the Safety Cases API returns, and content removed by your retention policy, deleted by a user in claude.ai, or hard-deleted through the Compliance API is not recoverable. For the full coverage boundaries and delivery contract, see [Delivery guarantees and completeness](https://platform.claude.com/docs/en/manage-claude/compliance-integration-patterns#delivery-guarantees-and-completeness).
113113 
114 Session transcripts have boundaries of their own. Local sessions are captured only as their requests reach the Claude API, so on-device activity that never reaches the API is not captured. Claude Code sessions authenticated with a Claude Console Developer API key, Claude Code sessions run through a third-party cloud platform (Amazon Bedrock, Google Cloud, or Microsoft Foundry), and [Claude Code cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web) (including Claude Code cloud scheduled tasks, formerly routines), which run on cloud infrastructure instead of the user’s machine, are not captured either; organizations with HIPAA readiness enabled get local session data for Cowork and Claude Code only, stored for 30 days; and sessions for which zero data retention is in effect are excluded. No session transcript, local or remote, includes thinking blocks or tool definitions. Organizations that use [customer-managed encryption keys](https://platform.claude.com/docs/en/manage-claude/cmek) receive local session transcripts as usual. While the key cannot be used, the messages endpoint returns [503 Service Unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable) instead of transcript content, and session metadata is still listed.
114 Session transcripts have boundaries of their own. Local sessions are captured only as their requests reach the Claude API, so on-device activity that never reaches the API is not captured. Claude Code sessions authenticated with a Claude Console Developer API key, Claude Code sessions run through a third-party cloud platform (Amazon Bedrock, Google Cloud, or Microsoft Foundry), and [Claude Code cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web) (including Claude Code cloud scheduled tasks, formerly routines), which run on cloud infrastructure instead of the user’s machine, are not captured either, unless the cloud session belongs to a project in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience); organizations with HIPAA readiness enabled get local session data for Cowork and Claude Code only, stored for 30 days; and sessions for which zero data retention is in effect are excluded. No session transcript, local or remote, includes thinking blocks or tool definitions. Organizations that use [customer-managed encryption keys](https://platform.claude.com/docs/en/manage-claude/cmek) receive local session transcripts as usual. While the key cannot be used, the messages endpoint returns [503 Service Unavailable](https://platform.claude.com/docs/en/manage-claude/compliance-errors#local-sessions-temporarily-unavailable) instead of transcript content, and session metadata is still listed.
115115 
116116 No Compliance API endpoint lists an organization’s Cowork scheduled tasks or Claude Code cloud scheduled tasks. The Activity Feed does not record when a user creates, edits, or deletes one. Deleting a task also deletes the sessions that its runs started. See [Limits for scheduled tasks](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#limits-for-scheduled-tasks).
117117 </Accordion>

manage-claude/compliance-sessions Changed · +52 / -7 lines

### List a project’s sessions

from line 14
1414 **Prerequisite:** None for listing sessions organization-wide. To filter the remote session list (sessions in the cloud) to specific users, you need user IDs from [List organization users](https://platform.claude.com/docs/en/manage-claude/compliance-org-data#list-organization-users); the local session list has no user filter.
1515</Check>
1616 
17The endpoints on this page expose session transcripts from your Claude Enterprise organizations to compliance reviewers. The transcripts cover the sessions your users run in Claude apps and agents (Cowork, Claude Code, Claude Science, Claude for Microsoft 365, the Claude add-ins for Google Docs, Google Sheets, and Google Slides, Claude in Chrome, and Claude Tag). Each session is a single conversation with Claude; its transcript is the sequence of user prompts, assistant responses, and tool calls and results in that conversation. The endpoints support eDiscovery (electronic discovery) exports and data loss prevention (DLP) enforcement.
17The endpoints on this page expose session transcripts from your Claude Enterprise organizations to compliance reviewers. The transcripts cover the sessions your users run in Claude apps and agents (Cowork, Claude Code, Claude Science, Claude for Microsoft 365, the Claude add-ins for Google Docs, Google Sheets, and Google Slides, Claude in Chrome, Claude Tag, and the new projects experience). Each session is a single conversation with Claude; its transcript is the sequence of user prompts, assistant responses, and tool calls and results in that conversation. The endpoints support eDiscovery (electronic discovery) exports and data loss prevention (DLP) enforcement.
1818 
1919## Endpoint families and coverage
2020 
from line 21
2121The Compliance API groups sessions into two endpoint families:
2222 
2323* **Local session endpoints** return sessions that run on users’ machines.
24* **Remote session endpoints** return sessions that run in the cloud in Anthropic-managed environments. They also return Claude Tag sessions that run on a self-hosted runner pool.
24* **Remote session endpoints** return sessions that run in the cloud in Anthropic-managed environments. They also return Claude Tag sessions that run on a self-hosted runner pool and sessions in the new projects experience, wherever they run.
2525 
2626Both families are read-only. Neither is available to Admin API keys (`sk-ant-admin01-...`): a call authenticated with one returns [403 Forbidden](https://platform.claude.com/docs/en/manage-claude/compliance-errors#403-forbidden).
2727 
from line 37
3737| Claude in Chrome (the browser extension’s built-in chat), running on the user’s machine | Local session endpoints | `claude_in_chrome` |
3838| Cowork sessions running in the cloud in Anthropic-managed environments, including sessions started on claude.ai web or mobile and cloud runs of Cowork scheduled tasks | Remote session endpoints (`/v1/compliance/apps/sessions/remote`) | `cowork_remote` |
3939| [Claude Tag](https://claude.com/docs/claude-tag/overview) sessions started in Slack, running in the cloud in Anthropic-managed environments or on a self-hosted runner pool | Remote session endpoints | `claude_tag` |
40| Sessions in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience) (a project’s conversation and its threads) | Remote session endpoints | `claude_projects` |
4041 
4142Coverage is stable for Cowork sessions (local and remote), Claude Code sessions, and Claude for Microsoft 365 sessions. It is in beta for every other product in the table.
4243 
from line 46
4546Capture of local sessions is tied to the Compliance API being enabled for your organization and applies while users are signed in with their Claude Enterprise account. The session endpoints do not return the following:
4647 
4748* Claude Code sessions authenticated with a Claude Console Developer API key, or run through a third-party cloud platform such as Amazon Bedrock, Claude Models on Google Cloud (Google managed), or Microsoft Foundry.
48* [Claude Code cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web) (including [Claude Code cloud scheduled tasks](https://code.claude.com/docs/en/routines)), which run on cloud infrastructure instead of the user’s machine. These cloud sessions are not remote sessions, even though both run in the cloud; the remote session endpoints return Cowork and Claude Tag sessions only.
49* [Claude Code cloud sessions](https://code.claude.com/docs/en/claude-code-on-the-web) (including [Claude Code cloud scheduled tasks](https://code.claude.com/docs/en/routines)), which run on cloud infrastructure instead of the user’s machine. These cloud sessions are not remote sessions, even though both run in the cloud, unless they belong to a project in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience). The remote session endpoints return sessions from Cowork, Claude Tag, and the new projects experience only.
4950* Local sessions from products other than Cowork and Claude Code in organizations with [HIPAA readiness](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#hipaa-readiness) enabled. In those organizations, the local session endpoints return Cowork and Claude Code sessions only, and captured session content is stored for 30 days.
5051* Local sessions for which [zero data retention (ZDR)](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention#zero-data-retention-zdr-scope) is in effect. These sessions are excluded from list results, and the retrieve and messages endpoints return 404 for them.
5152 
from line 58
5758| Setup | Works with your existing Compliance Access Key | Works with your existing Compliance Access Key | Admin configures an OTLP endpoint and content-capture settings |
5859| Infrastructure | Anthropic-hosted | Anthropic-hosted | You run the collector and storage |
5960| ID prefix | `clls_` | `cse_` | N/A |
60| `product_surface` values | `cowork`, `claude_code`, `claude_science`, `claude_in_chrome`, and values starting with `office_agents` | `cowork_remote`, `claude_tag` | N/A |
61| `product_surface` values | `cowork`, `claude_code`, `claude_science`, `claude_in_chrome`, and values starting with `office_agents` | `cowork_remote`, `claude_tag`, `claude_projects` | N/A |
6162| Retention | 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; held by Anthropic | No default period; see [Retention and deletion](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retention-and-deletion); held by Anthropic | Your infrastructure, your policies |
6263| User prompts and assistant responses | Yes | Yes | Yes, subject to content-capture settings |
6364| Tool inputs | Truncated to 10,000 bytes for each input by default; up to about 1 MiB on request | Truncated to 10,000 bytes for each input by default; up to about 1 MiB on request | Truncated summaries |
from line 381
380381 
381382Each run of a Cowork scheduled task in the cloud takes place in a session that has the same owner as the task. When a user creates the task in Cowork, those sessions are user-owned: `user` identifies that user, and `agent_id` and `started_by_user` are `null`. A `user_ids[]` filter that names that user matches these sessions. A run can start a new session or continue an existing one. When a run continues an existing session, that session’s `created_at` is when the session began, not when the run took place. No session field marks a session as a scheduled run or carries the task’s name or schedule.
382383 
383`claude_project_id` is the ID of the claude.ai [project](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#retrieve-projects-and-attachments) the session belongs to (prefix `claude_proj_`), or `null` when the session is not in a project.
384`claude_project_id` is the ID of the claude.ai [project](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#retrieve-projects-and-attachments) the session belongs to (prefix `claude_proj_` or, in the new projects experience, `chan_`), or `null` when the session is not in a project.
384385 
385386`status` is one of `pending`, `active`, `paused`, `archived`, or `failed`. A session is `pending` while it is being provisioned; a `pending` session has no transcript yet, and the messages endpoint returns 404 for it until provisioning completes. Sessions that have been deleted are never returned.
386387 
387`product_surface` (string or `null`) identifies the product that created the session. The endpoint currently returns sessions with one of two `product_surface` values. `cowork_remote` is for Cowork sessions in the cloud, including sessions started on claude.ai web or mobile and cloud runs of Cowork scheduled tasks. `claude_tag` is for Claude Tag sessions started in Slack.
388`product_surface` (string or `null`) identifies the product that created the session. `claude_projects` is for sessions in the new projects experience. See [List a project’s sessions](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#list-a-projects-sessions). `cowork_remote` is for Cowork sessions in the cloud, including sessions started on claude.ai web or mobile and cloud runs of Cowork scheduled tasks. `claude_tag` is for Claude Tag sessions started in Slack.
388389 
389390To retrieve a chat in the unified Claude experience, including the part that ran in the cloud, use the chat endpoints ([Get chat messages](https://platform.claude.com/docs/en/api/compliance/apps/chats/messages/list)). The remote session list also returns the sessions that such a chat continues in, as `cowork_remote`, so an export of both chats and remote sessions contains most of that work twice. Each can hold content that the other does not, so keep both records. For example, user messages in the remote session do not include attached files or long pasted text, and usually do not indicate that they exist. The chat lists them in `files`. For content that the chat does not include, see [What chat messages do not return](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#what-chat-messages-do-not-return).
390391 
from line 393
392393 **Build forward-compatible handlers.** Pass through unrecognized `status` and `product_surface` values, and ignore fields your handler does not expect, so your integration keeps working as new statuses and product surfaces ship.
393394</Note>
394395 
396### List a project’s sessions
397 
398In the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience), a project’s conversation and each of its threads run as one or more remote sessions. On each one, `product_surface` is `claude_projects` and `claude_project_id` is the project’s ID. `user` identifies the project’s owner, and `agent_id` is `null`. A thread that runs on a user’s machine can also be returned as a local session, and no field links the two.
399 
400The remote session list returns these sessions. Without a project filter, it leaves out sessions that started before the Compliance API covered these projects for your organization, so use the filter to list those. With or without the filter, the list does not return a session that started before November 12, 2026.
401 
402To list only the sessions of specific projects, pass 1–10 `project_ids[]` values. The filter takes only the IDs of projects in the new projects experience (`is_coordinated` is `true`), which you can get from [List projects](https://platform.claude.com/docs/en/api/compliance/apps/projects/list). The request must cover exactly one organization: if your key can read several, pass the project’s `organization_uuid` as the only `organization_ids[]` value. You cannot combine the filter with `user_ids[]`. The filter accepts projects that together hold up to 5,000 sessions. A request that breaks one of these rules returns a 400. See [Invalid project filter](https://platform.claude.com/docs/en/manage-claude/compliance-errors#invalid-project-filter). The following request lists one project’s sessions.
403 
404```bash cURL
405curl --fail-with-body -sS -G \
406 "https://api.anthropic.com/v1/compliance/apps/sessions/remote" \
407 -H "x-api-key: $ANTHROPIC_COMPLIANCE_ACCESS_KEY" \
408 -H "anthropic-version: 2026-10-21" \
409 --data-urlencode "organization_ids[]=91012d09-e48b-438e-a489-1bebfd8fa6f9" \
410 --data-urlencode "project_ids[]=chan_01Hq7ZkXw3Tn5vB8mRc2LdPy"
411```
412 
413```json Response
414{
415 "data": [
416 {
417 "id": "cse_01RmTvWxYzAbCdEfGhJkMnP8",
418 "organization_uuid": "91012d09-e48b-438e-a489-1bebfd8fa6f9",
419 "user": {
420 "id": "user_01WxYzAbCdEfGhJkMnPqRsTu",
421 "email_address": "[email protected]"
422 },
423 "agent_id": null,
424 "started_by_user": null,
425 "status": "active",
426 "created_at": "2026-12-01T16:20:11Z",
427 "updated_at": "2026-12-01T16:42:57Z",
428 "product_surface": "claude_projects",
429 "claude_project_id": "chan_01Hq7ZkXw3Tn5vB8mRc2LdPy"
430 }
431 ],
432 "next_page": null
433}
434```
435 
436The filter returns scheduled task runs that take place in the project conversation or a thread. It does not return runs that have a session of their own. Apart from threads on a user’s machine, it does not return sessions that one of the project’s sessions starts for a user. The project’s `chats_count` does not count them either.
437 
395438### Retrieve a remote session transcript
396439 
397440The messages endpoint returns the session’s transcript: user prompts, assistant responses, and tool calls and results. Thinking blocks and images are not included. For a coverage summary, see the [Compliance API FAQ](https://platform.claude.com/docs/en/manage-claude/compliance-faq#data-coverage-and-retention); for a table comparing remote sessions with local sessions and Cowork’s OpenTelemetry logging, see [Endpoint families and coverage](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#endpoint-families-and-coverage).
from line 515
472515 
473516Deleting a scheduled task also deletes the sessions that its runs started. See [Limits for scheduled tasks](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#limits-for-scheduled-tasks).
474517 
518When a user deletes a project in the [new projects experience](https://platform.claude.com/docs/en/manage-claude/compliance-content-data#the-new-projects-experience), the sessions of its conversation and threads are deleted with it.
519 
475520Claude Tag session transcripts also have no default retention period. They are deleted when [the channel is removed from Claude Tag](https://platform.claude.com/docs/en/manage-claude/claude-tag-api#remove-a-channel), when the channel is deleted in Slack, when the Slack workspace or Enterprise Grid is disconnected, and when the Slack app is uninstalled from a workspace. Removing the organization-wide installation from an Enterprise Grid does not delete them. Export any Claude Tag transcript you must keep before you remove a channel or disconnect a workspace.
476521 
477522The remote session endpoints do not return a session after it is deleted, and its transcript is not recoverable through the Compliance API. To learn how session retention sits alongside Anthropic’s other retention arrangements, see [API and data retention](https://platform.claude.com/docs/en/manage-claude/api-and-data-retention).
from line 525
480525 
481526The remote session list returns cloud runs of Cowork scheduled tasks, including tasks that users create in the unified Claude experience. These limits apply:
482527 
483* **Claude Code tasks:** The list does not return runs of [Claude Code cloud scheduled tasks](https://code.claude.com/docs/en/routines). A user creates one, for example, by adding a repository, a GitHub event trigger, or an API trigger in the scheduled task form.
528* **Claude Code tasks:** The list does not return runs of [Claude Code cloud scheduled tasks](https://code.claude.com/docs/en/routines), unless the run takes place in the conversation or a thread of a project in the new projects experience. See [List a project’s sessions](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#list-a-projects-sessions). A user creates one, for example, by adding a repository, a GitHub event trigger, or an API trigger in the scheduled task form.
484529* **Managing tasks:** No Compliance API endpoint lists, retrieves, or deletes scheduled tasks.
485530* **Changes to tasks:** The [Activity Feed](https://platform.claude.com/docs/en/manage-claude/compliance-activity-feed) does not record when a user creates, edits, or deletes a task.
486531* **Deleted tasks:** When a user deletes a task, the sessions that its runs started are deleted and cannot be recovered through the Compliance API. The Activity Feed does not record those deletions.

agents-and-tools/agent-skills/quickstart Changed · +2 / -2 lines

from line 39
3939 For Linux environments, download the release binary directly.
4040 
4141 ```bash
42 VERSION=2.14.0
42 VERSION=2.14.1
4343 OS=$(uname -s | tr '[:upper:]' '[:lower:]')
4444 case $(uname -m) in
4545 x86_64) ARCH=amd64 ;;
from line 114
114114 For Linux environments, download the release binary directly.
115115 
116116 ```bash
117 VERSION=2.14.0
117 VERSION=2.14.1
118118 OS=$(uname -s | tr '[:upper:]' '[:lower:]')
119119 case $(uname -m) in
120120 x86_64) ARCH=amd64 ;;

api/beta/agents/archive Changed · +2 / -0 lines

from line 125
125125 
126126 - `"efs-2026-10-01"`
127127 
128 - `"google-managed-data-controls-2026-09-01"`
129 
128130 - `"user-profiles-billing-2026-10-01"`
129131 
130132 - `"message-batches-2024-09-24"`

api/beta/agents/create Changed · +2 / -0 lines

from line 119
119119 
120120 - `"efs-2026-10-01"`
121121 
122 - `"google-managed-data-controls-2026-09-01"`
123 
122124 - `"user-profiles-billing-2026-10-01"`
123125 
124126 - `"message-batches-2024-09-24"`

api/beta/agents/list Changed · +2 / -0 lines

from line 147
147147 
148148 - `"efs-2026-10-01"`
149149 
150 - `"google-managed-data-controls-2026-09-01"`
151 
150152 - `"user-profiles-billing-2026-10-01"`
151153 
152154 - `"message-batches-2024-09-24"`

api/beta/agents/retrieve Changed · +2 / -0 lines

from line 133
133133 
134134 - `"efs-2026-10-01"`
135135 
136 - `"google-managed-data-controls-2026-09-01"`
137 
136138 - `"user-profiles-billing-2026-10-01"`
137139 
138140 - `"message-batches-2024-09-24"`

api/beta/agents/update Changed · +2 / -0 lines

from line 125
125125 
126126 - `"efs-2026-10-01"`
127127 
128 - `"google-managed-data-controls-2026-09-01"`
129 
128130 - `"user-profiles-billing-2026-10-01"`
129131 
130132 - `"message-batches-2024-09-24"`

api/beta/agents/versions Changed · +2 / -0 lines

from line 139
139139 
140140 - `"efs-2026-10-01"`
141141 
142 - `"google-managed-data-controls-2026-09-01"`
143 
142144 - `"user-profiles-billing-2026-10-01"`
143145 
144146 - `"message-batches-2024-09-24"`

api/beta/agents/versions/list Changed · +2 / -0 lines

from line 137
137137 
138138 - `"efs-2026-10-01"`
139139 
140 - `"google-managed-data-controls-2026-09-01"`
141 
140142 - `"user-profiles-billing-2026-10-01"`
141143 
142144 - `"message-batches-2024-09-24"`

api/beta/deployment_runs Changed · +4 / -0 lines

from line 177
177177 
178178 - `"efs-2026-10-01"`
179179 
180 - `"google-managed-data-controls-2026-09-01"`
181 
180182 - `"user-profiles-billing-2026-10-01"`
181183 
182184 - `"message-batches-2024-09-24"`
from line 615
613615 - `"ce-claude-code-managed-settings-2026-10-06"`
614616 
615617 - `"efs-2026-10-01"`
618 
619 - `"google-managed-data-controls-2026-09-01"`
616620 
617621 - `"user-profiles-billing-2026-10-01"`
618622 

api/beta/deployment_runs/list Changed · +2 / -0 lines

from line 175
175175 
176176 - `"efs-2026-10-01"`
177177 
178 - `"google-managed-data-controls-2026-09-01"`
179 
178180 - `"user-profiles-billing-2026-10-01"`
179181 
180182 - `"message-batches-2024-09-24"`

api/beta/deployment_runs/retrieve Changed · +2 / -0 lines

from line 125
125125 
126126 - `"efs-2026-10-01"`
127127 
128 - `"google-managed-data-controls-2026-09-01"`
129 
128130 - `"user-profiles-billing-2026-10-01"`
129131 
130132 - `"message-batches-2024-09-24"`

api/beta/deployments/archive Changed · +2 / -0 lines

from line 125
125125 
126126 - `"efs-2026-10-01"`
127127 
128 - `"google-managed-data-controls-2026-09-01"`
129 
128130 - `"user-profiles-billing-2026-10-01"`
129131 
130132 - `"message-batches-2024-09-24"`

api/beta/deployments/create Changed · +2 / -0 lines

from line 119
119119 
120120 - `"efs-2026-10-01"`
121121 
122 - `"google-managed-data-controls-2026-09-01"`
123 
122124 - `"user-profiles-billing-2026-10-01"`
123125 
124126 - `"message-batches-2024-09-24"`

api/beta/deployments/list Changed · +2 / -0 lines

from line 163
163163 
164164 - `"efs-2026-10-01"`
165165 
166 - `"google-managed-data-controls-2026-09-01"`
167 
166168 - `"user-profiles-billing-2026-10-01"`
167169 
168170 - `"message-batches-2024-09-24"`

api/beta/deployments/pause Changed · +2 / -0 lines

from line 125
125125 
126126 - `"efs-2026-10-01"`
127127 
128 - `"google-managed-data-controls-2026-09-01"`
129 
128130 - `"user-profiles-billing-2026-10-01"`
129131 
130132 - `"message-batches-2024-09-24"`

api/beta/deployments/retrieve Changed · +2 / -0 lines

from line 125
125125 
126126 - `"efs-2026-10-01"`
127127 
128 - `"google-managed-data-controls-2026-09-01"`
129 
128130 - `"user-profiles-billing-2026-10-01"`
129131 
130132 - `"message-batches-2024-09-24"`

api/beta/deployments/run Changed · +2 / -0 lines

from line 125
125125 
126126 - `"efs-2026-10-01"`
127127 
128 - `"google-managed-data-controls-2026-09-01"`
129 
128130 - `"user-profiles-billing-2026-10-01"`
129131 
130132 - `"message-batches-2024-09-24"`
Feedback