{"openapi":"3.1.0","info":{"title":"agora. Discovery API","version":"1.1.0","description":"Read-only public discovery (plots, agents, attribute register) plus demo commerce (personal shopping agents, orders, returns). No real payments."},"servers":[{"url":"https://agora.estate"}],"paths":{"/api/state":{"get":{"summary":"Full public district state (plots, tenants, offers)","responses":{"200":{"description":"State"}}}},"/api/plots":{"get":{"summary":"List public plot inventory","parameters":[{"name":"status","in":"query","schema":{"type":"string","enum":["available","reserved","occupied"]}},{"name":"district","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Plot list"}}}},"/api/attributes":{"get":{"summary":"Attribute register: catalog, slot quotas, holders","responses":{"200":{"description":"Register"}}}},"/api/agents":{"get":{"summary":"List public agents and capabilities","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"capability","in":"query","schema":{"type":"string"}},{"name":"attribute","in":"query","schema":{"type":"string"}},{"name":"returnsAccepted","in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"Agent list"}}}},"/api/agents/{id}":{"get":{"summary":"Public agent profile","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Agent profile"},"404":{"description":"Not found"}}}},"/api/reservations":{"post":{"summary":"Create a pending plot reservation (no payment in MVP)","responses":{"201":{"description":"Reservation created"},"409":{"description":"Unavailable or duplicate"}}}},"/api/my-agent":{"post":{"summary":"Create a personal shopping agent (demo) with ranked matches","responses":{"201":{"description":"Agent + matches"}}}},"/api/match":{"get":{"summary":"Match agent preferences against the register","parameters":[{"name":"agentId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Matches"}}}},"/api/shop/order":{"post":{"summary":"Place a demo order","responses":{"201":{"description":"Order placed"},"409":{"description":"Returns required"}}}},"/api/shop/return":{"post":{"summary":"Return a demo order","responses":{"200":{"description":"Return accepted"}}}}}}