ktm artifacts get
Use ktm artifacts get to download screenshots, logs, or traces by URL or relative path directly from the command line.
Download an artifact by URL or relative path
Usage
ktm artifacts get [flags]
Examples
# Fetch by full URL, save to file
ktm artifacts get --url https://app.kapptivate.com/robot/path/screenshot.png --output shot.png
# Fetch by relative path
ktm artifacts get --path path/screenshot.png --output shot.png
# Text artifact to stdout
ktm artifacts get --url https://app.kapptivate.com/robot/path/trace.xml
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--max-size | int | 5242880 | Maximum artifact size in bytes |
--output | string | Output file path (required for binary artifacts) | |
--path | string | Relative artifact path (host prefix added automatically) | |
--url | string | Full artifact URL (mutually exclusive with --path) |
Details
Fetch a test artifact (screenshot, audio, log, etc.) from the platform.
Provide either --url (full URL) or --path (relative path — host prefix added automatically). Text artifacts are printed to stdout. Binary artifacts require --output to specify a file.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on