Aller au contenu
GET /v1/capability

Process capability Cp/Cpk

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/sixsigma-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/sixsigma-api/v1/capability" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sixsigma-api/v1/capability", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sixsigma-api/v1/capability");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/sixsigma-api/v1/capability",
    headers={"x-oanor-key": "oanor_test_..."}
)

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "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
}