To enable the Compliance API, see the setup guide.
Set up the Compliance APIArtifacts
Code Artifact の一覧取得
GET/v1/compliance/apps/code/artifacts
親組織配下の組織が所有する Claude Code Artifact を一覧表示します。
Code Artifact バージョンコンテンツのダウンロード
GET/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}
Streams the content of one version of an Artifact as the response body, in chunks with no Content-Length. With multi_file_format=zip, a version with more than one file, other than a Claude Doc's or a Claude Sheet's (an Artifact whose artifact_type is claude_docs or claude_sheets), comes back as a ZIP archive of its files.
Code Artifact コンテンツのダウンロード
GET/v1/compliance/apps/code/artifacts/{artifact_id}/content
Streams an Artifact's current content as the response body, in chunks with no Content-Length.
Code Artifact の削除
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}
Code Artifact とそのすべてのバージョンを完全に削除します。これは元に戻すことができない破壊的な操作です。200 レスポンスは、削除が開始され Artifact が確保されたことを意味します。コンテンツの削除は非同期で完了します。