Skip to main content
GET
Get the preview

Authorizations

x-api-key
string
header
required

Your Vern API key. Create one at Settings → API keys.

Path Parameters

migration_id
string<uuid>
required

The migration ID returned by Create a migration.

Query Parameters

fields
string

Comma-separated column names to return, in the order given. Omit to return every column. Names are matched exactly and are case-sensitive — they are the same names used as CSV headers. An unrecognised name returns 400 (unknown_field) rather than being ignored, so a typo cannot silently leave data out of the response.

omit_empty
boolean
default:false

Drop columns that hold no data. A column is dropped only when it is empty in every row, so the rows you get back all keep the same shape. Empty means an empty string, null, or an absent value; whitespace counts as data. Combine with fields and the pruning applies within your selection.

How "empty" is decided depends on the endpoint. For exports it is read from the completed import's stored per-column coverage, so it reflects the whole sheet and stays stable across downloads; if that coverage is unavailable the request returns 409 (coverage_unavailable) rather than quietly returning every column. For the preview and extraction endpoints the returned rows are the entire payload, so emptiness is decided from them directly.

Response

The current preview.

status
string
Example:

"awaiting_approval"

templates
object[]
sheets
object[]