To enable the Compliance API, see the setup guide.
Set up the Compliance API코드
코드 Artifact 목록 조회
GET/v1/compliance/apps/code/artifacts
상위 조직에 속한 조직이 소유한 Claude Code Artifact를 나열합니다.
코드 Artifact 버전 콘텐츠 다운로드
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.
코드 Artifact 삭제
DELETE/v1/compliance/apps/code/artifacts/{artifact_id}
코드 Artifact와 모든 버전을 영구적으로 삭제합니다. 이는 되돌릴 수 없는 파괴적 작업입니다. 200 응답은 삭제가 시작되었고 Artifact가 확보되었음을 의미합니다. 콘텐츠 제거는 비동기적으로 완료됩니다.