To enable the Compliance API, see the setup guide.
Set up the Compliance APIArtifacts
List Code Artifacts
GET/v1/compliance/apps/code/artifacts
List Claude Code Artifacts owned by organizations under the parent organization.
Download Code Artifact Version Content
GET/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}
Streams the content of one version of a Claude Code Artifact as the response body.
Delete Code Artifact
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}
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.