{
  "name": "LEVA agent API (read-only)",
  "version": "api-v1.5",
  "worker": "seo-v12",
  "about": "LEVA (theleva.com) designs buildings in parametric 3D configurators with an itemized budget of materials and labour priced in USD. This API lets an agent read the public part: the configurable products, their options (the A-frame, the ADU and the RANCH so far), LEVA's reference designs and publicly shared projects.",
  "endpoints": {
    "products": "https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/products",
    "product": "https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/products/{handle}  e.g. https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/products/a-frames",
    "project": "https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/projects/{id}  (the ?p= id of a public project link)",
    "latest": "https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/projects/latest  (the newest public project of a LEVA user)",
    "openapi": "https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/openapi.json",
    "options": "https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/options  and  https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/options/{configuratorType}  (aframe, adu, ranch)",
    "selftest": "https://leva-seo-worker.long-cloud-d006.workers.dev/api/v1/selftest  (the API checks its own figures; a quiz for testing an agent)",
    "mcp": "https://leva-seo-worker.long-cloud-d006.workers.dev/mcp  (the same reads as MCP tools: list_products, get_product, get_project; Streamable HTTP, read-only)"
  },
  "terms": "Public data only; figures are estimates from the configurator at the date given, not quotes. Do not present them as a contractor's price.",
  "glossary": {
    "total": "the estimated cost to build the design: materials + execution, in USD",
    "materials": "every part the 3D model holds, with its fasteners, membranes and sealants, priced in USD",
    "execution": "labour: the work to build it, priced from the hours",
    "hours": "the labour hours the execution is priced from",
    "perSqFt": "total / areaSqFt, rounded",
    "areaSqFt": "the floor area of all floors (for a single-storey design it equals the footprint), in sq ft; areaM2 the same in m2",
    "place": "the city and state (or country) the project was priced for",
    "plan.priceFrom / plan.priceTo": "the price of the downloadable plans for a design made in the configurator -- not the cost of building it",
    "currency": "all amounts are USD, whole dollars, estimates at the date given",
    "configuratorType": "the configurator a product page runs (aframe, adu, ranch, bench ...); several products can share one"
  },
  "site": "https://www.theleva.com"
}