Receipts: Publish savings receipt
metrecept_publish_savings_receiptPublish a public, shareable Ed25519-signed savings snapshot at a metrecept.co.uk link and generate a README badge so users can share savings outside their tenant.
Instructions
Publish a public, shareable savings receipt: an immutable Ed25519-signed snapshot of current savings at metrecept.co.uk/r/, plus a README badge snippet. Use it when the user wants to share savings outside the tenant. Not for checking the numbers privately: use metrecept_get_savings (call it first to review). Not for a per-run record: use metrecept_get_session_receipt. Side effect: creates a public page that lives 90 days and shows only display_name, never the tenant id or key. Not billed. Requires a Metrecept API key (METRECEPT_API_KEY env on stdio, or Authorization: Bearer on remote HTTP); results are scoped to that key's tenant only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| display_name | No | Optional public name shown on the receipt (team or project); empty shows "an anonymous workspace". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |