Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

Artifacts

Список Artifacts кода
GET/v1/compliance/apps/code/artifacts

Список Artifacts Claude Code, принадлежащих организациям в составе родительской организации.

Загрузка содержимого версии Artifact кода
GET/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}

Передаёт содержимое одной версии Artifact потоком в качестве тела ответа, частями без Content-Length. При multi_file_format=zip версия, содержащая более одного файла (кроме версии Claude Doc — Artifact, у которого artifact_type равен claude_docs), возвращается в виде ZIP-архива её файлов.

Загрузка содержимого Artifact кода
GET/v1/compliance/apps/code/artifacts/{artifact_id}/content

Передаёт текущее содержимое Artifact потоком в качестве тела ответа, частями без Content-Length.

Удаление Artifact кода
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}

Безвозвратно удаляет Artifact кода и все его версии. Это деструктивная операция, которую нельзя отменить. Ответ 200 означает, что удаление инициировано и Artifact зарезервирован; удаление содержимого завершается асинхронно.

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