Claude Platform Docs

To enable the Compliance API, see the setup guide.

Set up the Compliance API

下載 Artifact 內容

GET/v1/compliance/apps/artifacts/{artifact_version_id}/content

基於合規目的下載 Artifact 版本的內容。

傳回該 Artifact 版本的完整文字內容。

Path parameters
artifact_version_id: string

The artifact version ID (tagged ID, e.g., claude_artifact_version_abc123)

Headers
"x-api-key": optional string
下載 Artifact 內容
cURL
curl https://api.anthropic.com/v1/compliance/apps/artifacts/$ARTIFACT_VERSION_ID/content \
    -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"