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

FlagTypeDefaultDescription
--max-sizeint5242880Maximum artifact size in bytes
--outputstringOutput file path (required for binary artifacts)
--pathstringRelative artifact path (host prefix added automatically)
--urlstringFull 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.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on