Repository Public
1---2title: Get artifact metadata3url: https://platform.claude.com/docs/en/api/compliance/apps/artifacts/retrieve4---56# Get artifact metadata78**GET** `/v1/compliance/apps/artifacts/{artifact_version_id}`910Returns metadata for an artifact version, without the content body.1112Use the sibling `/content` endpoint to fetch the artifact text. The13`md5` and `size_bytes` fields here are computed over the UTF-814encoding of that text, so a DLP consumer can dedupe or match hashes15without downloading every artifact.1617## Path parameters1819- `artifact_version_id: string`2021 The artifact version ID (tagged ID, e.g., claude_artifact_version_abc123)2223## Headers2425- `"x-api-key": optional string`2627## Returns2829- `id: string`3031 Artifact ID e.g. 'claude_artifact_abc123'3233- `artifact_type: string or null`3435 MIME-like artifact type e.g. 'application/vnd.ant.code'3637- `claude_chat_id: string`3839 The chat this artifact belongs to4041- `created_at: string`4243 Artifact version creation timestamp4445 format: date-time4647- `md5: string`4849 Lowercase hex MD5 of the artifact content (UTF-8 encoded). Matches the `content` field returned by the sibling `/content` endpoint.5051- `size_bytes: number`5253 Size in bytes of the artifact content (UTF-8 encoded)5455- `title: string or null`5657 Artifact title5859- `version_id: string`6061 Artifact version ID e.g. 'claude_artifact_version_abc123'6263## Example6465```bash66curl https://api.anthropic.com/v1/compliance/apps/artifacts/$ARTIFACT_VERSION_ID \67 -H 'anthropic-version: 2023-06-01' \68 -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY"69```7071### Response (200)7273```json74{75 "id": "id",76 "artifact_type": "artifact_type",77 "claude_chat_id": "claude_chat_id",78 "created_at": "2019-12-27T18:11:19.117Z",79 "md5": "md5",80 "size_bytes": 0,81 "title": "title",82 "version_id": "version_id"83}84```85