Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Código

CódigoArtifacts

Listar Artifacts de código
GET/v1/compliance/apps/code/artifacts

Lista los Artifacts de Claude Code que pertenecen a organizaciones bajo la organización principal.

Descargar contenido de versión de Artifact de código
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.

Descargar contenido de Artifact de código
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.

Eliminar Artifact de código
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}

Elimina permanentemente un Artifact de código y todas sus versiones. Esta es una operación destructiva que no se puede deshacer. Una respuesta 200 significa que la eliminación se ha iniciado y el Artifact está reclamado; la eliminación del contenido se completa de forma asíncrona.