Get artifact metadata
api/compliance/apps/artifacts/retrieve
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/compliance/apps/artifacts/retrieve Changed · +10 / -13 lines
# Get artifact metadata ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Get artifact metadata ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Get artifact metadata -url: https://platform.claude.com/docs/en/api/compliance/apps/artifacts/retrieve ---- +# Get artifact metadata -## Get artifact metadata +**GET** `/v1/compliance/apps/artifacts/{artifact_version_id}` -**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
encoding of that text, so a DLP consumer can dedupe or match hashes without downloading every artifact. -### Path Parameters +## Path parameters - `artifact_version_id: string` The artifact version ID (tagged ID, e.g., claude_artifact_version_abc123) -### Header Parameters +## Headers - `"x-api-key": optional string` -### Returns +## Returns - `id: string`
Artifact version creation timestamp + format: date-time + - `md5: string` Lowercase hex MD5 of the artifact content (UTF-8 encoded). Matches the `content` field returned by the sibling `/content` endpoint.
Artifact version ID e.g. 'claude_artifact_version_abc123' -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/compliance/apps/artifacts/$ARTIFACT_VERSION_ID \ -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY" ``` -#### Response +### Response (200) ```json {