Back
AnthropicClaude API
The Compliance API now returns transcripts of Cowork and Claude Code sessions that run on your users'…
AI summary
Written by AI from the official notes. Check them for exact details.The Compliance API now provides transcripts for Cowork and Claude Code sessions for Claude Enterprise organizations.
- Transcripts available for Cowork and Claude Code sessions in beta.
- New API endpoints for listing and retrieving session data.
anthropic-workspace-idheader added for workspace identification.
Why it matters: Claude Enterprise organizations should utilize these features for compliance and session tracking.
Full release notes2 changes
- The Compliance API now returns transcripts of Cowork and Claude Code sessions that run on your users' machines, in beta for Claude Enterprise organizations.
GET /v1/compliance/apps/sessions/locallists sessions across your organization,GET /v1/compliance/apps/sessions/local/{session_id}retrieves one session's metadata, andGET /v1/compliance/apps/sessions/local/{session_id}/messagesreturns its transcript, all with your existing Compliance Access Key and theread:compliance_user_datascope. See Sessions on users' machines. - We've added the
anthropic-workspace-idresponse header to the Claude API. It carries thewrkspc_-prefixed ID of the workspace that the request's API key or access token resolved to, including your organization's Default Workspace. See Identify the workspace behind an API response.