{"openapi":"3.1.0","info":{"title":"Pexara last-mile tape","version":"2026-09-01","description":"Assessment overlay on dealer inventory. Ask vs expected, grade, peers, city rent, representative monthly, recalls, repair horizon. Not the curve library. Pexara earns $0. No invented numbers."},"paths":{"/api/vans":{"get":{"operationId":"list_vans","summary":"Dealer lots: VIN, ask, lot, tracked lot link, public call, n in year and miles, rent vs representative monthly.","parameters":[{"name":"city","in":"query","schema":{"type":"string"}},{"name":"state","in":"query","schema":{"type":"string"}},{"name":"model","in":"query","schema":{"type":"string"}},{"name":"milesMin","in":"query","schema":{"type":"number"}},{"name":"milesMax","in":"query","schema":{"type":"number"}},{"name":"rank","in":"query","schema":{"type":"string","enum":["Best","Fair","Rich","Thin"]}}]}},"/api/vans/listing":{"get":{"operationId":"get_listing","summary":"One VIN assessment: ask vs expected, grade, peers, city rent, representative monthly, recalls, repair horizon.","parameters":[{"name":"vin","in":"query","required":true,"schema":{"type":"string"}}]}},"/api/vans/rental":{"get":{"operationId":"city_rental","summary":"Observed same-city rental row, or thin. Exact city only. No invented dollars.","parameters":[{"name":"city","in":"query","required":true,"schema":{"type":"string"}}]}},"/api/vans/buy-vs-rent":{"get":{"operationId":"buy_vs_rent","summary":"Same-city observed rent versus representative monthly at disclosed APR and age-to-term. Illustration, not a quote. Thin if that year cannot be termed or no observed rent.","parameters":[{"name":"city","in":"query","schema":{"type":"string"}},{"name":"vin","in":"query","schema":{"type":"string"}}]}},"/api/vans/rank":{"get":{"operationId":"value_rank","summary":"Public grade for a VIN: Best / Fair / Rich / Thin plus ask, expected, peers, and one-line basis.","parameters":[{"name":"vin","in":"query","required":true,"schema":{"type":"string"}}]}},"/api/vans/ask":{"post":{"operationId":"listing_ask","summary":"Listing Q&A about THIS vehicle and the finance product. No name capture. Not a van desk.","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["question"],"properties":{"vin":{"type":"string"},"question":{"type":"string"}}}}}}},"get":{"operationId":"listing_ask_get","summary":"Listing Q&A about THIS vehicle and the finance product. No name capture. Not a van desk.","parameters":[{"name":"vin","in":"query","schema":{"type":"string"}},{"name":"q","in":"query","schema":{"type":"string"}}]}},"/api/coach/invite":{"post":{"operationId":"coach_invite","summary":"Mint an access key. Send name, business, and email or phone. Pexara keeps the names.","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["name","business"],"properties":{"name":{"type":"string"},"business":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}}}}}}}},"/api/coach/ask":{"post":{"operationId":"coach_ask","summary":"Gated coach. Residual context, maintenance, tax caveats, richer rank. Invite key + token budget.","security":[{"coachKey":[]}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["question"],"properties":{"question":{"type":"string"}}}}}}}}},"components":{"securitySchemes":{"coachKey":{"type":"apiKey","in":"header","name":"X-Pexara-Coach-Key","description":"Minted access key (pxa_…). Also accepts Authorization: Bearer. Cookie pexara_coach_key works for the HTML agent."}}}}