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
Headers
下载 Artifact 内容
cURL
curl https://api.anthropic.com/v1/compliance/apps/artifacts/$ARTIFACT_VERSION_ID/content \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"