Skip to content

Variable: publishRequestSchema

const publishRequestSchema: ZodObject<{ dashboard_id: ZodString; embed_credentials: ZodOptional<ZodBoolean>; warehouse_id: ZodOptional<ZodString>; }, $strip>

  • dashboard_id: UUID identifying the dashboard to be published.
  • embed_credentials (optional): Flag to indicate if the publisher’s credentials should be embedded in the published dashboard. These embedded credentials will be used to execute the published dashboard’s queries.
  • warehouse_id (optional): The ID of the warehouse that can be used to override the warehouse which was set in the draft.