{"openapi":"3.1.0","info":{"title":"Six Sigma Quality API","version":"1.0.0","description":"Six Sigma and quality-engineering maths as an API, computed locally and deterministically — the process-capability and defect maths behind a quality programme. The capability endpoint takes a process mean, standard deviation and the upper and/or lower specification limits and returns Cp = (USL−LSL)/6σ and Cpk = min((USL−μ)/3σ, (μ−LSL)/3σ) together with Cpu, Cpl and the expected DPMO and yield from the normal tails — a centred Cpk of 1.33 is the classic capable-process target. The dpmo endpoint turns defects, units and opportunities (or a yield) into defects per million opportunities, the yield and the process sigma level using the conventional 1.5σ long-term shift — the famous six-sigma 3.4 DPMO, and 3000 DPMO landing at about 4.25 sigma. The yield endpoint rolls per-step yields into the rolled throughput yield Π(yieldᵢ) — the chance a unit passes every step defect-free — with the normalized yield and the total defects per unit, and can start from DPU instead. The normal tails come from an accurate erfc and the sigma level from an exact inverse-normal. Everything is computed locally and deterministically, so it is instant and private. Ideal for quality-engineering, manufacturing, Lean Six Sigma and process-improvement app developers, SPC and capability-study tools, and green/black-belt training. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. This is the capability and DPMO maths; for general descriptive statistics use a statistics API.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/sixsigma-api","description":"oanor gateway"}],"tags":[{"name":"SixSigma"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/capability":{"get":{"operationId":"get_v1_capability","tags":["SixSigma"],"summary":"Process capability Cp/Cpk","description":"","parameters":[{"name":"mean","in":"query","required":true,"description":"Process mean μ","schema":{"type":"string"},"example":"6"},{"name":"sigma","in":"query","required":true,"description":"Standard deviation σ","schema":{"type":"string"},"example":"1"},{"name":"usl","in":"query","required":false,"description":"Upper spec limit","schema":{"type":"string"},"example":"10"},{"name":"lsl","in":"query","required":false,"description":"Lower spec limit","schema":{"type":"string"},"example":"2"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"cp":1.3333,"cpk":1.3333,"cpl":1.3333,"cpu":1.3333,"note":"Cp = (USL−LSL)/6σ; Cpk = min((USL−μ)/3σ, (μ−LSL)/3σ). A centred Cpk of 1.33 is the classic capable-process target. DPMO uses the normal tails; sigma level adds the 1.5σ shift.","inputs":{"lsl":2,"usl":10,"mean":6,"sigma":1},"expected_dpmo":63.342,"expected_yield":0.999936658,"process_sigma_level":5.3328},"meta":{"timestamp":"2026-06-05T21:48:48.860Z","request_id":"483f95da-6e41-451c-9fc1-2f3669e6fe78"},"status":"ok","message":"Process capability","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/dpmo":{"get":{"operationId":"get_v1_dpmo","tags":["SixSigma"],"summary":"DPMO & sigma level","description":"","parameters":[{"name":"defects","in":"query","required":false,"description":"Defect count","schema":{"type":"string"},"example":"3"},{"name":"units","in":"query","required":false,"description":"Units inspected","schema":{"type":"string"},"example":"1000"},{"name":"opportunities","in":"query","required":false,"description":"Opportunities/unit (default 1)","schema":{"type":"string"},"example":"1"},{"name":"yield","in":"query","required":false,"description":"Yield (% or 0–1) instead","schema":{"type":"string"}},{"name":"dpmo","in":"query","required":false,"description":"DPMO directly instead","schema":{"type":"string"}},{"name":"shift","in":"query","required":false,"description":"Sigma shift (default 1.5)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"dpmo":3000,"note":"DPMO = defects/(units·opportunities)·1e6. Sigma level = Φ⁻¹(yield) + shift (1.5σ by convention) — 6σ ≈ 3.4 DPMO, 3000 DPMO ≈ 4.25σ.","inputs":{"shift":1.5,"units":1000,"defects":3,"opportunities":1},"sigma_level":4.2478,"yield_percent":99.7,"defects_per_opportunity":0.003},"meta":{"timestamp":"2026-06-05T21:48:48.967Z","request_id":"1c6f3b83-919e-483b-8ff9-b0677d7e2cab"},"status":"ok","message":"DPMO and sigma level","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/yield":{"get":{"operationId":"get_v1_yield","tags":["SixSigma"],"summary":"Rolled throughput yield","description":"","parameters":[{"name":"yields","in":"query","required":false,"description":"Comma list of step yields","schema":{"type":"string"},"example":"0.99,0.98,0.97"},{"name":"dpu","in":"query","required":false,"description":"Comma list of DPU instead","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"RTY = Π(step yields) — the chance a unit passes every step defect-free. Normalized yield = RTY^(1/n); total DPU = −ln(RTY).","inputs":{"steps":3,"yields":[0.99,0.98,0.97]},"total_dpu":0.060712,"normalized_yield":0.979965985,"rolled_throughput_yield":0.941094,"rolled_throughput_yield_percent":94.1094},"meta":{"timestamp":"2026-06-05T21:48:49.062Z","request_id":"4a6d85ec-b4f7-4438-a25a-b8c388f611b1"},"status":"ok","message":"Rolled throughput yield","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"notes":"Sigma level uses the conventional 1.5σ long-term shift (override with 'shift'). Capability DPMO is the long-term normal tail without the shift. For general statistics use a statistics API.","service":"sixsigma-api","endpoints":{"GET /v1/dpmo":"DPMO, yield and sigma level from defects/units/opportunities or a yield.","GET /v1/meta":"This document.","GET /v1/yield":"Rolled throughput yield, normalized yield and total DPU from step yields or DPU.","GET /v1/capability":"Cp, Cpk, Cpu, Cpl and expected DPMO/yield from mean, sigma and spec limits."},"description":"Six Sigma quality maths: process capability (Cp, Cpk, Pp, Ppk), DPMO & sigma level, and rolled throughput yield."},"meta":{"timestamp":"2026-06-05T21:48:49.163Z","request_id":"9291c475-f771-4ff9-aad2-7636f64b1feb"},"status":"ok","message":"Meta","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":3550,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":595,"monthly_call_quota":39500,"rps_limit":6,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1570,"monthly_call_quota":192000,"rps_limit":15,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":4850,"monthly_call_quota":1090000,"rps_limit":40,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/sixsigma-api"}