publish_file. Files are org-scoped objects with a fil_ id.
The group is
file, singular — matching agent, session, and webhook. The delete verb is rm. Unknown commands are a hard error, so vetta files delete exits 2 rather than deleting anything.Commands
upload
list
--kind or --source outside its list exits 2 before any request is sent. sha256 is the content hash, so you can verify a download without a second request.
update
Only the flags you pass change. The bytes, name and scope never do.
import
published file with source.type: "url_import". Only public http(s) URLs are accepted, up to 25 MiB. The CLI sends an Idempotency-Key so a retried command returns the same file.
download
download writes the contents to stdout; there is no --out flag. Redirect it:
publish & rm
show, download, publish, and rm take the file id as a positional argument and accept no flags.
What a run produced
There is novetta session files command. List a session’s files by filtering this group: