To enable the Compliance API, see the setup guide.
Set up the Compliance APIコード
コードArtifacts
Code Artifact の一覧取得
GET/v1/compliance/apps/code/artifacts
親組織配下の組織が所有する Claude Code Artifact を一覧表示します。
Code Artifact バージョンコンテンツのダウンロード
GET/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}
Artifact の 1 つのバージョンのコンテンツを、Content-Length なしのチャンクでレスポンス本文としてストリーミングします。multi_file_format=zip を指定すると、複数のファイルを持つバージョンは、Claude Doc(artifact_type が claude_docs である Artifact)のものを除き、そのファイルの ZIP アーカイブとして返されます。
Code Artifact コンテンツのダウンロード
GET/v1/compliance/apps/code/artifacts/{artifact_id}/content
Artifact の現在のコンテンツを、Content-Length なしのチャンクでレスポンス本文としてストリーミングします。
Code Artifact の削除
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}
Code Artifact とそのすべてのバージョンを完全に削除します。これは元に戻すことができない破壊的な操作です。200 レスポンスは、削除が開始され Artifact が確保されたことを意味します。コンテンツの削除は非同期で完了します。