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}
Streams the content of one version of a Claude Code Artifact as the response body.
Download Code Artifact Content
GET/v1/compliance/apps/code/artifacts/{artifact_id}/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.
Code Artifact の削除
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}
Code Artifact とそのすべてのバージョンを完全に削除します。これは元に戻すことができない破壊的な操作です。200 レスポンスは、削除が開始され Artifact が確保されたことを意味します。コンテンツの削除は非同期で完了します。