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
$ p202 change list
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
-------  -------------------------  ----------  --------------  ----------------------------  -------------------------  ----------------  ----------  ------------  ------------  -------  ----------------  ----------  ------  ------------  -----------------------------  -------  -------------  ----------------
staged                                                          chg_dacefda211330cfd7372bf7b  2026-10-09T10:01:42+00:00  1791540102        1                                       false    1791626502                    PUT     /campaigns/4  {"aff_campaign_payout":"360"}           campaigns      PUT /campaigns/4
applied  2026-10-09T10:01:42+00:00  1           1791540102      chg_7c0dcc8788fde1cddbcb1341  2026-10-09T10:01:42+00:00  1791540102        1                                       false    1791626502                    PUT     /campaigns/4  {"aff_campaign_payout":"360"}           campaigns      PUT /campaigns/4
staged                                                          chg_0604281c44ab096c06089eae  2026-10-09T09:55:03+00:00  1791539703        1                                       false    1791626103                    PUT     /campaigns/4  {"aff_campaign_payout":"360"}           campaigns      PUT /campaigns/4
staged                                                          chg_d1fdf41bc0a19fdf0d2a019e  2026-10-09T09:55:03+00:00  1791539703        1                                       false    1791626103                    PUT     /campaigns/4  {"aff_campaign_payout":"360"}           campaigns      PUT /campaigns/4
Real output · p202 1.9.77 · demo dataexit 0
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-09T10:03:19+00:00  1           1791540199      chg_cd4a4cbac4dacbe0a75c049b  2026-10-09T10:03:19+00:00  1791540199        1                                       false    1791626599                    PUT     /campaigns/4  {"aff_campaign_payout":"360"}           campaigns      PUT /campaigns/4
applied  2026-10-09T10:01:42+00:00  1           1791540102      chg_7c0dcc8788fde1cddbcb1341  2026-10-09T10:01:42+00:00  1791540102        1                                       false    1791626502                    PUT     /campaigns/4  {"aff_campaign_payout":"360"}           campaigns      PUT /campaigns/4
Real output · p202 1.9.77 · 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.
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
    }
  ]
}