Skip to main content

Artifacts API

Documents generated in conversations, saved as versioned artifacts.

📄️Create or update artifact

When `artifact.id` matches an existing artifact it is updated (as an unpublished draft when `draft` is true), honouring an optional `If-Match` version precondition; otherwise a new artifact is created in the application collection. `artifact.kind` is a storage-level format (for example `json` or `markdown`). Saving a JSON artifact does not create, link, validate, or publish an Agent; use the semantic `createAgent` operation to create a draft agent and its linked spec artifact.