Skip to main content

crusoe diagnostics vm latest

Get the latest completed diagnostic (bug report) for a VM.

Use this command when you don't have the diagnostic ID on hand — for example, to find the most recent report generated from the Console, or to attach the newest report to a support ticket.

Usage

crusoe diagnostics vm latest <vm-name/id> [flags]

Flags

FlagDescription
-f, --format stringOutput format. Supported formats: pretty, json (default: "pretty")
-h, --helpHelp for latest
--jsonOutput in json format. Shorthand for --format json
--project-id stringProject ID. Optional if Project Name is set in CRUSOE_DEFAULT_PROJECT env variable or the config file
--project-name stringProject Name. Optional if set in CRUSOE_DEFAULT_PROJECT env variable or the config file

Examples

Get the most recent completed diagnostic for a VM:

crusoe diagnostics vm latest np-9addff51-1
Diagnostic ID: 4d96bc56-d3ea-4314-8aee-35373bbd9798
Created At: 2026-09-01T20:50:30Z
Updated At: 2026-09-01T20:50:58Z

If the VM has no completed diagnostic, the command reports No completed diagnostic found for this VM.

What's Next