Download Code Artifact Version Content
api/compliance/code/artifacts/retrieve_version
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/code/artifacts/retrieve_version Changed · +6 / -11 lines
# Download Code Artifact Version Content ## Path parameters ## Headers ## Example ## Download Code Artifact Version Content ### Path Parameters ### Header Parameters ### Example
---- -title: Download Code Artifact Version Content -url: https://platform.claude.com/docs/en/api/compliance/code/artifacts/retrieve_version ---- +# Download Code Artifact Version Content -## Download Code Artifact Version Content +**GET** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` -**get** `/v1/compliance/apps/code/artifacts/{artifact_id}/versions/{version_id}` - Streams the content of one version of a Claude Code Artifact as the response body.
only truncation signal for encoded content. `Content-MD5` is emitted only for identity-stored content; validate against it when present. -### Path Parameters +## Path parameters - `artifact_id: string`
Opaque version identifier from the Artifact's `versions` list -### Header Parameters +## Headers - `"x-api-key": optional string` -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/compliance/apps/code/artifacts/$ARTIFACT_ID/versions/$VERSION_ID \ -H "Authorization: Bearer $ANTHROPIC_COMPLIANCE_API_KEY" ```