Skip to main content
Uploads one or more files and prints a public HTTPS URL for each one. The content type is detected automatically from the file extension, or by inspecting the file contents when the extension is unrecognized. Uploaded files are publicly accessible at the returned URLs. Use this to share screenshots, logs, or other artifacts from an agent session.

Synopsis

Arguments

Examples

Upload a single file

Upload multiple files

One URL is printed per file, in the order the files were specified. If any file fails, the command exits immediately without uploading remaining files.

Upload with an explicit workspace

Errors