> For the complete documentation index, see [llms.txt](/llms.txt). Every page on this site is also available as markdown at `<path>.md`.

# Glimpse

Schema-neutral summary helper. Customer code supplies the domain-specific
fields; `glimpse(...)` only normalizes the result into JSON-compatible
values and produces a `{count, sample}` fallback for sequence inputs.

<span id="flowai_harness.glimpse.glimpse"></span>

## `glimpse`

`glimpse(value: 'Any', *, max_items: 'int' = 3) -> 'dict[str, Any]'`

<table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Default</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>value</code></td>
<td><code>Any</code></td>
<td>required</td>
</tr>
<tr>
<td><code>max_items</code></td>
<td><code>int</code></td>
<td><code>3</code></td>
</tr>
</tbody>
</table>

<p><strong>Returns:</strong> <code>dict[str, Any]</code></p>

Build a small schema-neutral glimpse from customer-provided data.

Domain-specific fields belong in customer code. For example, a customer can
pass a hand-built summary dict from ``ReferenceSpec.glimpse`` and this helper
will only normalize it to JSON-compatible values.
