01Run it
Replace the <placeholders> with your own values, or use the builder below.
p202 user prefs get <user_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 user prefs get 1 auto_cron: 0 cache_time: 0 cb_key: cb_verified: 0 chart_time_range: days facebook_ads_linked: 0 ipqs_api_key: jvzoo_ipn_secret_key: lpo_bridge_config: lpo_ctx_kw: 1 lpo_site_key: lpo_status: maxmind_isp: 0 revcontent_user_id: revcontent_user_secret: user_account_currency: USD user_auto_database_optimization_days: 0 user_cpc_or_cpv: cpc user_daily_email: 07 user_delete_data_before: user_delete_data_clickid: user_id: 1 user_keyword_searched_or_bidded: searched user_ltv_customer_cparam: 0 user_ltv_personalization_fields: user_ltv_rec_fatigue: user_ltv_score_weights: user_pref_ad_settings: show_all user_pref_adv: user_pref_aff_campaign_id: user_pref_aff_network_id: user_pref_breakdown: day user_pref_browser_id: user_pref_chart: net user_pref_cloak_referer: origin user_pref_country_id: user_pref_device_id: user_pref_dynamic_bid: 0 user_pref_group_1: user_pref_group_2: user_pref_group_3: user_pref_group_4: user_pref_ip: user_pref_isp_id: user_pref_keyword: user_pref_landing_page_id: user_pref_limit: 50 user_pref_method_of_promotion: user_pref_platform_id: user_pref_ppc_account_id: user_pref_ppc_network_id: user_pref_privacy: disabled user_pref_referer: user_pref_referer_data: browser user_pref_region_id: user_pref_show: user_pref_subid: user_pref_text_ad_id: user_pref_time_from: user_pref_time_predefined: today user_pref_time_to: user_slack_incoming_webhook: user_tracking_domain: https://track.example.com zaxaa_api_signature:
$ p202 user prefs get 1 --json { "data": { "auto_cron": 0, "cache_time": "0", "cb_key": null, "cb_verified": 0, "chart_time_range": "days", "facebook_ads_linked": 0, "ipqs_api_key": null, "jvzoo_ipn_secret_key": null, "lpo_bridge_config": null, "lpo_ctx_kw": 1, "lpo_site_key": "", "lpo_status": "", "maxmind_isp": 0, "revcontent_user_id": null, "revcontent_user_secret": null, "user_account_currency": "USD", "user_auto_database_optimization_days": 0, "user_cpc_or_cpv": "cpc", "user_daily_email": "07", "user_delete_data_before": null, "user_delete_data_clickid": null, "user_id": 1, "user_keyword_searched_or_bidded": "searched", "user_ltv_customer_cparam": 0, "user_ltv_personalization_fields": "", "user_ltv_rec_fatigue": "", "user_ltv_score_weights": "", "user_pref_ad_settings": "show_all", "user_pref_adv": null, "user_pref_aff_campaign_id": null, "user_pref_aff_network_id": null, "user_pref_breakdown": "day", "user_pref_browser_id": null, "user_pref_chart": "net", "user_pref_cloak_referer": "origin", "user_pref_country_id": null, "user_pref_device_id": null, "user_pref_dynamic_bid": 0, "user_pref_group_1": null, "user_pref_group_2": null, "user_pref_group_3": null, "user_pref_group_4": null, "user_pref_ip": null, "user_pref_isp_id": null, "user_pref_keyword": null, "user_pref_landing_page_id": null, "user_pref_limit": 50, "user_pref_method_of_promotion": null, "user_pref_platform_id": null, "user_pref_ppc_account_id": null, "user_pref_ppc_network_id": null, "user_pref_privacy": "disabled", "user_pref_referer": null, "user_pref_referer_data": "browser", "user_pref_region_id": null, "user_pref_show": null, "user_pref_subid": null, "user_pref_text_ad_id": null, "user_pref_time_from": null, "user_pref_time_predefined": "today", "user_pref_time_to": null, "user_slack_incoming_webhook": null, "user_tracking_domain": "https://track.example.com", "zaxaa_api_signature": null } }
03Build your command
Pick values and the command line writes itself, quoted and ready to paste.
p202 user prefs getSet flags below; the command updates as you type.
04For agents
Running this from an agent
- Read the same facts as JSON:
p202 commands user prefs 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.
{
"path": "p202 user prefs get",
"use": "get <user_id>",
"short": "Get user preferences",
"runnable": true
}