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

compliance-sessions changedmanage-claude/compliance-sessions

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

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

## Endpoint families and coverage ## Limits for scheduled tasks

The whole hunk

from line 5, old and new numbered
/
lines
from line 5
55---
66 
77<Note>
8 The endpoints on this page are available only to Claude Enterprise organizations. 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. The endpoints work with the same Compliance Access Key and `read:compliance_user_data` scope as the [chat, file, and project endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-content-data); no new key, scope, setting, or client update is required. See [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access).
8 The endpoints on this page are available only to Claude Enterprise organizations, and coverage of some products is in beta. See [Endpoint families and coverage](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#endpoint-families-and-coverage).
99</Note>
1010 
1111<Check>
12 **Required scope:** `read:compliance_user_data` on the Compliance Access Key.
12 **Required scope:** `read:compliance_user_data` on the Compliance Access Key. The [chat, file, and project endpoints](https://platform.claude.com/docs/en/manage-claude/compliance-content-data) use the same key and scope, so you need no new key, scope, setting, or client update. See [Set up the Compliance API](https://platform.claude.com/docs/en/manage-claude/compliance-api-access).
1313 
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>
from line 16
1616 
1717The 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.
1818 
19The Compliance API groups sessions into two endpoint families according to where they run: local session endpoints for sessions on users’ machines, and remote session endpoints for sessions that run in the cloud in Anthropic-managed environments or, for Claude Tag, on a self-hosted runner pool. Both families are read-only, and neither is available to Admin API keys (`sk-ant-admin01-...`): calls authenticated with an Admin API key return [403 Forbidden](https://platform.claude.com/docs/en/manage-claude/compliance-errors#403-forbidden).
19## Endpoint families and coverage
2020 
21The Compliance API groups sessions into two endpoint families:
22 
23* **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.
25 
26Both 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).
27 
2128The following table maps each product, and where it runs, to the endpoint family that returns its sessions and the `product_surface` value that identifies them in responses.
2229 
2330| Product and where it runs | Endpoint family | `product_surface` |
from line 38
3138| 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` |
3239| [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` |
3340 
41Coverage 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.
42 
3443`office_agents` alone does not say which app the session came from, and it can come from Claude for Microsoft 365 or the Google add-ins. See the `product_surface` description under [Sessions on users’ machines](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#retrieve-local-sessions).
3544 
3645Capture 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:
3746 
38* Claude Code sessions authenticated with a Claude Console API key, or run through a third-party cloud platform such as Amazon Bedrock, Claude Models on Google Cloud (Google managed), or Microsoft Foundry.
47* 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.
3948* [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.
4049* 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.
4150* 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.
from line 175
166175* Images, PDFs, and other binary or structured blocks are not returned. Each appears as a `text` block reading `[<block type> content not shown]` (for example, `[image content not shown]`) with `truncated` set to `true`. Non-text items inside a tool result, such as [web search](https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool) results or the output of the [code execution tool](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool), are replaced by one `[N non-text item(s) not shown]` entry, and the tool result block’s `truncated` is `true`. The matching tool call, with the search query or the code in its `input`, is still returned.
167176* Citation metadata on `text` blocks, such as the source citations on an answer that draws on web search results, is omitted. The text itself is returned, and the block carries `truncated` set to `true`.
168177 
169Project instruction files such as `CLAUDE.md` appear as ordinary user-role content. Skill content appears when the client sends it as message content and is not distinguished from other user text. 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 local sessions with remote sessions and OpenTelemetry logging, see this page’s introduction.
178Project instruction files such as `CLAUDE.md` appear as ordinary user-role content. Skill content appears when the client sends it as message content and is not distinguished from other user text. 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 local sessions with remote sessions and OpenTelemetry logging, see [Endpoint families and coverage](https://platform.claude.com/docs/en/manage-claude/compliance-sessions#endpoint-families-and-coverage).
170179 
171180```bash cURL
172181curl --fail-with-body -sS \
from line 394
385394 
386395### Retrieve a remote session transcript
387396 
388The 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 this page’s introduction.
397The 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).
389398 
390399```bash cURL
391400curl --fail-with-body -sS \
from line 470
461470 
462471Remote session transcripts (such as Cowork in the cloud) have no default retention period. Sessions in the cloud that Claude starts from a chat are deleted with the chat, including when your organization’s custom conversation retention period deletes it.
463472 
473Deleting 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).
474 
464475Claude 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.
465476 
466477The 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).
478 
479## Limits for scheduled tasks
480 
481The remote session list returns cloud runs of Cowork scheduled tasks, including tasks that users create in the unified Claude experience. These limits apply:
482 
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.
484* **Managing tasks:** No Compliance API endpoint lists, retrieves, or deletes scheduled tasks.
485* **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.
486* **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.
487 
488A user can delete a task at any time, so on a regular schedule, export the transcripts that you must keep.
467489 
468490## Next steps
469491 
Feedback