For AI agents: the complete documentation index is at https://buddy.works/llms.txt
$bdy artifact publish|pub [options] <identifier> <directory>
Upload a directory as a new version of a file artifact Required scopes: ARTIFACT_WRITE
ARGUMENTSidentifier
Human-readable ID of the artifact and optionally version: artifact:version or artifact@version (optional)directory
Path to the directory or file which will be published (required) OPTIONS--context <name>
Connection and scope context: default, git, link or a saved name. Overrides the globally active context for this invocation.--examples
Show only examples; with this flag --format accepts text, json or jsonl--verbose
Show REST API requests, responses, timing and retries on stderr-w, --workspace <domain>
Workspace URL handle. Can be set via variable: BUDDY_WORKSPACE--scope <scope>
Force scope (WORKSPACE, PROJECT). By default calculated by provided options and environmental variables (--project, BUDDY_PROJECT, linked project)-p, --project <name>
Project name. Can be set via variable: BUDDY_PROJECT-c, --create
Create artifact if not exists--note <note>
Note of the artifact version--agent-note <note>
Note of the artifact version for AI agents; stored as agent_note and meant to be read before acting on the resource-f, --force
Allow overwriting existing version--format <text|json>
Output format: json, text. JSON CLI errors: {error:{code,message,hint}}, exit 1. Default: text (choices: "text", "json")-h, --help
display help for command Documentation for bdy v1.25.34
Last modified on Nov 3, 2026
Publish new version of file artifact bdy art pub artifact-identifier:version /path/to/dir$
bdy art pub artifact-identifier /path/to/dir$
bdy art pub artifact-identifier --create$
Overwrite existing version bdy art pub artifact-identifier:version /path/to/dir -f$
Return the result as JSON bdy artifact publish my-artifact:1.0 ./dist --format json$