SourcePreviewBody
Per-source preview body. Shape depends on `source_id` — see the provider README under `modules/sources/` (and optionally `/docs/source-detail/{source_id}.txt`). Validated at the handler level; the schema only enforces that the body is a JSON object. One key is source-agnostic: `limit` (optional, positive integer) caps how many rows come back. It is consumed by the preview endpoint and never reaches the source, so it works on every source type and does not reduce upstream fetching or change `metadata.total_results`.
Properties
limitintegermin 1Optional cap on rows returned. Response-shaping only — the source still fetches its normal preview sample, `metadata.total_results` is unchanged, and `metadata.capped` becomes true when rows are dropped.
Example
SourcePreviewBody example
{
"limit": 3
}