By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Rebuilding a session from Claude Code OpenTelemetry events

Claude Code can export user_prompt, tool_decision and tool_result events that share session.id, prompt.id and tool_use_id. Prompt text and tool details are redacted unless you opt in with OTEL_LOG_USER_PROMPTS and OTEL_LOG_TOOL_DETAILS. Turn them on before an incident, then join the events to replay one prompt's tool calls.

Read in this order

  1. OfficialMonitoring (Claude Code docs)Lists the event names, correlation IDs and the opt-in flags that unredact prompts and tool inputs.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.