Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Kode

KodeArtifacts

Daftar Artifact Kode
GET/v1/compliance/apps/code/artifacts

Mendaftar Artifact Claude Code yang dimiliki oleh organisasi di bawah organisasi induk.

Unduh Konten Versi Artifact Kode
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.

Unduh Konten Artifact Kode
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.

Hapus Artifact Kode
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}

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.