01Run it
Replace the <placeholders> with your own values, or use the builder below.
p202 conversion get <id>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 conversion get 31 aff_campaign_name: Bakery Pre-orders / Local campaign_id: 6 click_id: 760 click_payout: 63 click_time: 1792067092 conv_id: 31 conv_time: 1792069812 deleted: 0 event_name: goal_id: goal_version: payable: true reverses_conv_id: source: api source_ref: apikey:3abe706c5f6a009c superseded_by: superseded_reason: transaction_id: ord-20031 user_id: 1
$ p202 conversion get 31 --json { "data": { "aff_campaign_name": "Bakery Pre-orders / Local", "campaign_id": 6, "click_id": 760, "click_payout": 63, "click_time": 1792067092, "conv_id": 31, "conv_time": 1792069812, "deleted": 0, "event_name": null, "goal_id": null, "goal_version": null, "payable": true, "reverses_conv_id": null, "source": "api", "source_ref": "apikey:3abe706c5f6a009c", "superseded_by": null, "superseded_reason": null, "transaction_id": "ord-20031", "user_id": 1 } }
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 conversion getSet flags below; the command updates as you type.
04For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands conversion get --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 conversion get",
"use": "get <id>",
"short": "Get a conversion by ID",
"runnable": true
}