To enable the Compliance API, see the setup guide.
Set up the Compliance APICompliance API
Compliance APIActivities
Query compliance activities
List compliance activities for the authenticated tenant.
Compliance APIOrganizations
Compliance APIOrganizationsUsers
List organization users
List current user members of an organization.
Compliance APIOrganizationsRoles
List Compliance Roles
Get Compliance Role
Compliance APIOrganizationsRolesPermissions
List Compliance Role Permissions
Compliance APIOrganizationsSettings
Get effective organization settings
Retrieve the effective settings for an organization.
Compliance APIGroups
List Compliance Groups
Get Compliance Group
Compliance APIGroupsMembers
List Compliance Group Members
Compliance APIAppsChats
List chats
Lists chat metadata with filtering capabilities for targeted
compliance review. Results are sorted chronologically (time ascending)
by the order_by key, with ties broken by id.
Delete chat
Permanently deletes a chat and all associated messages and files. This is a destructive operation that cannot be undone.
Compliance APIAppsChatsMessages
Get chat messages
Retrieves message history and file metadata for a specific chat.
Compliance APIAppsChatsFiles
Get file metadata
Retrieves metadata for a file referenced in chat messages, without
downloading the file content. Use the sibling /content endpoint to
download the bytes.
Delete file
Permanently deletes a specific file. This is a destructive operation that cannot be undone.
Download file content
Downloads the binary content of a file referenced in chat messages.
Compliance APIAppsChatsGenerated Files
Get Claude-generated file metadata
Returns metadata for a file the assistant created via tool use.
Download a Claude-generated file
Downloads the binary content of a file the assistant created via tool use.
Compliance APIAppsProjects
List projects
Lists project metadata with filtering capabilities. Results are sorted chronologically (time ascending) by created_at.
Get project details
Get detailed information for a specific project.
Delete project
Delete a project for compliance purposes.
Compliance APIAppsProjectsAttachments
List project attachments
List files and documents attached to a project.
Compliance APIAppsProjectsCollaborators
List project collaborators
List the users, groups, and organization-wide grants on a project.
Compliance APIAppsProjectsDocuments
Get project document content
Get detailed information for a specific project document.
Get project document metadata
Returns metadata for a project document, without the content body.
Delete project document
Delete a project document for compliance purposes.
Compliance APIAppsArtifacts
Get artifact metadata
Returns metadata for an artifact version, without the content body.
Download artifact content
Download the content of an artifact version for compliance purposes.
Compliance APIAppsSessionsLocal
List local sessions
List local sessions across the organizations the key may read.
Retrieve a local session
Retrieve one local session.
Compliance APIAppsSessionsLocalMessages
Retrieve local session messages
Read one local session's transcript, oldest-first by default.
Compliance APIAppsSessionsRemote
List remote sessions
List remote sessions (Cowork sessions that run in Anthropic-managed cloud environments) across the organizations the key may read.
Compliance APIAppsSessionsRemoteMessages
Retrieve remote session messages
Retrieve one remote session's transcript: user prompts, assistant responses, and tool calls and results. Thinking blocks and images are not included.
Compliance APICodeArtifacts
List Code Artifacts
List Claude Code Artifacts owned by organizations under the parent organization.
Download Code Artifact Version Content
Streams the content of one version of a Claude Code Artifact as the response body.
Delete Code Artifact
Permanently deletes a Code Artifact and all its versions. This is a destructive operation that cannot be undone. A 200 response means the deletion is initiated and the Artifact is claimed; content removal completes asynchronously.