Devnet · Checking
DEVELOPER / API REFERENCE

API Reference

Public-material operations. Private keys and shared secrets are never returned.

Public API Endpoints

MethodEndpointContractStatus
GET/api/public/v1/healthLive ML-DSA signature and ML-KEM roundtrip self-testavailable
GET/api/public/v1/algorithmsAlgorithms and operation availabilityavailable
GET/api/public/v1/health/historyObserved worker self-test checks (volatile; reset on deployment)available
POST/api/public/v1/signatures/verifyalgorithm, message, signature, publicKey (base64) → validavailable
POST/api/public/v1/kem/encapsulateML-KEM-768 publicKey → cipherText, sharedSecretFingerprintavailable
POST/api/public/v1/keysServer-held keysunavailable
POST/api/public/v1/signatures/signCustodial signingunavailable
POST/api/public/v1/kem/decapsulateCustodial decapsulationunavailable
GET/api/public/v1/usagePer-project usageunavailable

Errors & Limits

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.

example.cURL

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

Cryptography Workbench

TEST ENVIRONMENT · KEYS GENERATED IN THIS TAB · NEVER STORED