createInsight()
Home > @gooddata/sdk-backend-spi > IWorkspaceInsightsService > createInsight
IWorkspaceInsightsService.createInsight() method
Create and save insight for the provided insight definition
Signature:
createInsight(insight: IInsightDefinition): Promise<IInsight>;
Parameters
Parameter | Type | Description |
---|---|---|
insight | IInsightDefinition | insight definition |
Returns:
Promise<IInsight>
promise of created insight