QStash messages can contain private data that you don’t want visible in the Upstash Console, or API responses. QStash allows you to redact specific fields so they appear asDocumentation Index
Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
REDACTED:<SHA256> in the dashboard and API. The original values are still used when delivering messages to your endpoint. The SHA256 hash lets you verify the two data without revealing the original data.
To redact a field, pass the redact option when publishing a message.
Available options:
| Option | Description |
|---|---|
| body | Redact the body of the message |
| headers | Redact the headers of the message |
| headers[header_name] | Redact a specific header (e.g., headers[Authorization]) |
Redaction is one-way. Once a field is redacted, the original value cannot be retrieved from the API or dashboard.

Schedules
You can also redact fields in schedules. Pass theredact option when creating a schedule, and all messages produced by that schedule will have the specified fields redacted.
Schedule get and list endpoints also apply redaction, so private data won’t appear in API responses or the dashboard.
