getInsight()
Home > @gooddata/sdk-backend-spi > IWorkspaceInsightsService > getInsight
IWorkspaceInsightsService.getInsight() method
Request insight for the given reference
Signature:
getInsight(ref: ObjRef, options?: IGetInsightOptions): Promise<IInsight>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| ref | ObjRef | insight reference |
| options | IGetInsightOptions | (Optional) specify additional options |
Returns:
Promise<IInsight>
promise of insight