Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Artifacts

Code-Artifacts auflisten
GET/v1/compliance/apps/code/artifacts

Listet Claude Code Artifacts auf, die Organisationen unter der übergeordneten Organisation gehören.

Inhalt einer Code-Artifact-Version herunterladen
GET/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}

Streamt den Inhalt einer Version eines Claude Code-Artifacts als Antwort-Body.

Inhalt eines Code-Artifacts herunterladen
GET/v1/compliance/apps/code/artifacts/{artifact_id}/content

Streamt den aktuellen Inhalt eines Artifacts als Antwort-Body. Bei einem Claude Doc ist das der Text des Doc als ZIP-Archiv mit Word-Dateien, eine pro Text-Tab, und die Anfrage muss multi_file_format=zip setzen. Bei jedem anderen Artifact ist es die neueste Version, so wie GET /v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id} sie zurückgibt.

Code-Artifact löschen
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}

Löscht ein Code-Artifact und alle seine Versionen dauerhaft. Dies ist ein destruktiver Vorgang, der nicht rückgängig gemacht werden kann. Eine 200-Antwort bedeutet, dass die Löschung eingeleitet und das Artifact beansprucht ist; die Entfernung des Inhalts wird asynchron abgeschlossen.

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