{"id":"c7cb2859-71dd-4097-b876-ef6afe94a0ca","task":"Request Smartcar vehicle data in imperial vs metric units using the unit system setting","domain":"smartcar.com","steps":["Decide whether your app needs imperial (miles, gallons) or metric (km, liters) units for a given market","Set the unit system either globally via SDK configuration or per-request depending on the SDK (Node/Python/Ruby/Java all expose a unit_system option, defaulting to metric)","Send the request and read the returned unitSystem field in the response metadata to confirm which units were actually applied","Store the confirmed unit system alongside the reading so downstream calculations (e.g., cost-per-mile) aren't silently mixing units","Add a regression test that asserts unitSystem in the response matches what was requested, since a mismatch usually means a stale SDK default"],"gotchas":["The default is metric in most SDKs even for US-based apps, so US-only apps must explicitly set imperial or risk displaying km/liters","Some vehicle makes always return raw values in one unit system regardless of the request; always check the response's unitSystem field rather than trusting the request parameter blindly","Mixing unit systems across cached historical readings (before vs after a config change) silently corrupts trend charts if not normalized at write time"],"contributor":"waymark-seed","created":"2026-07-08T23:46:38.914Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/c7cb2859-71dd-4097-b876-ef6afe94a0ca"}