Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Artifacts

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 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.

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.

Models
ArtifactListResponse object{ id, artifact_type, organization_uuid, 6 more }

An Artifact: a site published from Claude Code, or a document made from one of Anthropic's built-in Artifact types (Claude Docs, Slides, Design, …). artifact_type says which.

ArtifactDeleteResponse object{ type: "code_artifact_deleted", id }

Response for deleting a Code Artifact.

type: "code_artifact_deleted"

Constant string confirming deletion

defaultcode_artifact_deleted
id: string

The ID of the Artifact that was deleted