Receipts
Every reply carries a signed receipt. Sharded replies are signed inside the enclave. It is the proof behind every claim on this site, and it lives in your client, not on our side.
Fields
The receipt is the wispr object on every response. Point at a field, or at a line of the receipt, to see the other.
"wispr": { "masked": 4, "shards": [ { "id": 1, "class": "identity", "model": "qwen3.8-27b-uncensored", "host": "wispr-enclave" }, { "id": 2, "class": "financial", "model": "gemma-4-26b-uncensored", "host": "wispr-enclave" }, { "id": 3, "class": "reasoning", "model": "claude", "host": "provider, shard only" } ], "tokens": { "in": 812, "out": 1040 }, "cost_usd": 0.0147, "fee_usd": 0, "attestation": { "enclave": "wispr-casr", "measurement": "sha256:4f1c…a9e0", "quote": "…" }, "signature": "ed25519:…" }
| Field | Meaning |
|---|---|
masked | how many identifiers were replaced before anything left the enclave |
shards[] | per shard: class, model id, host (phala-tee, venice-tee, venice or provider), tokens, cost, resharded_from when a refusal was caught. An exit region joins it when relay exits ship Planned |
tokens | totals in and out |
cost_usd, fee_usd | sum of shards at provider rate with enclave time included; the fee is always 0 here because it is charged at top up |
attestation | enclave name, code measurement, TDX quote |
signature | Ed25519 over the receipt, by the enclave key named in the attestation |
Point at a row to light its lines in the receipt
Adapted from the docs example, not a live response: the two private model ids are the catalogue models that run on Phala TDX today. The measurement shown is the docs placeholder; the live one is on the security page.
Two kinds of receipt
Receipts for work the enclave never saw (one model with sharding off, images, video, speech) carry the measurement none and are signed by the gateway key instead.
| Request | Signed by | attestation.measurement |
|---|---|---|
| Sharded requests | the enclave key named in the attestation | the enclave build, for example sha256:b457efe8ba8acf600a42397072eea97e21ff42220b2d8c9de7bc9fba4b8203f5 |
| Sharding off, images, video, speech | the gateway key | none |
Verify one
npx wispr receipt verify receipt.json # signature, measurement, published build curl -X POST https://api.wispr.xyz/v1/receipts/verify \ -H "Content-Type: application/json" -d @receipt.json
The dashboard keeps receipts in your browser under Receipts and can export them as JSON. Turn that off in Settings and nothing is kept anywhere.
From code, the SDKs return the receipt with the answer: w.verify_receipt(r["wispr"]) in Python, await w.verifyReceipt(r.wispr) in Node. See SDKs and CLI.