To enable the Compliance API, see the setup guide.
Set up the Compliance APIArtifacts
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.
Download Code Artifact Content
Streams an Artifact's current content as the response body. For a
Claude Doc, that is the Doc's text as a ZIP archive of Word files, one per
text tab, and the request must set multi_file_format=zip. For any other
Artifact, it is the latest version, as
GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}
returns it.
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.