Browsing & Downloading

These commands read from the store. With an API key you see every object within your key's prefix — public, unlisted and private alike — regardless of what anonymous visitors can see.

Listing with vela ls

vela ls [DIR/] [-l] [-r] [--visibility LIST] [--type file|symlink] [--broken] [--target PATH]

Without arguments, ls lists the root. Directories are shown with a trailing slash; naming a file instead of a directory shows that file.

$ vela ls
docs/
private/
tmp/

$ vela ls docs/ -l
          -     -                 handbook/ [hidden]
public    15 B  2026-10-13 19:06  welcome.txt

The long format (-l) shows visibility, size, modification time and title. On servers with directory policies, child directories that have a rule are annotated — here [hidden]. Symlinks are marked with l in the first column and show their target:

$ vela ls -l sorted/travel/
l  public    2.3 MiB  2026-10-31 08:57  lisbon.jpg -> originals/2026/lisbon.jpg

Recursive listings and filters

$ vela ls -r -l
public    8 B   2026-10-13 19:06  docs/guides/hello.md  Hello guide
public    15 B  2026-10-13 19:06  docs/hello.txt
private   8 B   2026-10-13 19:06  private/report.md
unlisted  8 B   2026-10-13 19:06  tmp/scratch.md

$ vela ls -r docs/ --visibility private,unlisted

-r lists every object below the directory (no directory rows). --visibility accepts a comma-separated list or can be repeated, and matches the effective visibility of symlinks. --type, --broken and --target narrow the listing to files, symlinks, broken symlinks or the symlinks of one file, and --by-tag searches by tag. The CLI follows pagination for you; the API returns up to 1000 entries per page.

A key restricted to a prefix sees a narrowed view: listing the root with a ci/ key shows only ci/. Listing an unrelated directory fails with exit code 5.

Inspecting with vela stat

$ vela stat docs/guides/hello.md
Path:         docs/guides/hello.md
URL:          https://store.example.com/docs/guides/hello.md
Visibility:   public
Size:         8 B (8 bytes)
Type:         text/markdown; charset=utf-8
Disposition:  inline
Title:        Hello guide
Description:  -
Tags:         intro
Created:      2026-10-13 19:06
Updated:      2026-10-13 19:06
Expires:      never
Revision:     1
SHA-256:      90f8ec5669cd34183b9b0fdf8b94f5efb4c3672876330f4aa76088c2b4ad17be
ID:           01m4tscd50ry5wfktp4mx4r7c4

An object whose expires_at has passed is still shown — marked as expired — until the janitor moves it to the trash. vela meta PATH without flags prints the same information. For a symlink, stat describes the symlink itself and adds its target and effective visibility; for a file with symlinks, it lists them (see Symlinks).

Downloading with vela get

vela get REMOTE [LOCAL] [-r] [--force]
vela get docs/math/q1.pdf               # into the current directory as q1.pdf
vela get docs/math/q1.pdf ~/Downloads/  # into a directory
vela get docs/math/q1.pdf answer.pdf    # under a new name
vela get docs/math/q1.pdf - | less      # to stdout
vela get -r docs/math/ ./math           # a whole directory
  • Safe by default. Existing local files are never overwritten without --force — not even one that appears while the download runs:
    $ vela get docs/handbook/hello.md out.md
    vela: local file exists: out.md
      hint: use --force to overwrite
  • Verified. Content is written to a temporary file, checked against the object's SHA-256 and only then moved into place.
  • Contained. With -r, nothing is written outside LOCAL, even through symlinks inside it.
  • Symlinks download the content of their file under their own name; get -r skips broken ones with a warning and exits with code 7.
  • By tag. vela get --by-tag q1 docs/ ./q1 downloads every match below docs/, keeping its relative path.
  • Progress. Files over 1 MiB show a progress bar on a terminal.
  • Downloads are retried on network errors and 5xx responses.

Printing with vela cat

vela cat configs/app.toml
vela cat logs/today.log | grep ERROR

cat REMOTE is equivalent to get REMOTE -.

URLs: vela url and vela open

vela url prints the public URL of an object or a directory index; vela open opens it in your browser (xdg-open, open or start).

$ vela url docs/handbook/hello.md
https://store.example.com/docs/handbook/hello.md

$ vela url docs/
https://store.example.com/docs/

$ vela url private/report.md
vela: private/report.md is private and has no public URL
  hint: create a temporary link with: vela share private/report.md

For directories on servers with directory policies, url and open resolve whether an anonymous visitor can actually see the index, and explain when it is disabled or empty instead of handing you a URL that would 404. Use vela dir show DIR/ for the full picture.

A file's URL changes when you move it. For a link that survives renames, use vela share.

What anonymous visitors see

Your CLI view and the public view differ on purpose. To see what the world sees, use the browser or curl without a key:

curl -sI https://store.example.com/private/report.md    # 404
curl -s  'https://store.example.com/docs/?format=json'  # the public index as JSON

See Public Routes & Delivery for the full set of public URLs and headers.