{"openapi":"3.1.0","info":{"title":"Structural Engineering Calculators API","version":"1.0.0","description":"Beam, truss and frame analysis, section properties, column buckling, load combinations, bolt and weld groups, footing bearing, retaining-wall stability, concrete flexure, composite transformed sections, deflection checks and tributary load takedown — pure numeric methods on caller inputs. Paid with x402 exact USDC on Base. No account is required.","contact":{"email":"support@brainiac.software"},"x-guidance":"BRAINIAC.software is a pay-per-call API for software agents. No account or API key is required.\nPayment uses x402 with exact USDC on Base (8453). Each paid resource accepts POST for the call; unpaid GET/HEAD return the same 402 payment challenge for discovery.\nHow to call an operation:\n1. POST JSON matching the requestBody. An unpaid POST (including empty body) returns 402 payment terms before body validation.\n2. Compare 402 payTo, asset, and network with /api/v1/catalog and /.well-known/x402 — not only with the 402 itself.\n3. Pay and retry with payment-signature. Invalid JSON/schema after payment-signature returns 400 and is not charged. Settlement (a charge) only on 2xx. payment-signature attached ≠ charged.\nIdempotency-Key: 64 hex chars from 32 random bytes. Reuse only for the same operation and body (replays stored response, including status=partial). A new key runs a fresh call.\nIdempotency after errors: unpaid 402 does not store the key. Post-signature 402/503 release it (retry same key). Pre-reserve schema 400 does not store it. Other post-signature responses (2xx/4xx/5xx) are stored: same key+body replays; different body → 409. Stored 4xx/5xx replays are not a second charge. Prefer a new key after fixing a 4xx; after 5xx reuse the same key only for the stored error.\nPost-signature 402/503 include prior-payment-attempt (nonce, settled false|unknown). A facilitator 502 is SETTLEMENT_UNKNOWN (stored under the Idempotency-Key; cross-instance replay needs the shared store; may already be charged) — check USDC authorizationState(payer, nonce) on Base before re-signing.\nSettlement signal: settled 2xx include payment-response. 4xx/5xx do not. Do not book a cost from payment-signature alone.\nCoverage billing: HTTP 200 with status complete, partial, or failed is charged at the full listed price. Retrying missing checks needs a new settled call. 4xx/5xx are not charged.\nmissing_items.reason: timeout/rate_limited → one delayed retry (new key); upstream_down → after recovery; not_supported → never.\nInvariants: any missing_items ⇒ not status complete; sources[] is provenance only (source, url, retrievedAt), never success/error keyed by check.\nFree lookup: GET /api/v1/results/{result_id} returns stored coverage JSON (404 RESULT_NOT_FOUND if unknown/expired; not a 402). Prior-Result-Id sets replaces_result_id.\nOutputs are prechecks/drafts for human review — not official determinations, legal advice, or certified filings."},"servers":[{"url":"https://www.brainiac.software"}],"paths":{"/api/v1/structural-calcs/beam-analysis":{"post":{"operationId":"analyse_beam_reactions_shear_moment_and_deflection","summary":"Analyse beam reactions, shear, moment and deflection","description":"Euler-Bernoulli FEM for simply supported, cantilever, fixed and continuous beams with point, UDL, linear and moment loads.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"length":{"type":"number","exclusiveMinimum":0},"E":{"type":"number","exclusiveMinimum":0},"I":{"type":"number","exclusiveMinimum":0},"supports":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"type":{"type":"string","enum":["pin","roller","fixed"]}},"required":["x","type"],"additionalProperties":false}},"loads":{"default":[],"maxItems":200,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"point"},"x":{"type":"number"},"P":{"type":"number"}},"required":["type","x","P"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"udl"},"w":{"type":"number"},"from":{"type":"number"},"to":{"type":"number"}},"required":["type","w","from","to"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"linear"},"w1":{"type":"number"},"w2":{"type":"number"},"from":{"type":"number"},"to":{"type":"number"}},"required":["type","w1","w2","from","to"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"moment"},"x":{"type":"number"},"M":{"type":"number"}},"required":["type","x","M"],"additionalProperties":false}]}},"settlements":{"default":[],"maxItems":20,"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"dy":{"type":"number"}},"required":["x","dy"],"additionalProperties":false}},"points":{"default":61,"type":"integer","minimum":11,"maximum":1001}},"required":["length","E","I","supports"],"additionalProperties":false},"example":{"length":6,"E":200000000000,"I":0.00008,"supports":[{"x":0,"type":"pin"},{"x":6,"type":"roller"}],"loads":[{"type":"udl","w":-10000,"from":0,"to":6}],"settlements":[],"points":61}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"reactions":{"type":"array","items":{"type":"object","properties":{"x":{"type":"number"},"Fy":{"type":"number"},"M":{"type":"number"}},"additionalProperties":true}},"maxMoment":{"type":"object","properties":{"x":{"type":"number"},"M":{"type":"number"}},"additionalProperties":true},"minMoment":{"type":"object","properties":{"x":{"type":"number"},"M":{"type":"number"}},"additionalProperties":true},"maxShear":{"type":"number"},"maxDeflection":{"type":"object","properties":{"x":{"type":"number"},"dy":{"type":"number"}},"additionalProperties":true},"diagrams":{"type":"array","items":{"type":["object","string"],"properties":{"x":{"type":"number"},"V":{"type":"number"},"M":{"type":"number"},"dy":{"type":"number"},"rotation":{"type":"number"}},"additionalProperties":true}},"conditionEstimate":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"reactions":[{"x":0,"Fy":29999.9999993,"M":0},{"x":6,"Fy":29999.9999994,"M":0}],"maxMoment":{"x":3,"M":44999.9999981},"minMoment":{"x":0,"M":-6.78546106414e-7},"maxShear":29999.9999994,"maxDeflection":{"x":3,"dy":-0.0105468749996},"diagrams":[{"x":0,"V":29999.9999993,"M":-6.78546106414e-7,"dy":0,"rotation":-0.00562499999973},{"x":0.1,"V":28999.9999993,"M":2949.99999925,"dy":-0.00056219010414,"rotation":-0.0056157291664},"…"],"conditionEstimate":24001.7777773,"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Euler-Bernoulli beam FEM with consistent nodal loads; V/M recovered from element end forces plus exact in-element distr…","Unstable support sets are reported as mechanism.","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/section-properties":{"post":{"operationId":"compute_cross_section_geometric_properties","summary":"Compute cross-section geometric properties","description":"Area, centroid, second moments, elastic/plastic moduli, radii of gyration and torsion constant for standard shapes or polygons with holes.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"shape":{"type":"string","const":"rectangle"},"params":{"type":"object","properties":{"b":{"type":"number","exclusiveMinimum":0},"h":{"type":"number","exclusiveMinimum":0}},"required":["b","h"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"circle"},"params":{"type":"object","properties":{"d":{"type":"number","exclusiveMinimum":0}},"required":["d"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"tube"},"params":{"type":"object","properties":{"d":{"type":"number","exclusiveMinimum":0},"t":{"type":"number","exclusiveMinimum":0}},"required":["d","t"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"rhs"},"params":{"type":"object","properties":{"b":{"type":"number","exclusiveMinimum":0},"h":{"type":"number","exclusiveMinimum":0},"t":{"type":"number","exclusiveMinimum":0}},"required":["b","h","t"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"i_symmetric"},"params":{"type":"object","properties":{"b":{"type":"number","exclusiveMinimum":0},"h":{"type":"number","exclusiveMinimum":0},"tf":{"type":"number","exclusiveMinimum":0},"tw":{"type":"number","exclusiveMinimum":0}},"required":["b","h","tf","tw"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"channel"},"params":{"type":"object","properties":{"b":{"type":"number","exclusiveMinimum":0},"h":{"type":"number","exclusiveMinimum":0},"tf":{"type":"number","exclusiveMinimum":0},"tw":{"type":"number","exclusiveMinimum":0}},"required":["b","h","tf","tw"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"angle"},"params":{"type":"object","properties":{"b":{"type":"number","exclusiveMinimum":0},"h":{"type":"number","exclusiveMinimum":0},"t":{"type":"number","exclusiveMinimum":0}},"required":["b","h","t"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"tee"},"params":{"type":"object","properties":{"b":{"type":"number","exclusiveMinimum":0},"h":{"type":"number","exclusiveMinimum":0},"tf":{"type":"number","exclusiveMinimum":0},"tw":{"type":"number","exclusiveMinimum":0}},"required":["b","h","tf","tw"],"additionalProperties":false}},"required":["shape","params"],"additionalProperties":false},{"type":"object","properties":{"shape":{"type":"string","const":"polygon"},"outer":{"minItems":3,"maxItems":2000,"type":"array","items":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2}},"holes":{"default":[],"maxItems":50,"type":"array","items":{"minItems":3,"maxItems":2000,"type":"array","items":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2}}}},"required":["shape","outer"],"additionalProperties":false}]},"example":{"shape":"i_symmetric","params":{"b":200,"h":400,"tf":15,"tw":10}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"A":{"type":"number"},"centroid":{"type":"array","items":{"type":"number"}},"Ix":{"type":"number"},"Iy":{"type":"number"},"Ixy":{"type":"number"},"Sx":{"type":"number"},"Sy":{"type":"number"},"Zx":{"type":"number"},"Zy":{"type":"null"},"rx":{"type":"number"},"ry":{"type":"number"},"J":{"type":"number"},"Jmethod":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"A":9700,"centroid":[100,200],"Ix":264660833.333,"Iy":20030833.3333,"Ixy":0,"Sx":1323304.16667,"Sy":200308.333333,"Zx":1497250,"Zy":null,"rx":165.180573898,"ry":45.4426491774,"J":573333.333333,"Jmethod":"thin-walled open: Σ b t³/3","sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Fillet radii are not modelled.","Polygon properties use Green's theorem; plastic modulus Z uses equal-area axis bisection.","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/column-buckling":{"post":{"operationId":"euler_and_johnson_column_buckling","summary":"Euler and Johnson column buckling","description":"Elastic Euler and inelastic Johnson-parabola critical stress/load for a pin-ended equivalent column with caller K.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"E":{"type":"number","exclusiveMinimum":0},"fy":{"type":"number","exclusiveMinimum":0},"A":{"type":"number","exclusiveMinimum":0},"I":{"type":"number","exclusiveMinimum":0},"length":{"type":"number","exclusiveMinimum":0},"K":{"type":"number","minimum":0.5,"maximum":10}},"required":["E","fy","A","I","length","K"],"additionalProperties":false},"example":{"E":200000000000,"fy":250000000,"A":0.0097,"I":0.000020030833,"length":4,"K":1}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"slenderness":{"type":"number"},"transitionSlenderness":{"type":"number"},"regime":{"type":"string"},"eulerLoad":{"type":"number"},"eulerStress":{"type":"number"},"criticalStress":{"type":"number"},"criticalLoad":{"type":"number"},"r":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"slenderness":88.0230379542,"transitionSlenderness":125.663706144,"regime":"johnson","eulerLoad":2471204.96918,"eulerStress":254763398.884,"criticalStress":188668583.994,"criticalLoad":1830085.26474,"r":0.0454426487993,"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Elastic Euler and inelastic Johnson parabola for a pin-ended equivalent column; K is caller-supplied.","No resistance factors are applied.","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/load-combinations":{"post":{"operationId":"apply_load_combination_factors","summary":"Apply load combination factors","description":"Combine caller load-case results with caller factors and report the governing combination per result key.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"cases":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":40},"additionalProperties":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":40},"additionalProperties":{"type":"number"}}},"combinations":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"factors":{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":40},"additionalProperties":{"type":"number"}}},"required":["name","factors"],"additionalProperties":false}},"governBy":{"default":"absolute","type":"string","enum":["absolute","max","min"]}},"required":["cases","combinations"],"additionalProperties":false},"example":{"cases":{"D":{"M":10,"V":4},"L":{"M":5,"V":2},"W":{"M":8,"V":3}},"combinations":[{"name":"C1","factors":{"D":1.4}},{"name":"C2","factors":{"D":1.2,"L":1.6}},{"name":"C3","factors":{"D":1.2,"L":1,"W":1}},{"name":"C4","factors":{"D":0.9,"W":-1}}],"governBy":"absolute"}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":["object","string"],"properties":{"combination":{"type":"string"},"M":{"type":"number"},"V":{"type":"number"}},"additionalProperties":true}},"governing":{"type":"object","properties":{"M":{"type":"object","properties":{"combination":{"type":"string"},"value":{"type":"number"}},"additionalProperties":true},"V":{"type":"object","properties":{"combination":{"type":"string"},"value":{"type":"number"}},"additionalProperties":true}},"additionalProperties":true},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"results":[{"combination":"C1","M":14,"V":5.6},{"combination":"C2","M":20,"V":8},"…"],"governing":{"M":{"combination":"C3","value":25},"V":{"combination":"C3","value":9.8}},"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Combination factors are caller-supplied; ASCE 7 / Eurocode factors are not embedded.","Outputs are calculation aids for a qualified engineer on caller-supplied inputs. They are not stamped designs, code com…","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/truss-2d-analysis":{"post":{"operationId":"analyse_a_2d_pin_jointed_truss","summary":"Analyse a 2D pin-jointed truss","description":"Direct-stiffness truss analysis returning member axial forces, support reactions and joint displacements.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"nodes":{"minItems":2,"maxItems":2000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":40},"x":{"type":"number"},"y":{"type":"number"},"support":{"anyOf":[{"type":"string","enum":["pin","roller_x","roller_y","fixed"]},{"type":"object","properties":{"dx":{"type":"boolean"},"dy":{"type":"boolean"}},"required":["dx","dy"],"additionalProperties":false}]}},"required":["id","x","y"],"additionalProperties":false}},"members":{"minItems":1,"maxItems":5000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":40},"i":{"type":"string","minLength":1,"maxLength":40},"j":{"type":"string","minLength":1,"maxLength":40},"E":{"type":"number","exclusiveMinimum":0},"A":{"type":"number","exclusiveMinimum":0}},"required":["id","i","j","E","A"],"additionalProperties":false}},"loads":{"default":[],"maxItems":2000,"type":"array","items":{"type":"object","properties":{"node":{"type":"string","minLength":1,"maxLength":40},"Fx":{"default":0,"type":"number"},"Fy":{"default":0,"type":"number"}},"required":["node"],"additionalProperties":false}}},"required":["nodes","members"],"additionalProperties":false},"example":{"nodes":[{"id":"A","x":0,"y":0,"support":"pin"},{"id":"B","x":4,"y":0,"support":"roller_y"},{"id":"C","x":2,"y":3}],"members":[{"id":"AB","i":"A","j":"B","E":200000000000,"A":0.001},{"id":"AC","i":"A","j":"C","E":200000000000,"A":0.001},{"id":"BC","i":"B","j":"C","E":200000000000,"A":0.001}],"loads":[{"node":"C","Fx":0,"Fy":-10000}]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"memberForces":{"type":"array","items":{"type":["object","string"],"properties":{"id":{"type":"string"},"force":{"type":"number"},"state":{"type":"string"}},"additionalProperties":true}},"reactions":{"type":"array","items":{"type":"object","properties":{"node":{"type":"string"},"Rx":{"type":"number"},"Ry":{"type":"number"}},"additionalProperties":true}},"displacements":{"type":"array","items":{"type":["object","string"],"properties":{"node":{"type":"string"},"dx":{"type":"number"},"dy":{"type":"number"}},"additionalProperties":true}},"conditionEstimate":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"memberForces":[{"id":"AB","force":3333.33333333,"state":"tension"},{"id":"AC","force":-6009.25212577,"state":"compression"},"…"],"reactions":[{"node":"A","Rx":4.54747350886e-13,"Ry":5000},{"node":"B","Ry":5000}],"displacements":[{"node":"A","dx":0,"dy":0},{"node":"B","dx":0.0000666666666667,"dy":0},"…"],"conditionEstimate":2.25120355688,"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["2D pin-jointed truss by direct stiffness; tension positive. Mechanism if reduced matrix is singular.","Outputs are calculation aids for a qualified engineer on caller-supplied inputs. They are not stamped designs, code com…","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.04"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/frame-2d-analysis":{"post":{"operationId":"analyse_a_2d_frame","summary":"Analyse a 2D frame","description":"Euler-Bernoulli frame analysis with optional moment releases, nodal and member loads, returning displacements, reactions and member end forces.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"nodes":{"minItems":2,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":40},"x":{"type":"number"},"y":{"type":"number"},"support":{"anyOf":[{"type":"string","enum":["pin","roller_x","roller_y","fixed"]},{"type":"object","properties":{"dx":{"type":"boolean"},"dy":{"type":"boolean"},"rz":{"type":"boolean"}},"required":["dx","dy","rz"],"additionalProperties":false}]}},"required":["id","x","y"],"additionalProperties":false}},"members":{"minItems":1,"maxItems":5000,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":40},"i":{"type":"string","minLength":1,"maxLength":40},"j":{"type":"string","minLength":1,"maxLength":40},"E":{"type":"number","exclusiveMinimum":0},"A":{"type":"number","exclusiveMinimum":0},"I":{"type":"number","exclusiveMinimum":0},"releaseI":{"default":false,"type":"boolean"},"releaseJ":{"default":false,"type":"boolean"}},"required":["id","i","j","E","A","I"],"additionalProperties":false}},"nodalLoads":{"default":[],"maxItems":2000,"type":"array","items":{"type":"object","properties":{"node":{"type":"string","minLength":1,"maxLength":40},"Fx":{"default":0,"type":"number"},"Fy":{"default":0,"type":"number"},"Mz":{"default":0,"type":"number"}},"required":["node"],"additionalProperties":false}},"memberLoads":{"default":[],"maxItems":2000,"type":"array","items":{"oneOf":[{"type":"object","properties":{"member":{"type":"string","minLength":1,"maxLength":40},"type":{"type":"string","const":"udl"},"w":{"type":"number"},"axes":{"default":"local","type":"string","enum":["local","global"]},"direction":{"default":"y","type":"string","enum":["y","x"]}},"required":["member","type","w"],"additionalProperties":false},{"type":"object","properties":{"member":{"type":"string","minLength":1,"maxLength":40},"type":{"type":"string","const":"point"},"P":{"type":"number"},"a":{"type":"number","minimum":0},"axes":{"default":"local","type":"string","enum":["local","global"]},"direction":{"default":"y","type":"string","enum":["y","x"]}},"required":["member","type","P","a"],"additionalProperties":false}]}}},"required":["nodes","members"],"additionalProperties":false},"example":{"nodes":[{"id":"1","x":0,"y":0,"support":"fixed"},{"id":"2","x":0,"y":4},{"id":"3","x":6,"y":4},{"id":"4","x":6,"y":0,"support":"fixed"}],"members":[{"id":"c1","i":"1","j":"2","E":200000000000,"A":0.01,"I":0.0001},{"id":"b","i":"2","j":"3","E":200000000000,"A":0.01,"I":0.0001},{"id":"c2","i":"4","j":"3","E":200000000000,"A":0.01,"I":0.0001}],"nodalLoads":[{"node":"2","Fx":10000}],"memberLoads":[]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"displacements":{"type":"array","items":{"type":["object","string"],"properties":{"node":{"type":"string"},"dx":{"type":"number"},"dy":{"type":"number"},"rz":{"type":"number"}},"additionalProperties":true}},"reactions":{"type":"array","items":{"type":"object","properties":{"node":{"type":"string"},"Rx":{"type":"number"},"Ry":{"type":"number"},"Mz":{"type":"number"}},"additionalProperties":true}},"memberEndForces":{"type":"array","items":{"type":["object","string"],"properties":{"id":{"type":"string"},"i":{"type":"object","properties":{"N":{"type":"number"},"V":{"type":"number"},"M":{"type":"number"}},"additionalProperties":true},"j":{"type":"object","properties":{"N":{"type":"number"},"V":{"type":"number"},"M":{"type":"number"}},"additionalProperties":true}},"additionalProperties":true}},"conditionEstimate":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"displacements":[{"node":"1","dx":0,"dy":0,"rz":0},{"node":"2","dx":0.00214365683991,"dy":0.00000532859680284,"rz":-0.000403525155851},"…"],"reactions":[{"node":"1","Rx":-5012.27448077,"Ry":-2664.29840142,"Mz":12042.1747408},{"node":"4","Rx":-4987.72551923,"Ry":2664.29840142,"Mz":11972.0348507}],"memberEndForces":[{"id":"c1","i":{"N":-2664.29840142,"V":5012.27448077,"M":12042.1747408},"j":{"N":2664.29840142,"V":-5012.27448077,"M":8006.92318229}},{"id":"b","i":{"N":4987.72551923,"V":-2664.29840142,"M":-8006.92318229},"j":{"N":-4987.72551923,"V":2664.29840142,"M":-7978.86722624}},"…"],"conditionEstimate":83.3353415505,"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["2D Euler-Bernoulli frame elements with optional moment releases; P-delta and shear deformation not included.","End forces = k·T·u − fixed-end forces from member loads.","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.05"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/bolt-group-eccentric":{"post":{"operationId":"eccentric_bolt_group_forces_elastic","summary":"Eccentric bolt-group forces (elastic)","description":"Elastic-method force distribution in an in-plane eccentrically loaded bolt group.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"bolts":{"minItems":2,"maxItems":500,"type":"array","items":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2}},"load":{"type":"object","properties":{"Px":{"type":"number"},"Py":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["Px","Py","x","y"],"additionalProperties":false}},"required":["bolts","load"],"additionalProperties":false},"example":{"bolts":[[50,75],[-50,75],[50,-75],[-50,-75]],"load":{"Px":0,"Py":-100,"x":200,"y":0}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"centroid":{"type":"array","items":{"type":"number"}},"polarMoment":{"type":"number"},"moment":{"type":"number"},"bolts":{"type":"array","items":{"type":["object","string"],"properties":{"x":{"type":"number"},"y":{"type":"number"},"fx":{"type":"number"},"fy":{"type":"number"},"resultant":{"type":"number"}},"additionalProperties":true}},"maxBoltForce":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"centroid":[0,0],"polarMoment":32500,"moment":-20000,"bolts":[{"x":50,"y":75,"fx":46.1538461538,"fy":-55.7692307692,"resultant":72.3905008643},{"x":-50,"y":75,"fx":46.1538461538,"fy":5.76923076923,"resultant":46.513025471},"…"],"maxBoltForce":72.3905008643,"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Elastic method for in-plane eccentric bolt groups; instantaneous-centre method is not included.","Outputs are calculation aids for a qualified engineer on caller-supplied inputs. They are not stamped designs, code com…","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/weld-group-analysis":{"post":{"operationId":"eccentric_weld_group_force_per_length","summary":"Eccentric weld-group force per length","description":"Elastic line-weld analysis of an eccentrically loaded weld group returning maximum force per unit length.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"lines":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"from":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2},"to":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2}},"required":["from","to"],"additionalProperties":false}},"load":{"type":"object","properties":{"Px":{"type":"number"},"Py":{"type":"number"},"x":{"type":"number"},"y":{"type":"number"}},"required":["Px","Py","x","y"],"additionalProperties":false}},"required":["lines","load"],"additionalProperties":false},"example":{"lines":[{"from":[-50,-75],"to":[-50,75]},{"from":[50,-75],"to":[50,75]}],"load":{"Px":0,"Py":-100,"x":200,"y":0}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"length":{"type":"number"},"centroid":{"type":"array","items":{"type":"number"}},"Ip":{"type":"number"},"maxForcePerLength":{"type":"number"},"critical":{"type":"array","items":{"type":"number"}},"components":{"type":"object","properties":{"direct":{"type":"number"},"torsionX":{"type":"number"},"torsionY":{"type":"number"}},"additionalProperties":true},"moment":{"type":"number"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"length":300,"centroid":[0,0],"Ip":1312500,"maxForcePerLength":1.58293048939,"critical":[50,-75],"components":{"direct":0.333333333333,"torsionX":-1.14285714286,"torsionY":-0.761904761905},"moment":-20000,"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Elastic line-weld analysis with unit throat; throat/strength checks are left to the caller's code.","Outputs are calculation aids for a qualified engineer on caller-supplied inputs. They are not stamped designs, code com…","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/footing-bearing-pressure":{"post":{"operationId":"spread_footing_bearing_pressure","summary":"Spread-footing bearing pressure","description":"Soil bearing pressure under a rectangular footing with axial load and moments, including partial uplift.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"B":{"type":"number","exclusiveMinimum":0},"L":{"type":"number","exclusiveMinimum":0},"P":{"type":"number","exclusiveMinimum":0},"Mx":{"default":0,"type":"number"},"My":{"default":0,"type":"number"}},"required":["B","L","P"],"additionalProperties":false},"example":{"B":2.5,"L":2.5,"P":1000,"Mx":200,"My":0}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"ex":{"type":"number"},"ey":{"type":"number"},"withinKern":{"type":"boolean"},"qMax":{"type":"number"},"qMin":{"type":"number"},"contactLengthB":{"type":"number"},"contactLengthL":{"type":"number"},"cornerPressures":{"type":"array","items":{"type":["number","string"]}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"ex":0.2,"ey":0,"withinKern":true,"qMax":236.8,"qMin":83.2,"contactLengthB":2.5,"contactLengthL":2.5,"cornerPressures":[236.8,236.8,"…"],"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Bearing under rectangular footing; biaxial within kern uses elastic corner formula.","Outputs are calculation aids for a qualified engineer on caller-supplied inputs. They are not stamped designs, code com…","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/retaining-wall-stability":{"post":{"operationId":"cantilever_retaining_wall_stability","summary":"Cantilever retaining-wall stability","description":"Overturning, sliding and bearing checks for a cantilever retaining wall with Rankine or Coulomb active pressure.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"geometry":{"type":"object","properties":{"totalHeight":{"type":"number","exclusiveMinimum":0},"baseThickness":{"type":"number","exclusiveMinimum":0},"baseWidth":{"type":"number","exclusiveMinimum":0},"toe":{"type":"number","minimum":0},"stemThickness":{"type":"number","exclusiveMinimum":0}},"required":["totalHeight","baseThickness","baseWidth","toe","stemThickness"],"additionalProperties":false},"soil":{"type":"object","properties":{"gamma":{"type":"number","exclusiveMinimum":0},"phi":{"type":"number","minimum":10,"maximum":50},"cohesion":{"default":0,"type":"number","minimum":0}},"required":["gamma","phi"],"additionalProperties":false},"concreteGamma":{"type":"number","exclusiveMinimum":0},"baseFriction":{"type":"number","exclusiveMinimum":0},"surcharge":{"default":0,"type":"number","minimum":0},"theory":{"default":"rankine","type":"string","enum":["rankine","coulomb"]},"wallFriction":{"type":"number","minimum":0,"maximum":40},"waterTableDepth":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}]},"passiveIgnored":{"default":true,"type":"boolean"}},"required":["geometry","soil","concreteGamma","baseFriction"],"additionalProperties":false},"example":{"geometry":{"totalHeight":4,"baseThickness":0.5,"baseWidth":2.8,"toe":0.6,"stemThickness":0.4},"soil":{"gamma":18,"phi":30,"cohesion":0},"concreteGamma":24,"baseFriction":0.5,"surcharge":0,"theory":"rankine","waterTableDepth":null,"passiveIgnored":true}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"Ka":{"type":"number"},"activeForce":{"type":"number"},"activeArm":{"type":"number"},"verticalTotal":{"type":"number"},"resistingMoment":{"type":"number"},"overturningMoment":{"type":"number"},"fsOverturning":{"type":"number"},"fsSliding":{"type":"number"},"eccentricity":{"type":"number"},"qToe":{"type":"number"},"qHeel":{"type":"number"},"withinMiddleThird":{"type":"boolean"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"Ka":0.333333333333,"activeForce":48,"activeArm":1.33333333333,"verticalTotal":180.6,"resistingMoment":289.38,"overturningMoment":64,"fsOverturning":4.5215625,"fsSliding":1.88125,"eccentricity":0.152048726467,"qToe":85.5153061224,"qHeel":43.4846938776,"withinMiddleThird":true,"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Rankine or Coulomb active pressure on the vertical plane through the heel; seismic and passive resistance excluded when…","Bearing uses middle-third / triangular uplift formulas about the toe.","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/concrete-rect-flexure":{"post":{"operationId":"rectangular_concrete_section_flexure","summary":"Rectangular concrete section flexure","description":"Nominal flexural strength of a singly or doubly reinforced rectangular section with caller stress-block parameters.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"b":{"type":"number","exclusiveMinimum":0},"d":{"type":"number","exclusiveMinimum":0},"As":{"type":"number","exclusiveMinimum":0},"fc":{"type":"number","exclusiveMinimum":0},"fy":{"type":"number","exclusiveMinimum":0},"Es":{"default":200000,"type":"number","exclusiveMinimum":0},"beta1":{"type":"number","exclusiveMinimum":0,"maximum":1},"alpha1":{"type":"number","exclusiveMinimum":0,"maximum":1.5},"epsCu":{"type":"number","exclusiveMinimum":0,"maximum":0.01},"AsPrime":{"default":0,"type":"number","minimum":0},"dPrime":{"default":0,"type":"number","minimum":0},"phi":{"anyOf":[{"type":"number","minimum":0,"maximum":1},{"type":"null"}]}},"required":["b","d","As","fc","fy","beta1","alpha1","epsCu"],"additionalProperties":false},"example":{"b":300,"d":500,"As":1500,"fc":30,"fy":420,"Es":200000,"beta1":0.836,"alpha1":0.85,"epsCu":0.003,"AsPrime":0,"dPrime":0,"phi":null}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"a":{"type":"number"},"c":{"type":"number"},"Mn":{"type":"number"},"phiMn":{"type":"null"},"epsT":{"type":"number"},"steelYields":{"type":"boolean"},"compressionSteelYields":{"type":"null"},"classification":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"a":82.3529411765,"c":98.5083028427,"Mn":289.058823529,"phiMn":null,"epsT":0.0122271428571,"steelYields":true,"compressionSteelYields":null,"classification":"tension_controlled_strain_gt_0.005","sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Equivalent rectangular stress block with caller α1, β1, εcu; ACI/Eurocode values are not looked up.","Mn in kN·m from mm / MPa inputs.","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/composite-section-transform":{"post":{"operationId":"transformed_composite_section_properties","summary":"Transformed composite section properties","description":"Modular-ratio transformed-section properties and stresses for multi-material sections, optionally cracked.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"reference":{"type":"string","minLength":1,"maxLength":40},"parts":{"minItems":2,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":40},"shape":{"type":"string","enum":["rectangle","polygon"]},"b":{"type":"number","exclusiveMinimum":0},"h":{"type":"number","exclusiveMinimum":0},"y0":{"default":0,"type":"number"},"x0":{"default":0,"type":"number"},"E":{"type":"number","exclusiveMinimum":0},"outer":{"minItems":3,"maxItems":500,"type":"array","items":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2}},"isConcrete":{"default":false,"type":"boolean"}},"required":["name","shape","E"],"additionalProperties":false}},"moment":{"default":0,"type":"number"},"concreteCracked":{"default":false,"type":"boolean"}},"required":["reference","parts"],"additionalProperties":false},"example":{"reference":"timber","parts":[{"name":"timber","shape":"rectangle","b":100,"h":250,"y0":0,"E":10000},{"name":"steel","shape":"rectangle","b":10,"h":250,"y0":0,"E":200000}],"moment":20000000,"concreteCracked":false}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"modularRatios":{"type":"object","properties":{"timber":{"type":"number"},"steel":{"type":"number"}},"additionalProperties":true},"transformedArea":{"type":"number"},"neutralAxis":{"type":"number"},"Itr":{"type":"number"},"stresses":{"type":"array","items":{"type":"object","properties":{"part":{"type":"string"},"maxStress":{"type":"number"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"modularRatios":{"timber":1,"steel":20},"transformedArea":75000,"neutralAxis":125,"Itr":390625000,"stresses":[{"part":"timber","maxStress":6.4},{"part":"steel","maxStress":128}],"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Transformed-section properties with modular ratios n_i = E_i/E_ref; cracked concrete iterates the neutral axis.","Stress in part i = n_i·M·y/I_tr.","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.03"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/deflection-limit-check":{"post":{"operationId":"check_deflections_against_span_ratios","summary":"Check deflections against span ratios","description":"Compare computed deflections with caller span/deflection limits and optional long-term multipliers.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"span":{"type":"number","exclusiveMinimum":0},"checks":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"case":{"type":"string","minLength":1,"maxLength":80},"deflection":{"type":"number"},"limitRatio":{"type":"number","exclusiveMinimum":0},"multiplier":{"default":1,"type":"number","exclusiveMinimum":0}},"required":["case","deflection","limitRatio"],"additionalProperties":false}},"absoluteLimit":{"anyOf":[{"type":"number","exclusiveMinimum":0},{"type":"null"}]}},"required":["span","checks"],"additionalProperties":false},"example":{"span":6,"checks":[{"case":"live","deflection":0.010547,"limitRatio":360},{"case":"total_long_term","deflection":0.010547,"multiplier":2,"limitRatio":240}],"absoluteLimit":null}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"case":{"type":"string"},"deflection":{"type":"number"},"limit":{"type":"number"},"utilisation":{"type":"number"},"pass":{"type":"boolean"}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"results":[{"case":"live","deflection":0.010547,"limit":0.0166666666667,"utilisation":0.63282,"pass":true},{"case":"total_long_term","deflection":0.021094,"limit":0.025,"utilisation":0.84376,"pass":true}],"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Limits and long-term multipliers are caller-supplied; no code table is embedded.","Outputs are calculation aids for a qualified engineer on caller-supplied inputs. They are not stamped designs, code com…","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.01"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}},"/api/v1/structural-calcs/tributary-load-takedown":{"post":{"operationId":"column_tributary_areas_and_load_takedown","summary":"Column tributary areas and load takedown","description":"Tributary areas on a rectangular grid (or caller polygons) with cumulative dead/live takedown over floors.","tags":["structural-calcs"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"gridX":{"minItems":2,"maxItems":100,"type":"array","items":{"type":"number"}},"gridY":{"minItems":2,"maxItems":100,"type":"array","items":{"type":"number"}},"floors":{"minItems":1,"maxItems":200,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":80},"dead":{"type":"number","minimum":0},"live":{"type":"number","minimum":0}},"required":["name","dead","live"],"additionalProperties":false}},"factors":{"anyOf":[{"type":"object","properties":{"dead":{"type":"number"},"live":{"type":"number"}},"required":["dead","live"],"additionalProperties":false},{"type":"null"}]},"omittedColumns":{"default":[],"maxItems":500,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"columns":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":40},"x":{"type":"number"},"y":{"type":"number"},"polygon":{"minItems":3,"maxItems":200,"type":"array","items":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"items":false,"minItems":2,"maxItems":2}},"tributaryArea":{"type":"number","exclusiveMinimum":0}},"required":["id"],"additionalProperties":false}}},"required":["floors"],"additionalProperties":false},"example":{"gridX":[0,6,12,18],"gridY":[0,5,10],"floors":[{"name":"Roof","dead":3,"live":1},{"name":"L2","dead":4,"live":2.5},{"name":"L1","dead":4,"live":2.5}],"factors":null,"omittedColumns":[]}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Fresh random 32-byte value encoded as 64 hexadecimal characters. Reuse unchanged only for retries of the same operation and request.","schema":{"type":"string","pattern":"^[0-9a-fA-F]{64}$"}}],"responses":{"200":{"description":"Illustrative endpoint-specific JSON response shape. For coverage operations, HTTP 200 is used for status complete, partial, and failed; all three settle and are charged at the full listed price. A settled 2xx includes a payment-response response header (facilitator settlement receipt; may include a transaction reference). Conditional fields depend on the result and data-source availability.","headers":{"payment-response":{"description":"Present on settled 2xx only. Facilitator settlement receipt for the x402 payment (not present on 4xx/5xx, which are not charged).","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"columns":{"type":"array","items":{"type":["object","string"],"properties":{"id":{"type":"string"},"x":{"type":"number"},"y":{"type":"number"},"tributaryArea":{"type":"number"},"byFloor":{"type":"array","items":{"type":["object","string"],"properties":{"floor":{"type":"string"},"dead":{"type":"number"},"live":{"type":"number"}},"additionalProperties":true}},"cumulative":{"type":"object","properties":{"dead":{"type":"number"},"live":{"type":"number"}},"additionalProperties":true}},"additionalProperties":true}},"sources":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"url":{"type":"string"},"retrievedAt":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"description":"Provenance only (source, url, retrievedAt). Not keyed by check id and does not carry success or error. A check in missing_items does not remove its upstream from sources[]; unavailability is only in missing_items (and unavailable findings)."},"limitations":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"example":{"columns":[{"id":"x0y0","x":0,"y":0,"tributaryArea":7.5,"byFloor":[{"floor":"Roof","dead":22.5,"live":7.5},{"floor":"L2","dead":30,"live":18.75},"…"],"cumulative":{"dead":82.5,"live":45}},{"id":"x0y1","x":0,"y":5,"tributaryArea":15,"byFloor":[{"floor":"Roof","dead":45,"live":15},{"floor":"L2","dead":60,"live":37.5},"…"],"cumulative":{"dead":165,"live":90}},"…"],"sources":[{"source":"Caller-supplied geometry, loads, material and factor inputs processed locally","url":"https://www.brainiac.software/api/v1/structural-calcs","retrievedAt":"2026-11-14","status":"ok"}],"limitations":["Rectangular-grid tributary widths are half the adjacent bay; live-load reduction is not applied.","Outputs are calculation aids for a qualified engineer on caller-supplied inputs. They are not stamped designs, code com…","…"]}}}},"400":{"description":"Invalid JSON or request schema. Not charged (no payment-response). If this 400 is returned before the Idempotency-Key is reserved, the key is not stored — fix the body and you may reuse the key. If an operation-path 400 was stored after a payment-signature was attached, the same key + same body replays it; the same key + a different body returns 409."},"402":{"description":"Payment required. The JSON body is the x402 PaymentRequired object. An unpaid 402 does not store the Idempotency-Key. A 402 after payment-signature releases the key and includes prior-payment-attempt (nonce, settled false|unknown). Not charged; no payment-response. Before re-signing after a post-signature 402, check USDC authorizationState(payer, nonce) on Base."},"409":{"description":"Idempotency conflict, in-progress payment, or expired result cache. Same key with a different body after a stored result returns conflict. Reusing the key cannot trigger a second charge. Not charged when settlement did not occur."},"413":{"description":"Request body exceeds the 24 MB limit. Not charged."},"500":{"description":"Operation failed before settlement, so no payment is taken (no payment-response). The error is stored: reuse the same Idempotency-Key and body to retrieve it without paying again. Use a new key for a fresh attempt with a new payment-signature."},"502":{"description":"Facilitator verify/settle transport failure (often timeout). After payment-signature this is returned as SETTLEMENT_UNKNOWN with prior-payment-attempt; the outcome is stored under the Idempotency-Key. With the shared store configured, other instances replay it instead of settling again; without it, each instance keeps its own memory. The authorization may already be settled on-chain — do not re-sign until USDC authorizationState(payer, nonce) on Base is false."},"503":{"description":"Payment or retry-safe result storage is unavailable; the operation is not run. Not charged; no payment-response. A 503 after payment-signature releases the Idempotency-Key and includes prior-payment-attempt."}},"x-payment-info":{"price":{"mode":"fixed","currency":"USD","amount":"0.02"},"protocols":[{"x402":{"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}],"facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}}}},"components":{"schemas":{"ApiError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{}}}}}}}}