Skip to main content
Manage files — inputs you hand to a session, and outputs an agent publishes with 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

A --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

The API fetches the URL itself — nothing is read from your machine — and stores a 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 no vetta session files command. List a session’s files by filtering this group:
Deleting a session removes files that were never published from its sandbox. Publish anything you need to keep first — see Files.