Skip to main content
Use Enhanced view to inspect documents and code already recorded in a native Trace. You need read access to the Trace and an AI Vision version that offers the preview controls.

Find the recorded content

  1. Open Agent traces and select your Trace.
  2. In Preview, find the input or output. Use View full message for input and View output source or View full output for output.
  3. For an individual call, select its Span and expand Input or Output in Enhanced view. Use Original / JSON to verify the recorded fields or message boundaries. See Read call content.

Open a document

Choose Preview HTML or Preview Markdown when it appears. If the content is recorded as a file, use Load media or Load on its card first. See View recorded media for attachment permissions and loading controls. Select Preview to read the document or Source to inspect the text. The copy icon copies the source. Identifiable fragments can be previewed even when the recording ends before a closing tag. Adjacent text parts in one message may form a single document. Separate calls and messages retain their own content. An explicit HTTPS URL ending in .html or .htm in its path can offer Preview HTML. AI Vision requests the URL when you select the action. It sends no credentials or referrer, follows no redirects, and accepts a UTF-8 text/html response up to 512 KiB. The serving site needs to allow the browser’s cross-origin request. If the preview is unavailable, check the recorded URL and server response, then select Retry. HTML is rendered in a static sandbox. Scripts, navigation inside the document, and external resources are blocked. Markdown document previews show link text without opening destinations or loading remote images.
Static HTML preview showing a sample report table, with Preview, Source, Copy and Close in the top barStatic HTML preview showing a sample report table, with Preview, Source, Copy and Close in the top bar

HTML link opened in the static preview · Synthetic data · Select to enlarge

Read and copy code

Recognized code blocks and code fields display in a separate block, with syntax highlighting when the language is supported. Select Expand full text when it appears. Use Copy original content on the code block to preserve its indentation, spaces and line breaks. Adjacent recorded text parts that split one code fence can be rejoined within the same message. Code stays as text. AI Vision does not execute it or request URLs inside it. Very long or unrecognized code can appear as plain text. Use Original / JSON to check the containing message when a code block is missing.
Trace input showing the Preview HTML action above an expanded JavaScript block with a copy icon and a URL rendered as a stringTrace input showing the Preview HTML action above an expanded JavaScript block with a copy icon and a URL rendered as a string

Expanded JavaScript in a Trace input · Synthetic data · Select to enlarge