Intercepting API calls
The SDK provides the following attributes to intercept API calls and handle interception via events and custom workflows:
-
interceptUrls
Allows configuring which API calls to intercept. -
interceptTimeout
Sets the timeout duration for handling interception. -
isOnBeforeGetVizDataInterceptEnabled
When set to true, it enables the use ofEmbedEvent.OnBeforeGetVizDataInterceptevent to emit and intercept search execution calls initiated by the users and implement custom logic or workflow to allow or restrict search execution. -
EmbedEvent.ApiIntercept
Emits when an API call matching the conditions defined ininterceptUrlsis detected.
For more information, see Intercept API calls and search requests.