{"name":"Hydro Builder API","description":"Hydro Builder designs hydroponic systems in 3D and simulates the water: flow rates, pump head, reservoir runtime and 21 engineering checks, plus a priced shopping list.","version":"1.0.0","auth":"none (X-API-Key for /design)","openapi":"https://hydro.thetempleofdoom.com/api/v1/openapi.json","health":"https://hydro.thetempleofdoom.com/api/v1/health","mcp":"https://hydro.thetempleofdoom.com/mcp","card":"https://hydro.thetempleofdoom.com/.well-known/mcp.json","endpoints":[{"method":"GET","path":"/api/v1","description":"This explainer (HTML for browsers, JSON for agents)"},{"method":"GET","path":"/api/v1/openapi.json","description":"OpenAPI 3.1 description"},{"method":"GET","path":"/api/v1/health","description":"Status and version"},{"method":"GET","path":"/api/v1/parts","description":"Part types with defaults and ranges (?category=Plumbing)"},{"method":"GET","path":"/api/v1/templates","description":"Built-in designs"},{"method":"POST","path":"/api/v1/check","description":"Simulate and run Design Check: body {template} or {parts} or {project}"},{"method":"POST","path":"/api/v1/parts-list","description":"Shopping list, cost and PVC cut list: same body as /check"},{"method":"POST","path":"/api/v1/design","description":"AI design from {prompt}. Needs X-API-Key. Returns the design, or {status:\"working\", job_id} after 45 s"},{"method":"GET","path":"/api/v1/design/{job_id}","description":"Collect a design that was still working. Needs X-API-Key"},{"method":"POST","path":"/mcp","description":"MCP server (streamable HTTP)"},{"method":"GET","path":"/.well-known/mcp.json","description":"MCP server card"},{"method":"GET","path":"/api/v1/billing","description":"Accounts, free trial and payment methods (Temple standard v2)"}],"tools":[{"name":"list_parts","description":"Every part type the designer knows (pipes, fittings, pumps, reservoirs, towers, trays, tents, fans, lights, chillers...) with its category, default parameters, parameter ranges and units. Lengths are feet, pipe diameters inches."},{"name":"list_templates","description":"The ready-made designs (demo pump loop, NFT loop, drip manifold, DWC buckets, finite drain test). Pass an id as \"template\" to check_design or get_parts_list."},{"name":"check_design","description":"Runs the water simulation and the 21-rule Design Check on a design. Returns total flow (GPH), each pump's delivered flow and head, reservoir runtime, and every finding (errors, warnings, tips) with a suggested fix."},{"name":"get_parts_list","description":"Bill of materials for a design: what to buy, quantities, estimated US prices, category subtotals, grand total, and a PVC cut list per pipe size (10 ft sticks). Prices are rough estimates, not quotes."},{"name":"design_system","description":"Uses the AI designer to turn a plain-English description (e.g. \"4x4 tent, 8 lettuce in an NFT channel\") into a parts list, then checks and prices it. Needs an X-API-Key header. Waits up to 45 seconds; if the model is still working it returns a job_id to pass to get_design."},{"name":"get_design","description":"Returns the result of a design_system job that was still working. Call again while status is \"working\" (wait about 15 seconds between calls). Jobs are kept for 15 minutes."}]}