---
title: "Statement signing key: check a signature in your own code"
canonical: https://uncensoredllm.ai/docs/statements-public-key
generated: 2026-11-23T06:12:15.145Z
source: https://uncensoredllm.ai/docs/statements-public-key
base_url: https://api.uncensoredllm.ai/v1
---

# Statement signing key.

Updated November 22, 2026.

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`.

[Get a key](https://app.uncensoredllm.ai/console)

## 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

```bash
curl https://api.uncensoredllm.ai/v1/statements/public-key
```

The in-browser checker at the [statement verify page](https://uncensoredllm.ai/statements/verify) 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.

## Read next

- [MCP servers](https://uncensoredllm.ai/docs/mcp-servers)
- [Log export](https://uncensoredllm.ai/docs/exports)
- [Invoices](https://uncensoredllm.ai/docs/invoices)
- [Billing details](https://uncensoredllm.ai/docs/billing-details)
- [Keys](https://uncensoredllm.ai/docs/keys)
- [Requests and receipts](https://uncensoredllm.ai/docs/requests)
- [Balance and spend limits](https://uncensoredllm.ai/docs/budgets)
- [Batches](https://uncensoredllm.ai/docs/batches)
- [Files](https://uncensoredllm.ai/docs/files)
- [Count tokens](https://uncensoredllm.ai/docs/count-tokens)
- [App usage stats](https://uncensoredllm.ai/docs/stats-apps)
- [Auth keys](https://uncensoredllm.ai/docs/auth-keys)
- [Webhook deliveries](https://uncensoredllm.ai/docs/webhooks-deliveries)
- [Docs: connect in two minutes](https://uncensoredllm.ai/docs)
- [Verify a statement](https://uncensoredllm.ai/statements/verify)
