Skip to content

compozy session stop

Stop a session

571 pages in CLI Reference

On this page5

Usage

compozy session stop <id> [flags]

Examples2

  1. Request a stop without waiting for termination

    compozy session stop sess_1234
  2. Wait for the verified result or attention diagnostic

    compozy session stop sess_1234 --wait -o json

Options4

--help-h
help for stop
--keep-processes
Keep session-owned processes running (default)
--terminate-processes
Terminate session-owned background processes and terminals
--wait
Wait for verified termination or a verification failure

Inherited options3

--json
Emit JSON output
--output-ostring
Output format: human, json, jsonl, or toon (default "human")
--profilestring
Act as a profile for this command

Output Formats

The root -o, --output flag accepts these values. A renderer is supported only when this command writes that result; jsonl is for commands that emit one JSON record per line.

FormatCommand result
humanInteractive terminal rendering
jsonMachine-readable JSON rendering
jsonlOne JSON record per line when supported
toonCompact agent-readable rendering

Example:

compozy session stop <id> -o json