01Run it
Replace the <placeholders> with your own values, or use the builder below.
p202 change list02What 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 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
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 change listSet flags below; the command updates as you type.
04Flags
2 flags, plus the global flags every command takes.
| Flag | What it does |
|---|---|
| --allbool | Every user's changes, not just yours (admin only) |
| --statusstring | Filter by status: staged, applying, applied, discarded, apply_interruptedstagedapplyingapplieddiscardedapply_interrupted |
05For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands change list --json. - With
AI_AGENT,CLAUDECODEor another agent variable set, output is compact JSON and errors arrive on stderr as a JSON envelope with ahint. - Exit codes: 0 ok, 1 bad input, 2 auth, 3 network, 4 server error, 5 partial failure, 6 no Pro licence on the install.
{
"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
}
]
}