Optional
init: RequestInitOptional
init: RequestInitOptional
data?: Record<string, never>Optional
update?: 0 | 1Fetches insights based on the provided query.
The query object containing parameters for fetching insights.
A promise that resolves to the data from the insights endpoint
MDN Reference