Statement signing key.
Monthly statements and the receipt attached to every model request are signed, and this route publishes the matching public key so you can check a signature on your own. GET /v1/statements/public-key takes no credential, answers cross-origin, and is cached for an hour at https://api.uncensoredllm.ai/v1/statements/public-key.
What comes back
| Field | Notes |
|---|---|
key_id | The key’s identifier, equal to the JWK’s RFC 7638 thumbprint. |
alg | The algorithm, Ed25519. |
jwk | The public JSON Web Key itself: an OKP key on the Ed25519 curve, its x value (the public key bytes, base64url), plus kid, use set to sig and alg set to EdDSA. |
verify | A brief pointer on checking a signature. |
Every statement and receipt names the key_id it was signed under, so the pattern is: pull this key, confirm the identifier lines up, then validate the statement’s signature with whatever Ed25519 implementation you prefer. The signed payload of a statement carries its CSV’s hash as well, so a single signature covers the pair. If statement signing is not set up the route answers 503 not_configured.
Example
curl https://api.uncensoredllm.ai/v1/statements/public-keyThe in-browser checker at the statement verify page uses this very key to validate a statement, its CSV or a single response receipt through Web Crypto, uploading nothing and asking for no sign-in. This route is how you run the same verification from your own program.
Signing key: questions
Does fetching it require a key?
No. The route is open to any origin and cached for an hour, because a verification key is meant to be read by anyone who wants to confirm a signature.
How can I be sure it is the correct key?
Fetch it over https from this route on the API host, then compare the key_id each statement and receipt carries with the identifier returned here, namely the JWK’s RFC 7638 thumbprint. Only when the two match does a valid signature prove the document came from the gateway.
What is it able to verify?
A monthly statement, its CSV (the signed payload holds the CSV hash, so one signature spans both) and any per-request model receipt. Once you hold the JWK, any Ed25519 verifier does the job. See the in-browser verifier.