Preview the rows of a query of the mapping
Reads the first rows ONE query of a mapping returns — the mapping as sent, saved or not, and never saved by this call — exactly as a generation reads it: planned against the subscription’s pinned contract, with its filters (a parameter edge cut by the contract’s calendar), joins, computed columns, aggregation and closed-set narrowing, scoped to the institution the subscription files for. The closed-period rule does not apply, so the current period can be previewed. At most limit rows (1 to 100, default 20) are answered; hasMore says the query has more. A query that reads another query’s rows, a construct the engine does not execute, and the CRM source are refused. Previews share PREVIEW_MAX_CONCURRENT slots and answer 429 when they are busy. The body is capped at 1048576 bytes.
Autorizaciones
JWT bearer token issued by the identity provider.
Parámetros de ruta
Unique subscription identifier.
Cuerpo
The whole mapping, as YAML, exactly as a save would send it. It is planned against the subscription's pinned contract and NEVER saved.
"contract: br.example.document\nqueries: []\n"
The query of the mapping to read.
"saldos"
How many rows to answer, 1 to 100. Absent: 20.
20
Generation parameters the query's filters read, as a generation would be given them. Only the ones supplied are validated; the closed-period rule does not apply to a preview.
Respuesta
OK
The columns the query answers, in order: its groups then its sums when it aggregates; the columns it selects, else the ones it reads, when it does not.
How long the read took.
41
True when the query has more rows than the limit; the rows were cut, never refused.
false
The limit applied.
20
The query read.
"saldos"
At most limit rows, each keyed by the columns above. A number is its decimal text, never a float; null is null.

