p202 change list

List staged changes (yours; --all for every user's, admin only)

All commands

01Run it

Replace the <placeholders> with your own values, or use the builder below.

p202 change list

02What you get

Captured from the real binary, run against a demo store with 30 days of traffic. Switch tabs to see the same run as JSON, the shape scripts and agents parse.

p202 change list --status applied
$ p202 change list --status applied
status   applied_at                 applied_by  applying_since  change_id                     created_at                 created_at_epoch  created_by  discarded_at  discarded_by  expired  expires_at_epoch  last_error  method  path          payload                        preview  resource_area  summary
-------  -------------------------  ----------  --------------  ----------------------------  -------------------------  ----------------  ----------  ------------  ------------  -------  ----------------  ----------  ------  ------------  -----------------------------  -------  -------------  ----------------
applied  2026-10-21T22:38:32+00:00  1           1792622312      chg_ad5618df332f3a45cf8bb56d  2026-10-21T22:38:32+00:00  1792622312        1                                       false    1792708712                    PUT     /campaigns/4  {"aff_campaign_payout":"360"}           campaigns      PUT /campaigns/4
Real output · p202 1.9.78 · demo dataexit 0

03Build your command

Pick values and the command line writes itself, quoted and ready to paste.

p202 change list

Set flags below; the command updates as you type.

04Flags

2 flags, plus the global flags every command takes.

FlagWhat it does
--allboolEvery user's changes, not just yours (admin only)
--statusstringFilter by status: staged, applying, applied, discarded, apply_interrupted
stagedapplyingapplieddiscardedapply_interrupted

05For agents

Running this from an agent

  • Read the same facts as JSON: p202 commands change list --json.
  • With AI_AGENT, CLAUDECODE or another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with a hint.
  • Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure, 6 no Pro licence on the install.
p202 commands change list --json
{
  "path": "p202 change list",
  "use": "list",
  "short": "List staged changes (yours; --all for every user's, admin only)",
  "runnable": true,
  "flags": [
    {
      "name": "all",
      "type": "bool",
      "default": "false",
      "usage": "Every user's changes, not just yours (admin only)",
      "required": false
    },
    {
      "name": "status",
      "type": "string",
      "default": "",
      "usage": "Filter by status: staged, applying, applied, discarded, apply_interrupted",
      "allowed_values": [
        "staged",
        "applying",
        "applied",
        "discarded",
        "apply_interrupted"
      ],
      "required": false
    }
  ]
}