# redact_transcript_value

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/hooks/transcript/redact_transcript_value)

Redact secret-like strings inside transcript content.

## Signature

```python
redact_transcript_value(
    value: object,
) -> JsonValue
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `value` | `object` | Yes | Arbitrary message content. |

## Returns

`JsonValue`

JSON-compatible content with URLs/credentials scrubbed.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/caaa7e7c12d214afa5cf0a1afed8eb6232aa6f7b/libs/code/deepagents_code/hooks/transcript.py#L602)