---
title: "Get an artifact version"
method: GET
path: "/api/artifacts/{artifactId}/versions/{version}"
tags: ["Artifacts"]
---

# Get an artifact version

`GET /api/artifacts/{artifactId}/versions/{version}`

## Request

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

Its files, outline, and references. Use "latest" for the newest version.

## Path parameters

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

## Response `200`

Response for status 200

- object
  - `artifactId` string, required
  - `version` integer, required
  - `title` string, required
  - `entry` string, required
  - `files` object[], required
    - `path` string, required: The file's path inside the artifact, such as figures/revenue.svg
    - `file` object, required
      - `blobId` string, required
      - `digest` string, required
      - `sizeBytes` integer, required
      - `fileName` string
      - `mediaType` string
      - `logicalPath` string
  - `outline` union, required
    - object
      - `kind` 'document', required
      - `headings` object[], required
        - `depth` integer, required
        - `text` string, required
        - `slug` string, required
    - object
      - `kind` 'sheet', required
      - `sheets` object[], required
        - `name` string, required
        - `rows` integer, required
        - `columns` string[], required
      - `charts` string[], required
    - object
      - `kind` 'slides', required
      - `slides` object[], required
        - `title` string
    - object
      - `kind` 'page', required
      - `title` string
    - object
      - `kind` 'canvas', required
      - `items` union[], required
        - union
          - object
            - `id` string, required
            - `type` 'board', required
            - `title` string
            - `file` string, required
            - `w` number, required
            - `h` number, required
          - object
            - `id` string, required
            - `type` 'section', required
            - `title` string
    - object
      - `kind` 'file', required
      - `mediaType` string, required
  - `references` object[], required
    - `address` string, required
    - `as` 'embed' | 'link', required
    - `at` string, required
    - `resolvedVersion` integer, required
  - `author` object, required
    - `type` 'user' | 'serviceAccount' | 'system', required
    - `id` string, required
  - `origin` object
    - `threadId` string, required
    - `runId` string, required
  - `createdAt` string, required

## Other responses

- `404`: Response for status 404
- `501`: Response for status 501

## Changes

- **2026-10-20** `ebeab1520daa`: 3 info
  - added the optional property `latest` to the response with the `404` status
  - added the optional property `latest` to the response with the `501` status
  - added `subschema #4, subschema #5` to the `outline` response property `anyOf` list for the response status `200`
- **2026-10-20** `2529bf887ba6`: 2 warning, 1 info
  - removed the optional property `latest` from the response with the `404` status
  - removed the optional property `latest` from the response with the `501` status
  - removed `subschema #4, subschema #5` from the `outline` response property `anyOf` list for the response status `200`
- **2026-10-20** `8df745541b3a`: 3 info
  - added the optional property `latest` to the response with the `404` status
  - added the optional property `latest` to the response with the `501` status
  - added `subschema #4, subschema #5` to the `outline` response property `anyOf` list for the response status `200`
- **2026-10-20** `8c53eb806aa9`: 2 warning, 1 info
  - removed the optional property `latest` from the response with the `404` status
  - removed the optional property `latest` from the response with the `501` status
  - removed `subschema #4, subschema #5` from the `outline` response property `anyOf` list for the response status `200`
- …earlier changes not shown

[Operation history](https://skmtc.dev/sixb-ai/apis/sixb-api/changes/api/artifacts/:artifactId/versions/:version/get.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)
