Skip to main content
Returns the current preview — the output of the latest generate or update run, mapped to your templates sheet-by-sheet. This is exactly what the agent proposes to import; show it to your customer, then refine or execute. A migration has a preview once a generate/update run reaches awaiting_approval. Before that, this returns 404.

Authentication

Requires an x-api-key header. See Authentication.

Response

200 OK
status
string
Always awaiting_approval when a preview exists.
templates
object[]
The templates this migration targets, each { slug, name }.
sheets
object[]
One entry per output sheet:

Errors

Example

Next

  • Start a runupdate to refine, or execute to import.
  • Export CSV — get the validated rows after execute.