releases.shpreview
Upstash/Workflow Released/Sensitive Data Redaction On Console/API

Sensitive Data Redaction On Console/API

$npx -y @buildinternet/releases show rel_FM-YNustYPkirpsgt9JWu

Workflow logs may contain sensitive data in the body or headers. Users need a way to redact these fields so they are not visible in the dashboard or API responses, preventing accidental data leaks. This also enables safer use of Workflow in multi-tenant setups where customer data may be included in logs.

API

Allow specifying fields to redact when triggering a workflow.

" });

const { workflowRunId } = await client.trigger({ url: "https://my-app.com/api/workflow", body: { hello: "world" }, redact: { body: true, header: ["Authorization"] // or header: true to redact all headers }, });">import { Client } from "@upstash/workflow";

const client = new Client({ token: "" });

const { workflowRunId } = await client.trigger({ url: "https://my-app.com/api/workflow", body: { hello: "world" }, redact: { body: true, header: ["Authorization"] // or header: true to redact all headers }, });

In this example, the log body and the "Authorization" header are redacted and will not appear in the UI or API responses. Instead, the UI will display REDACTED: so users can verify the value without revealing the original data.

Docs: https://upstash.com/docs/workflow/howto/redact-fields

Fetched April 19, 2026