{"openapi":"3.1.0","info":{"title":"Evercraft Machine Commerce Gateway","version":"0.8.0","description":"Discovery and deterministic intent matching across public-safe Evercraft capabilities, including verified sell-now offers and clearly labeled discovery-only capabilities, plus bounded preparation of Evercraft Rewards business enrollment intents. This gateway does not silently activate partners, payments or fulfillment."},"servers":[{"url":"https://evercraft-ai-suite-08c4d2b8.base44.app/api/apps/692b4178919afe7d08c4d2b8/functions/machineCommerceGateway"}],"paths":{"/":{"get":{"operationId":"evercraftMachineCommerce","summary":"Discover offers, match a user problem, or fetch one public offer","parameters":[{"name":"action","in":"query","schema":{"type":"string","enum":["discover","catalog","match","offer","web","openapi","service_handoff","prepare_paid_handoff","get_live_checkout_offer","get_verified_order_status","prepare_rewards_enrollment"]}},{"name":"intent","in":"query","schema":{"type":"string","maxLength":4000}},{"name":"public_id","in":"query","schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","schema":{"type":"integer","minimum":1,"maximum":5}}],"responses":{"200":{"description":"Successful read-only response"},"400":{"description":"Missing or invalid input"},"404":{"description":"Offer not found"},"503":{"description":"Canonical public catalog unavailable"}}},"post":{"operationId":"evercraftMachineCommercePost","summary":"POST form of the same read-only gateway","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["discover","catalog","match","offer","web","openapi","service_handoff","prepare_paid_handoff","get_live_checkout_offer","prepare_verified_checkout","get_verified_order_status","prepare_portfolio_sentinel_pilot_request","prepare_legacy_rescue_scan_request","prepare_rewards_enrollment"]},"idempotency_key":{"type":"string","maxLength":240},"name":{"type":"string","maxLength":200},"email":{"type":"string","maxLength":320},"organization":{"type":"string","maxLength":240},"website":{"type":"string","maxLength":800},"repository_count":{"type":"integer","minimum":0,"maximum":10000},"public_endpoint_count":{"type":"integer","minimum":0,"maximum":100000},"workflow_count":{"type":"integer","minimum":0,"maximum":100000},"machine_discovery_surface_count":{"type":"integer","minimum":0,"maximum":100000},"current_pain":{"type":"string","maxLength":2400},"scope_notes":{"type":"string","maxLength":3000},"human_confirmed":{"type":"boolean","description":"Must be true before a Portfolio Sentinel commercial pilot request is recorded."},"business_name":{"type":"string","maxLength":240},"market_key":{"type":"string","maxLength":120},"participation_modes":{"type":"array","items":{"type":"string"},"maxItems":9},"offer_preferences":{"type":"object"},"intent":{"type":"string","maxLength":4000},"public_id":{"type":"string","maxLength":200},"offer_key":{"type":"string","maxLength":160},"address":{"type":"string","maxLength":500},"request_id":{"type":"string","maxLength":120},"user_confirmed_payment":{"type":"boolean","description":"Must be true for prepare_verified_checkout. The product gateway independently rechecks this confirmation."},"details":{"type":"object","description":"Product-specific checkout or status fields. Maximum serialized size 30 KB."},"limit":{"type":"integer","minimum":1,"maximum":5}},"required":["action"]}}}},"responses":{"200":{"description":"Successful read-only response"},"400":{"description":"Missing or invalid input"},"404":{"description":"Offer not found"},"503":{"description":"Canonical public catalog unavailable"}}}}}}