getInsights()
Home > @gooddata/sdk-backend-spi > IWorkspaceInsightsService > getInsights
IWorkspaceInsightsService.getInsights() method
Queries workspace insights, using various criteria and paging settings.
Signature:
getInsights(options?: IInsightsQueryOptions): Promise<IInsightsQueryResult>;
Parameters
Parameter | Type | Description |
---|---|---|
options | IInsightsQueryOptions | (Optional) query options; if not specified defaults to no sorting, no filtering and 50 items per page |
Returns:
Promise<IInsightsQueryResult>
paged results, empty page with zero total count if there are no insights stored in the workspace