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}

Streamt den Inhalt einer Version eines Artifacts als Antwort-Body, in Chunks ohne Content-Length. Mit multi_file_format=zip wird eine Version mit mehr als einer Datei, außer der eines Claude Doc (ein Artifact, dessen artifact_type claude_docs ist), als ZIP-Archiv ihrer Dateien zurückgegeben.

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

Streamt den aktuellen Inhalt eines Artifacts als Antwort-Body, in Chunks ohne Content-Length.

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.