---
title: "Head a file of an artifact version"
method: HEAD
path: "/api/artifacts/{artifactId}/versions/{version}/content"
tags: ["Artifacts"]
---

# Head a file of an artifact version

`HEAD /api/artifacts/{artifactId}/versions/{version}/content`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `artifactId` string, required
- `version` string, required: A version number, or "latest"

## Query parameters

- `path` string, required
- `disposition` 'inline' | 'attachment'
- `v` string: Client cache key; the route still resolves the current file

## Response `200`

File content headers

## Other responses

- `206`: Partial file content headers
- `304`: File representation is unchanged; reuse the privately cached content
- `400`: Response for status 400
- `404`: Response for status 404
- `416`: Requested byte range is not satisfiable
- `501`: The storage role backing this content is not configured

## Changes

- **2026-10-17** `1e3643be33d6`: 1 info
  - endpoint added
- **2026-10-14** `59a844bdcb75`: 1 breaking
  - api path removed without deprecation
- **2026-10-12** `25ac51b05541`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sixb-ai/apis/sixb-api/changes/api/artifacts/:artifactId/versions/:version/content/head.md)

---

[API](https://skmtc.dev/sixb-ai/apis/sixb-api.md) - [All operations](https://skmtc.dev/sixb-ai/apis/sixb-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sixb-ai/apis/sixb-api/revisions/a227d682eaa2?raw)
