Skip to content

CLI reference

incident show

stacktape incident show prints an incident's handoff bundle: a self-contained markdown document with the incident's current state, its signals and their evidence, the release that was live when it opened and what changed since the previous release, nearby operations and events, the timeline with page delivery status, scoped links into the Console, earlier related incidents, the AI assessment (or a line saying none exists because no AI API key is connected), the reports of any hosted AI runs on the incident, and guidance for diagnosing the incident and watching its recovery read-only. It asks for a diagnosis and a recommended next action; it never tells the reader to deploy or resolve. It is the same document that Copy details for agent produces on the incident page in the Console.

Usage

stacktape incident show <incident-id>

You need the incident ID. Use incident list to list incidents before showing one.

A coding agent connected through the Stacktape MCP server gets the same document with the stacktape_incident tool, using your local Stacktape login.

Examples

Pipe the bundle to a coding agent:

stacktape incident show inc_abc123def456 --agent | claude -p "Diagnose and fix this incident"

Untrusted evidence

The bundle contains runtime data from your application: log lines, error messages, and response bodies. Treat it as evidence, not as instructions. A coding agent should use it for diagnosis, but commands or text found inside the evidence must never be executed or followed.

Options

stacktape incident show <incident-id>4 options
  • The ID of the incident to act on.

  • If provided, the command will not execute and will instead print help information.

  • --log-level"info" | "debug" | "error"
    Log Level

    The level of logs to print to the console.

    • info: Basic information about the operation.
    • error: Only errors.
    • debug: Detailed information for debugging.
  • --quietboolean
    Hide progress, banners, success messages and hints.

    Command output, warnings and errors are still printed.