> ## Documentation Index
> Fetch the complete documentation index at: https://platform.atlan.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create an artifact

> Create one artifact with metadata and optional content.

# `registry__create_artifact`

Create one artifact of a registered kind.

* Inputs: required `kind` and `metadata`. Metadata must include `name` and
  `workspace_id`. Optional `body` sends text content; `body_base64` sends bytes.
  The two content inputs are mutually exclusive.
* Returns: the created artifact, including its new ID.
* Effect: writes state and runs the kind's create hooks. Confirm the kind,
  workspace, metadata, and content before calling it.

Use `registry__list_containers` to find a workspace handle and
`registry__list_kinds` to confirm the kind. Use `registry__create_artifacts` for
a batch.
