# @ohos.app.ability.insightIntent (insightIntent) The **insightIntent** module provides APIs for InsightIntent calls. > **NOTE** > > The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version. > > The APIs of this module can be used only in the stage model. ## Modules to Import ```ts import { insightIntent } from '@kit.AbilityKit'; ``` ## ExecuteMode Enumerates the InsightIntent call execution modes. **System capability**: SystemCapability.Ability.AbilityRuntime.Core | Name| Value| Description| | -------- | -------- | -------- | | UI_ABILITY_FOREGROUND | 0 | Display a UIAbility in the foreground.
**Atomic service API**: This API can be used in atomic services since API version 11.| | UI_ABILITY_BACKGROUND | 1 | Start a UIAbility in the background.
**Atomic service API**: This API can be used in atomic services since API version 11.| | UI_EXTENSION_ABILITY | 2 | Start a UIExtensionAbility.| ## ExecuteResult Defines the InsightIntent call execution result. **System capability**: SystemCapability.Ability.AbilityRuntime.Core | Name| Type| Read-only| Optional| Description| | -------- | -------- | -------- | -------- | -------- | | code | number | No| No| Error code returned.
**Atomic service API**: This API can be used in atomic services since API version 11.| | result | Record | No| Yes| Execution result returned.
**Atomic service API**: This API can be used in atomic services since API version 11.| | uris18+ | Array<string> | No| Yes| List of URIs authorized by the InsightIntent executor to the InsightIntent caller during the call.
**Atomic service API**: This API can be used in atomic services since API version 18.| | flags18+ | number | No| Yes| [Flags](js-apis-app-ability-wantConstant.md#flags) of the URIs authorized by the InsightIntent executor to the InsightIntent caller during the call.
**Atomic service API**: This API can be used in atomic services since API version 18.
**NOTE**
This parameter supports only **FLAG_AUTH_READ_URI_PERMISSION**, **FLAG_AUTH_WRITE_URI_PERMISSION**, and FLAG_AUTH_READ_URI_PERMISSION\|FLAG_AUTH_WRITE_URI_PERMISSION.|