Skip to content

Variable: GenieDatasetDataSchema

const GenieDatasetDataSchema: ZodObject<{ columns: ZodArray<ZodString>; rowCount: ZodNumber; rows: ZodArray<ZodRecord<ZodString, ZodUnknown>>; }, $strip>

Tabular payload embedded in every GenieSummaryItem visualize dataset. Always present: hydrated by the workflow’s agent step before the finalize step runs, so consumers can render a table fallback regardless of chart-planner outcome.

Fields:

  • columns: column names in display order.
  • rows: tabular rows keyed by column name.
  • rowCount: total row count Genie reported (may exceed rows.length when the statement was truncated).