---
title: "Open a version in a frame"
method: POST
path: "/api/artifacts/{artifactId}/versions/{version}/frame"
tags: ["Artifacts"]
---

# Open a version in a frame

`POST /api/artifacts/{artifactId}/versions/{version}/frame`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `x-sixb-csrf`
  - HTTP bearer
  - HTTP bearer

A short-lived path that serves the files of a version that opens in a sandboxed frame, as slides do. It expires within an hour. A kind that does not open in a frame is refused with 409 artifact_kind_mismatch.

## Path parameters

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

## Response `200`

Response for status 200

- object
  - `path` string, required: The frame's base path on this API, ending in /; the deck's entry is served under it
  - `expiresAt` string, required: When the frame stops serving; ask for a new one before then

## Other responses

- `404`: Response for status 404
- `409`: Response for status 409
- `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 `409` status
  - added the optional property `latest` to the response with the `501` status
- **2026-10-20** `2529bf887ba6`: 3 warning
  - removed the optional property `latest` from the response with the `404` status
  - removed the optional property `latest` from the response with the `409` status
  - removed the optional property `latest` from the response with the `501` status
- **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 `409` status
  - added the optional property `latest` to the response with the `501` status
- **2026-10-20** `8c53eb806aa9`: 3 warning
  - removed the optional property `latest` from the response with the `404` status
  - removed the optional property `latest` from the response with the `409` status
  - removed the optional property `latest` from the response with the `501` status
- **2026-10-19** `cbf48fec5d17`: 3 info
  - added the optional property `latest` to the response with the `404` status
  - added the optional property `latest` to the response with the `409` status
  - added the optional property `latest` to the response with the `501` status

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