> ## Documentation Index
> Fetch the complete documentation index at: https://alibi.itsdote.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# @alibi/sdk-node/redaction

> Secret / PII redaction — generated from packages/sdk-node/src/redaction.ts.

Secret / PII redaction for bodies, SQL, and observation payloads.

*Source:* [`packages/sdk-node/src/redaction.ts`](https://github.com/valid22/alibi-ai/blob/main/packages/sdk-node/src/redaction.ts)

## `redactSql`

```ts theme={null}
export function redactSql(sql: string): string
```

**Parameters**

| Name | Type |
| - | - |
| `sql` | `string` |

## `redactValue`

```ts theme={null}
export function redactValue(
  value: unknown,
  opts?: { extraPaths?: Iterable<string>; path?: string },
): unknown
```

**Parameters**

| Name | Type |
| - | - |
| `value` | `unknown` |
| `opts` | `\{ extraPaths?: Iterable<string>; path?: string \}` |

## `redactHeaders`

```ts theme={null}
export function redactHeaders(
  headers: Record<string, string>,
): Record<string, string>
```

**Parameters**

| Name | Type |
| - | - |
| `headers` | `Record<string, string>` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.