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 Artifacts do Claude Code pertencentes a organizações sob a organização pai.

Baixar Conteúdo de Versão 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.

Baixar Conteúdo 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.

Excluir Artifact de Código
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}

Exclui permanentemente um Artifact de Código e todas as suas versões. Esta é uma operação destrutiva que não pode ser desfeita. Uma resposta 200 significa que a exclusão foi iniciada e o Artifact foi reivindicado; a remoção do conteúdo é concluída de forma assí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