{"openapi":"3.1.0","info":{"title":"Pizza Ex Machina API","version":"1.0.0","description":"Order real pizza over HTTP. No API keys: orders are authorized and paid per purchase through the ZeroClick agent storefront (https://agents.pizzaexmachina.com). Quotes (dryRun) are free. Menu prices include delivery, tip, and tax. Human-facing site: https://pizzaexmachina.com"},"servers":[{"url":"https://api.pizzaexmachina.com"}],"paths":{"/v1/menu":{"get":{"summary":"The menu: skus, prices, builds","responses":{"200":{"description":"Menu items."}}}},"/v1/stores":{"get":{"summary":"Kitchens that can deliver to an address","parameters":[{"name":"street","in":"query","required":true,"schema":{"type":"string"}},{"name":"city","in":"query","required":true,"schema":{"type":"string"}},{"name":"region","in":"query","required":true,"schema":{"type":"string"}},{"name":"postalCode","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Nearby kitchens with storeIds."}}}},"/v1/orders/track":{"get":{"summary":"Live tracker for a placed order (prep, bake, delivery)","parameters":[{"name":"phone","in":"query","required":true,"schema":{"type":"string"},"description":"The customer phone number the order was placed with."}],"responses":{"200":{"description":"Tracker stages with timestamps."},"404":{"description":"No trackable orders for that phone."}}}},"/v1/orders":{"post":{"summary":"Quote (dryRun) or place a pizza order","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["storeId","customer","address","items"],"properties":{"storeId":{"type":"string"},"customer":{"type":"object","required":["firstName","lastName","email","phone"],"properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"}}},"address":{"type":"object","required":["street","city","region","postalCode"],"properties":{"street":{"type":"string"},"city":{"type":"string"},"region":{"type":"string"},"postalCode":{"type":"string"},"deliveryInstructions":{"type":"string"}}},"items":{"type":"array","items":{"type":"object","required":["sku"],"properties":{"sku":{"type":"string","enum":["turing_complete","pepperoni_ex_machina","halting_problem","local_minimum","hallucination","chain_of_thought","infinite_loop","black_box","liquid_cooling","auxiliary_cooling"]},"quantity":{"type":"integer","minimum":1}}}},"dryRun":{"type":"boolean"}}}}}},"responses":{"200":{"description":"Order quoted or placed."},"401":{"description":"Not authorized through ZeroClick; purchase via the agent storefront at https://agents.pizzaexmachina.com."},"409":{"description":"Kitchen cannot serve this order."}}}}}}