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. Each upload is stored under the calling agent and recorded as one of its artifacts, so it appears with the agent’s outputs on the dashboard. Use this to share screenshots, logs, or other artifacts from an agent session. Every upload gets a fresh URL, even for the same file.

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