Skip to content

compozy session reorder

Pin a manual session order in a folder or the workspace root

564 pages in CLI Reference

On this page6

Usage

compozy session reorder <id>... [flags]

Examples2

  1. Order two sessions at the top of the workspace root

    compozy session reorder sess_b sess_a
  2. Order sessions inside a folder

    compozy session reorder sess_c sess_a --folder sfold-1234

Options3

--folderstring
Folder ID (omit for the workspace root)
--help-h
help for reorder
--workspacestring
Workspace ID, name, or path (defaults to the current directory)

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

Synopsis

Pin the listed sessions, in order, at the top of one folder (or the workspace root). Sessions already there but not listed keep their order after them. List sessions with --sort manual to see this order.

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 reorder <id>... -o json