---
title: create_artifact
description: Makes an artifact for the owner, private, as artifacts/<slug>.vzk and
  its settings, committed on your own draft (or the branch named), so it goes live
  with it; an invoice template goes straight to main.
sidebar:
  order: 62
---

Makes an artifact for the owner, private, as artifacts/&lt;slug&gt;.vzk and its settings, committed on your own draft (or the branch named), so it goes live with it; an invoice template goes straight to main. Typed inside `bash`, where `help create_artifact` prints the same.

```text
Usage: create_artifact SLUG TITLE KIND NOTE [options]

Makes an artifact for the owner, private, as artifacts/<slug>.vzk and
its settings, committed on your own draft (or the branch named), so
it goes live with it; an invoice template goes straight to main. One
self-contained vzk file, or for a picture a Disk file's key. A file
the compiler refuses is answered with its findings and nothing is
made. Read describe_vocabulary --topic guides --name making-artifacts first.

Options:
  --slug TEXT (required)
      Its name in the tree and its address: lowercase letters, digits, - and _.
  --title TEXT (required)
      What the owner sees it called.
  --kind chart|table|document|slides|picture|template|program (required)
      What it is, for the gallery's filters.
  --text TEXT
      The whole vzk file. Not for a picture.
  --key TEXT
      A picture's Disk file, by its key. For a picture only.
  --reads TEXT ... (give the flag again for each)
      The sources it reads, from list_artifacts.
  --mode live|frozen
      live reads its rows when opened; frozen keeps them, once it is live.
  --branch TEXT (default: the checkout's branch)
      The branch to make it on. Defaults to your own draft (`get_site`'s `draft`), made from main the first time, or inside bash to the checkout's branch.
  --note TEXT (required)
      The owner's request this change answers, in their words. It is the version's note.
  --json OBJECT
      Every argument at once, as one JSON object; --json - reads it from stdin.
```
