{"endpoint":"/api/kyb/winloss","method":"POST","description":"Win/Loss Deal Analysis — post-deal retrospective with personality-driven insights","price":"$2.00 via x402 (USDC on Base or Solana)","product":"KYB (Know Your Buyer)","modes":{"precision":"Include kyh_profile for personality-precision analysis (Mode 1)","inferred":"Without kyh_profile, use partial_data or buyer_description for directional estimates (Mode 2)"},"input":{"product":"Required — what you were selling","outcome":"Required — won, lost, or stalled","conversation_summary":"Required — overview of the sales interaction","deal_value":"Optional — deal value","sales_cycle_days":"Optional — length of sales cycle","key_moments":"Optional — notable moments in the deal","competitor_lost_to":"Optional — if lost, to whom","kyh_profile":"Optional — full KYH personality portrait","partial_data":"Optional — partial personality data","buyer_description":"Optional — text description of the buyer"},"output":"analysis (what_worked/failed/missed) + personality_fit + turning_points + buyer_type_insights + recommended_adjustments + reengagement_strategy"}