claude-compliance-sdk¶
Community Python SDK for the Anthropic Compliance API — the read-side of Claude Enterprise that lets compliance teams export and audit user activity, chats, files, projects, organisations, roles, and groups.
Unofficial
This is a community-maintained project. It is not produced, endorsed, or supported by Anthropic.
The full README, including quickstart and configuration, lives in the repository root: see README.md on GitHub.
What's here¶
This site is the generated API reference, built from the SDK's Google-style docstrings. Use the navigation on the left to walk the resource groups, page primitives, and error hierarchy.
- Clients —
ComplianceClientandAsyncComplianceClient. - Resources —
Activities,Organizations,Projects,Project documents,Chats,Files,Generated files,Artifacts,Roles,Groups. - Pagination —
CursorPageandOffsetPageshapes plus theiter_all_*helpers. - Errors —
ComplianceClientErrorand the typed subclasses you'll catch. - Examples — runnable scripts for common
compliance use cases (source under
examples/).
Targets¶
- Spec: tracks the hosted Anthropic Compliance API spec.
- Python: 3.11+.
- Runtime deps:
httpxonly.
License¶
GPL-3.0-or-later. See the LICENSE file.