Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Code

CodeArtifacts

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}

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.

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.