Sanity App SDK
    Preparing search index...

    Interface Intent

    Intent definition structure for registering user intents

    interface Intent {
        action: "delete" | "create" | "edit" | "view";
        description?: string;
        filters: IntentFilter[];
        id: string;
        title: string;
    }
    Index

    Properties

    action: "delete" | "create" | "edit" | "view"

    The action that this intent performs

    Examples: "view", "edit", "create", "delete"

    description?: string

    Detailed description of what this intent does

    Helps users understand the purpose and behavior of the intent

    filters: IntentFilter[]

    Array of filter criteria for intent matching

    At least one filter is required. Use {types: ['*']} to match everything

    id: string

    Unique identifier for this intent

    Should be unique across all registered intents in an org for proper matching

    title: string

    Human-readable title for this intent

    Used for display purposes in UI or logs