Response (200)
{
"id": "id",
"type": "claude_project_document_deleted"
}Compliance API › Apps › Artifacts
Get artifact metadata
GET /v1/compliance/apps/artifacts/\{artifact_version_id\}
Returns metadata for an artifact version, without the content body.
Use the sibling /content endpoint to fetch the artifact text. The md5 and size_bytes fields here are computed over the UTF-8 encoding of that text, so a DLP consumer can dedupe or match hashes without downloading every artifact.
Path parameters
artifact_version_id: stringThe artifact version ID (tagged ID, e.g., claude_artifact_version_abc123)
Headers
"anthropic-version": optional stringThe version of the Claude API you want to use.
Read more about versioning and our version history here.
"x-api-key": optional string
Returns
id: stringArtifact ID e.g. 'claude_artifact_abc123'
artifact_type: string or nullMIME-like artifact type e.g. 'application/vnd.ant.code'
claude_chat_id: stringThe chat this artifact belongs to
created_at: stringArtifact version creation timestamp
format: date-time
md5: stringLowercase hex MD5 of the artifact content (UTF-8 encoded). Matches the
contentfield returned by the sibling/contentendpoint.size_bytes: numberSize in bytes of the artifact content (UTF-8 encoded)
title: string or nullArtifact title
version_id: stringArtifact version ID e.g. 'claude_artifact_version_abc123'
Example
curl https://api.anthropic.com/v1/compliance/apps/artifacts/$ARTIFACT_VERSION_ID \
-H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"