Public-material operations. Private keys and shared secrets are never returned.
| Method | Endpoint | Contract | Status |
|---|---|---|---|
| GET | /api/public/v1/health | Live ML-DSA signature and ML-KEM roundtrip self-test | available |
| GET | /api/public/v1/algorithms | Algorithms and operation availability | available |
| GET | /api/public/v1/health/history | Observed worker self-test checks (volatile; reset on deployment) | available |
| POST | /api/public/v1/signatures/verify | algorithm, message, signature, publicKey (base64) → valid | available |
| POST | /api/public/v1/kem/encapsulate | ML-KEM-768 publicKey → cipherText, sharedSecretFingerprint | available |
| POST | /api/public/v1/keys | Server-held keys | unavailable |
| POST | /api/public/v1/signatures/sign | Custodial signing | unavailable |
| POST | /api/public/v1/kem/decapsulate | Custodial decapsulation | unavailable |
| GET | /api/public/v1/usage | Per-project usage | unavailable |
400 INVALID_BODY — invalid JSON, incorrect content type or body over 64 KB.
400 VALIDATION_ERROR — unknown algorithm, invalid base64 or incorrect key/signature size.
400 INVALID_PUBLIC_KEY — ML-KEM-768 requires a 1,184-byte public key.
503 — self-test failure. 501 — operation unavailable.
Every response includes requestId and x-request-id. No keys are stored, no HSM is configured, and no independent audit is claimed.
curl -X POST "$APP_ORIGIN/api/public/v1/signatures/verify" \
-H "Content-Type: application/json" \
-d '{"algorithm":"ML-DSA-65","message":"aGVsbG8=","signature":"<base64 signature>","publicKey":"<base64 public key>"}'TEST ENVIRONMENT · KEYS GENERATED IN THIS TAB · NEVER STORED