To enable the Compliance API, see the setup guide.
Set up the Compliance APIKode
KodeArtifacts
Daftar Artifact Kode
Mendaftar Artifact Claude Code yang dimiliki oleh organisasi di bawah organisasi induk.
Unduh Konten Versi Artifact Kode
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.
Hapus Artifact Kode
Menghapus Artifact Kode dan semua versinya secara permanen. Ini adalah operasi destruktif yang tidak dapat dibatalkan. Respons 200 berarti penghapusan telah dimulai dan Artifact telah diklaim; penghapusan konten diselesaikan secara asinkron.