1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. AiSearchInstance
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.14.0
published on Thursday, Apr 2, 2026 by Pulumi

    Import

    This resource does not currently support pulumi import.

    Create AiSearchInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AiSearchInstance(name: string, args: AiSearchInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def AiSearchInstance(resource_name: str,
                         args: AiSearchInstanceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AiSearchInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         account_id: Optional[str] = None,
                         type: Optional[str] = None,
                         ai_search_instance_id: Optional[str] = None,
                         source: Optional[str] = None,
                         public_endpoint_params: Optional[AiSearchInstancePublicEndpointParamsArgs] = None,
                         reranking: Optional[bool] = None,
                         chunk: Optional[bool] = None,
                         chunk_overlap: Optional[int] = None,
                         chunk_size: Optional[int] = None,
                         custom_metadatas: Optional[Sequence[AiSearchInstanceCustomMetadataArgs]] = None,
                         embedding_model: Optional[str] = None,
                         fusion_method: Optional[str] = None,
                         hybrid_search_enabled: Optional[bool] = None,
                         max_num_results: Optional[int] = None,
                         metadata: Optional[AiSearchInstanceMetadataArgs] = None,
                         paused: Optional[bool] = None,
                         cache: Optional[bool] = None,
                         cache_threshold: Optional[str] = None,
                         reranking_model: Optional[str] = None,
                         retrieval_options: Optional[AiSearchInstanceRetrievalOptionsArgs] = None,
                         rewrite_model: Optional[str] = None,
                         rewrite_query: Optional[bool] = None,
                         score_threshold: Optional[float] = None,
                         aisearch_model: Optional[str] = None,
                         source_params: Optional[AiSearchInstanceSourceParamsArgs] = None,
                         summarization: Optional[bool] = None,
                         summarization_model: Optional[str] = None,
                         system_prompt_aisearch: Optional[str] = None,
                         system_prompt_index_summarization: Optional[str] = None,
                         system_prompt_rewrite_query: Optional[str] = None,
                         token_id: Optional[str] = None,
                         ai_gateway_id: Optional[str] = None)
    func NewAiSearchInstance(ctx *Context, name string, args AiSearchInstanceArgs, opts ...ResourceOption) (*AiSearchInstance, error)
    public AiSearchInstance(string name, AiSearchInstanceArgs args, CustomResourceOptions? opts = null)
    public AiSearchInstance(String name, AiSearchInstanceArgs args)
    public AiSearchInstance(String name, AiSearchInstanceArgs args, CustomResourceOptions options)
    
    type: cloudflare:AiSearchInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AiSearchInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AiSearchInstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AiSearchInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AiSearchInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AiSearchInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var aiSearchInstanceResource = new Cloudflare.Index.AiSearchInstance("aiSearchInstanceResource", new()
    {
        AccountId = "string",
        Type = "string",
        AiSearchInstanceId = "string",
        Source = "string",
        PublicEndpointParams = new Cloudflare.Inputs.AiSearchInstancePublicEndpointParamsArgs
        {
            AuthorizedHosts = new[]
            {
                "string",
            },
            ChatCompletionsEndpoint = new Cloudflare.Inputs.AiSearchInstancePublicEndpointParamsChatCompletionsEndpointArgs
            {
                Disabled = false,
            },
            Enabled = false,
            Mcp = new Cloudflare.Inputs.AiSearchInstancePublicEndpointParamsMcpArgs
            {
                Description = "string",
                Disabled = false,
            },
            RateLimit = new Cloudflare.Inputs.AiSearchInstancePublicEndpointParamsRateLimitArgs
            {
                PeriodMs = 0,
                Requests = 0,
                Technique = "string",
            },
            SearchEndpoint = new Cloudflare.Inputs.AiSearchInstancePublicEndpointParamsSearchEndpointArgs
            {
                Disabled = false,
            },
        },
        Reranking = false,
        Chunk = false,
        ChunkOverlap = 0,
        ChunkSize = 0,
        CustomMetadatas = new[]
        {
            new Cloudflare.Inputs.AiSearchInstanceCustomMetadataArgs
            {
                DataType = "string",
                FieldName = "string",
            },
        },
        EmbeddingModel = "string",
        FusionMethod = "string",
        HybridSearchEnabled = false,
        MaxNumResults = 0,
        Metadata = new Cloudflare.Inputs.AiSearchInstanceMetadataArgs
        {
            CreatedFromAisearchWizard = false,
            WorkerDomain = "string",
        },
        Paused = false,
        Cache = false,
        CacheThreshold = "string",
        RerankingModel = "string",
        RetrievalOptions = new Cloudflare.Inputs.AiSearchInstanceRetrievalOptionsArgs
        {
            KeywordMatchMode = "string",
        },
        RewriteModel = "string",
        RewriteQuery = false,
        ScoreThreshold = 0,
        AisearchModel = "string",
        SourceParams = new Cloudflare.Inputs.AiSearchInstanceSourceParamsArgs
        {
            ExcludeItems = new[]
            {
                "string",
            },
            IncludeItems = new[]
            {
                "string",
            },
            Prefix = "string",
            R2Jurisdiction = "string",
            WebCrawler = new Cloudflare.Inputs.AiSearchInstanceSourceParamsWebCrawlerArgs
            {
                ParseOptions = new Cloudflare.Inputs.AiSearchInstanceSourceParamsWebCrawlerParseOptionsArgs
                {
                    IncludeHeaders = 
                    {
                        { "string", "string" },
                    },
                    IncludeImages = false,
                    SpecificSitemaps = new[]
                    {
                        "string",
                    },
                    UseBrowserRendering = false,
                },
                ParseType = "string",
                StoreOptions = new Cloudflare.Inputs.AiSearchInstanceSourceParamsWebCrawlerStoreOptionsArgs
                {
                    StorageId = "string",
                    R2Jurisdiction = "string",
                    StorageType = "string",
                },
            },
        },
        Summarization = false,
        SummarizationModel = "string",
        SystemPromptAisearch = "string",
        SystemPromptIndexSummarization = "string",
        SystemPromptRewriteQuery = "string",
        TokenId = "string",
        AiGatewayId = "string",
    });
    
    example, err := cloudflare.NewAiSearchInstance(ctx, "aiSearchInstanceResource", &cloudflare.AiSearchInstanceArgs{
    	AccountId:          pulumi.String("string"),
    	Type:               pulumi.String("string"),
    	AiSearchInstanceId: pulumi.String("string"),
    	Source:             pulumi.String("string"),
    	PublicEndpointParams: &cloudflare.AiSearchInstancePublicEndpointParamsArgs{
    		AuthorizedHosts: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ChatCompletionsEndpoint: &cloudflare.AiSearchInstancePublicEndpointParamsChatCompletionsEndpointArgs{
    			Disabled: pulumi.Bool(false),
    		},
    		Enabled: pulumi.Bool(false),
    		Mcp: &cloudflare.AiSearchInstancePublicEndpointParamsMcpArgs{
    			Description: pulumi.String("string"),
    			Disabled:    pulumi.Bool(false),
    		},
    		RateLimit: &cloudflare.AiSearchInstancePublicEndpointParamsRateLimitArgs{
    			PeriodMs:  pulumi.Int(0),
    			Requests:  pulumi.Int(0),
    			Technique: pulumi.String("string"),
    		},
    		SearchEndpoint: &cloudflare.AiSearchInstancePublicEndpointParamsSearchEndpointArgs{
    			Disabled: pulumi.Bool(false),
    		},
    	},
    	Reranking:    pulumi.Bool(false),
    	Chunk:        pulumi.Bool(false),
    	ChunkOverlap: pulumi.Int(0),
    	ChunkSize:    pulumi.Int(0),
    	CustomMetadatas: cloudflare.AiSearchInstanceCustomMetadataArray{
    		&cloudflare.AiSearchInstanceCustomMetadataArgs{
    			DataType:  pulumi.String("string"),
    			FieldName: pulumi.String("string"),
    		},
    	},
    	EmbeddingModel:      pulumi.String("string"),
    	FusionMethod:        pulumi.String("string"),
    	HybridSearchEnabled: pulumi.Bool(false),
    	MaxNumResults:       pulumi.Int(0),
    	Metadata: &cloudflare.AiSearchInstanceMetadataArgs{
    		CreatedFromAisearchWizard: pulumi.Bool(false),
    		WorkerDomain:              pulumi.String("string"),
    	},
    	Paused:         pulumi.Bool(false),
    	Cache:          pulumi.Bool(false),
    	CacheThreshold: pulumi.String("string"),
    	RerankingModel: pulumi.String("string"),
    	RetrievalOptions: &cloudflare.AiSearchInstanceRetrievalOptionsArgs{
    		KeywordMatchMode: pulumi.String("string"),
    	},
    	RewriteModel:   pulumi.String("string"),
    	RewriteQuery:   pulumi.Bool(false),
    	ScoreThreshold: pulumi.Float64(0),
    	AisearchModel:  pulumi.String("string"),
    	SourceParams: &cloudflare.AiSearchInstanceSourceParamsArgs{
    		ExcludeItems: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IncludeItems: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Prefix:         pulumi.String("string"),
    		R2Jurisdiction: pulumi.String("string"),
    		WebCrawler: &cloudflare.AiSearchInstanceSourceParamsWebCrawlerArgs{
    			ParseOptions: &cloudflare.AiSearchInstanceSourceParamsWebCrawlerParseOptionsArgs{
    				IncludeHeaders: pulumi.StringMap{
    					"string": pulumi.String("string"),
    				},
    				IncludeImages: pulumi.Bool(false),
    				SpecificSitemaps: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				UseBrowserRendering: pulumi.Bool(false),
    			},
    			ParseType: pulumi.String("string"),
    			StoreOptions: &cloudflare.AiSearchInstanceSourceParamsWebCrawlerStoreOptionsArgs{
    				StorageId:      pulumi.String("string"),
    				R2Jurisdiction: pulumi.String("string"),
    				StorageType:    pulumi.String("string"),
    			},
    		},
    	},
    	Summarization:                  pulumi.Bool(false),
    	SummarizationModel:             pulumi.String("string"),
    	SystemPromptAisearch:           pulumi.String("string"),
    	SystemPromptIndexSummarization: pulumi.String("string"),
    	SystemPromptRewriteQuery:       pulumi.String("string"),
    	TokenId:                        pulumi.String("string"),
    	AiGatewayId:                    pulumi.String("string"),
    })
    
    var aiSearchInstanceResource = new AiSearchInstance("aiSearchInstanceResource", AiSearchInstanceArgs.builder()
        .accountId("string")
        .type("string")
        .aiSearchInstanceId("string")
        .source("string")
        .publicEndpointParams(AiSearchInstancePublicEndpointParamsArgs.builder()
            .authorizedHosts("string")
            .chatCompletionsEndpoint(AiSearchInstancePublicEndpointParamsChatCompletionsEndpointArgs.builder()
                .disabled(false)
                .build())
            .enabled(false)
            .mcp(AiSearchInstancePublicEndpointParamsMcpArgs.builder()
                .description("string")
                .disabled(false)
                .build())
            .rateLimit(AiSearchInstancePublicEndpointParamsRateLimitArgs.builder()
                .periodMs(0)
                .requests(0)
                .technique("string")
                .build())
            .searchEndpoint(AiSearchInstancePublicEndpointParamsSearchEndpointArgs.builder()
                .disabled(false)
                .build())
            .build())
        .reranking(false)
        .chunk(false)
        .chunkOverlap(0)
        .chunkSize(0)
        .customMetadatas(AiSearchInstanceCustomMetadataArgs.builder()
            .dataType("string")
            .fieldName("string")
            .build())
        .embeddingModel("string")
        .fusionMethod("string")
        .hybridSearchEnabled(false)
        .maxNumResults(0)
        .metadata(AiSearchInstanceMetadataArgs.builder()
            .createdFromAisearchWizard(false)
            .workerDomain("string")
            .build())
        .paused(false)
        .cache(false)
        .cacheThreshold("string")
        .rerankingModel("string")
        .retrievalOptions(AiSearchInstanceRetrievalOptionsArgs.builder()
            .keywordMatchMode("string")
            .build())
        .rewriteModel("string")
        .rewriteQuery(false)
        .scoreThreshold(0.0)
        .aisearchModel("string")
        .sourceParams(AiSearchInstanceSourceParamsArgs.builder()
            .excludeItems("string")
            .includeItems("string")
            .prefix("string")
            .r2Jurisdiction("string")
            .webCrawler(AiSearchInstanceSourceParamsWebCrawlerArgs.builder()
                .parseOptions(AiSearchInstanceSourceParamsWebCrawlerParseOptionsArgs.builder()
                    .includeHeaders(Map.of("string", "string"))
                    .includeImages(false)
                    .specificSitemaps("string")
                    .useBrowserRendering(false)
                    .build())
                .parseType("string")
                .storeOptions(AiSearchInstanceSourceParamsWebCrawlerStoreOptionsArgs.builder()
                    .storageId("string")
                    .r2Jurisdiction("string")
                    .storageType("string")
                    .build())
                .build())
            .build())
        .summarization(false)
        .summarizationModel("string")
        .systemPromptAisearch("string")
        .systemPromptIndexSummarization("string")
        .systemPromptRewriteQuery("string")
        .tokenId("string")
        .aiGatewayId("string")
        .build());
    
    ai_search_instance_resource = cloudflare.AiSearchInstance("aiSearchInstanceResource",
        account_id="string",
        type="string",
        ai_search_instance_id="string",
        source="string",
        public_endpoint_params={
            "authorized_hosts": ["string"],
            "chat_completions_endpoint": {
                "disabled": False,
            },
            "enabled": False,
            "mcp": {
                "description": "string",
                "disabled": False,
            },
            "rate_limit": {
                "period_ms": 0,
                "requests": 0,
                "technique": "string",
            },
            "search_endpoint": {
                "disabled": False,
            },
        },
        reranking=False,
        chunk=False,
        chunk_overlap=0,
        chunk_size=0,
        custom_metadatas=[{
            "data_type": "string",
            "field_name": "string",
        }],
        embedding_model="string",
        fusion_method="string",
        hybrid_search_enabled=False,
        max_num_results=0,
        metadata={
            "created_from_aisearch_wizard": False,
            "worker_domain": "string",
        },
        paused=False,
        cache=False,
        cache_threshold="string",
        reranking_model="string",
        retrieval_options={
            "keyword_match_mode": "string",
        },
        rewrite_model="string",
        rewrite_query=False,
        score_threshold=0,
        aisearch_model="string",
        source_params={
            "exclude_items": ["string"],
            "include_items": ["string"],
            "prefix": "string",
            "r2_jurisdiction": "string",
            "web_crawler": {
                "parse_options": {
                    "include_headers": {
                        "string": "string",
                    },
                    "include_images": False,
                    "specific_sitemaps": ["string"],
                    "use_browser_rendering": False,
                },
                "parse_type": "string",
                "store_options": {
                    "storage_id": "string",
                    "r2_jurisdiction": "string",
                    "storage_type": "string",
                },
            },
        },
        summarization=False,
        summarization_model="string",
        system_prompt_aisearch="string",
        system_prompt_index_summarization="string",
        system_prompt_rewrite_query="string",
        token_id="string",
        ai_gateway_id="string")
    
    const aiSearchInstanceResource = new cloudflare.AiSearchInstance("aiSearchInstanceResource", {
        accountId: "string",
        type: "string",
        aiSearchInstanceId: "string",
        source: "string",
        publicEndpointParams: {
            authorizedHosts: ["string"],
            chatCompletionsEndpoint: {
                disabled: false,
            },
            enabled: false,
            mcp: {
                description: "string",
                disabled: false,
            },
            rateLimit: {
                periodMs: 0,
                requests: 0,
                technique: "string",
            },
            searchEndpoint: {
                disabled: false,
            },
        },
        reranking: false,
        chunk: false,
        chunkOverlap: 0,
        chunkSize: 0,
        customMetadatas: [{
            dataType: "string",
            fieldName: "string",
        }],
        embeddingModel: "string",
        fusionMethod: "string",
        hybridSearchEnabled: false,
        maxNumResults: 0,
        metadata: {
            createdFromAisearchWizard: false,
            workerDomain: "string",
        },
        paused: false,
        cache: false,
        cacheThreshold: "string",
        rerankingModel: "string",
        retrievalOptions: {
            keywordMatchMode: "string",
        },
        rewriteModel: "string",
        rewriteQuery: false,
        scoreThreshold: 0,
        aisearchModel: "string",
        sourceParams: {
            excludeItems: ["string"],
            includeItems: ["string"],
            prefix: "string",
            r2Jurisdiction: "string",
            webCrawler: {
                parseOptions: {
                    includeHeaders: {
                        string: "string",
                    },
                    includeImages: false,
                    specificSitemaps: ["string"],
                    useBrowserRendering: false,
                },
                parseType: "string",
                storeOptions: {
                    storageId: "string",
                    r2Jurisdiction: "string",
                    storageType: "string",
                },
            },
        },
        summarization: false,
        summarizationModel: "string",
        systemPromptAisearch: "string",
        systemPromptIndexSummarization: "string",
        systemPromptRewriteQuery: "string",
        tokenId: "string",
        aiGatewayId: "string",
    });
    
    type: cloudflare:AiSearchInstance
    properties:
        accountId: string
        aiGatewayId: string
        aiSearchInstanceId: string
        aisearchModel: string
        cache: false
        cacheThreshold: string
        chunk: false
        chunkOverlap: 0
        chunkSize: 0
        customMetadatas:
            - dataType: string
              fieldName: string
        embeddingModel: string
        fusionMethod: string
        hybridSearchEnabled: false
        maxNumResults: 0
        metadata:
            createdFromAisearchWizard: false
            workerDomain: string
        paused: false
        publicEndpointParams:
            authorizedHosts:
                - string
            chatCompletionsEndpoint:
                disabled: false
            enabled: false
            mcp:
                description: string
                disabled: false
            rateLimit:
                periodMs: 0
                requests: 0
                technique: string
            searchEndpoint:
                disabled: false
        reranking: false
        rerankingModel: string
        retrievalOptions:
            keywordMatchMode: string
        rewriteModel: string
        rewriteQuery: false
        scoreThreshold: 0
        source: string
        sourceParams:
            excludeItems:
                - string
            includeItems:
                - string
            prefix: string
            r2Jurisdiction: string
            webCrawler:
                parseOptions:
                    includeHeaders:
                        string: string
                    includeImages: false
                    specificSitemaps:
                        - string
                    useBrowserRendering: false
                parseType: string
                storeOptions:
                    r2Jurisdiction: string
                    storageId: string
                    storageType: string
        summarization: false
        summarizationModel: string
        systemPromptAisearch: string
        systemPromptIndexSummarization: string
        systemPromptRewriteQuery: string
        tokenId: string
        type: string
    

    AiSearchInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AiSearchInstance resource accepts the following input properties:

    AccountId string
    AiSearchInstanceId string
    Use your AI Search ID.
    Source string
    Type string
    Available values: "r2", "web-crawler".
    AiGatewayId string
    AisearchModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    Cache bool
    CacheThreshold string
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    Chunk bool
    ChunkOverlap int
    ChunkSize int
    CustomMetadatas List<AiSearchInstanceCustomMetadata>
    EmbeddingModel string
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    FusionMethod string
    Available values: "max", "rrf".
    HybridSearchEnabled bool
    MaxNumResults int
    Metadata AiSearchInstanceMetadata
    Paused bool
    PublicEndpointParams AiSearchInstancePublicEndpointParams
    Reranking bool
    RerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    RetrievalOptions AiSearchInstanceRetrievalOptions
    RewriteModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    RewriteQuery bool
    ScoreThreshold double
    SourceParams AiSearchInstanceSourceParams
    Summarization bool
    SummarizationModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    SystemPromptAisearch string
    SystemPromptIndexSummarization string
    SystemPromptRewriteQuery string
    TokenId string
    AccountId string
    AiSearchInstanceId string
    Use your AI Search ID.
    Source string
    Type string
    Available values: "r2", "web-crawler".
    AiGatewayId string
    AisearchModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    Cache bool
    CacheThreshold string
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    Chunk bool
    ChunkOverlap int
    ChunkSize int
    CustomMetadatas []AiSearchInstanceCustomMetadataArgs
    EmbeddingModel string
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    FusionMethod string
    Available values: "max", "rrf".
    HybridSearchEnabled bool
    MaxNumResults int
    Metadata AiSearchInstanceMetadataArgs
    Paused bool
    PublicEndpointParams AiSearchInstancePublicEndpointParamsArgs
    Reranking bool
    RerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    RetrievalOptions AiSearchInstanceRetrievalOptionsArgs
    RewriteModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    RewriteQuery bool
    ScoreThreshold float64
    SourceParams AiSearchInstanceSourceParamsArgs
    Summarization bool
    SummarizationModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    SystemPromptAisearch string
    SystemPromptIndexSummarization string
    SystemPromptRewriteQuery string
    TokenId string
    accountId String
    aiSearchInstanceId String
    Use your AI Search ID.
    source String
    type String
    Available values: "r2", "web-crawler".
    aiGatewayId String
    aisearchModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache Boolean
    cacheThreshold String
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk Boolean
    chunkOverlap Integer
    chunkSize Integer
    customMetadatas List<AiSearchInstanceCustomMetadata>
    embeddingModel String
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    fusionMethod String
    Available values: "max", "rrf".
    hybridSearchEnabled Boolean
    maxNumResults Integer
    metadata AiSearchInstanceMetadata
    paused Boolean
    publicEndpointParams AiSearchInstancePublicEndpointParams
    reranking Boolean
    rerankingModel String
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions AiSearchInstanceRetrievalOptions
    rewriteModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewriteQuery Boolean
    scoreThreshold Double
    sourceParams AiSearchInstanceSourceParams
    summarization Boolean
    summarizationModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    systemPromptAisearch String
    systemPromptIndexSummarization String
    systemPromptRewriteQuery String
    tokenId String
    accountId string
    aiSearchInstanceId string
    Use your AI Search ID.
    source string
    type string
    Available values: "r2", "web-crawler".
    aiGatewayId string
    aisearchModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache boolean
    cacheThreshold string
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk boolean
    chunkOverlap number
    chunkSize number
    customMetadatas AiSearchInstanceCustomMetadata[]
    embeddingModel string
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    fusionMethod string
    Available values: "max", "rrf".
    hybridSearchEnabled boolean
    maxNumResults number
    metadata AiSearchInstanceMetadata
    paused boolean
    publicEndpointParams AiSearchInstancePublicEndpointParams
    reranking boolean
    rerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions AiSearchInstanceRetrievalOptions
    rewriteModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewriteQuery boolean
    scoreThreshold number
    sourceParams AiSearchInstanceSourceParams
    summarization boolean
    summarizationModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    systemPromptAisearch string
    systemPromptIndexSummarization string
    systemPromptRewriteQuery string
    tokenId string
    account_id str
    ai_search_instance_id str
    Use your AI Search ID.
    source str
    type str
    Available values: "r2", "web-crawler".
    ai_gateway_id str
    aisearch_model str
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache bool
    cache_threshold str
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk bool
    chunk_overlap int
    chunk_size int
    custom_metadatas Sequence[AiSearchInstanceCustomMetadataArgs]
    embedding_model str
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    fusion_method str
    Available values: "max", "rrf".
    hybrid_search_enabled bool
    max_num_results int
    metadata AiSearchInstanceMetadataArgs
    paused bool
    public_endpoint_params AiSearchInstancePublicEndpointParamsArgs
    reranking bool
    reranking_model str
    Available values: "@cf/baai/bge-reranker-base", "".
    retrieval_options AiSearchInstanceRetrievalOptionsArgs
    rewrite_model str
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewrite_query bool
    score_threshold float
    source_params AiSearchInstanceSourceParamsArgs
    summarization bool
    summarization_model str
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    system_prompt_aisearch str
    system_prompt_index_summarization str
    system_prompt_rewrite_query str
    token_id str
    accountId String
    aiSearchInstanceId String
    Use your AI Search ID.
    source String
    type String
    Available values: "r2", "web-crawler".
    aiGatewayId String
    aisearchModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache Boolean
    cacheThreshold String
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk Boolean
    chunkOverlap Number
    chunkSize Number
    customMetadatas List<Property Map>
    embeddingModel String
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    fusionMethod String
    Available values: "max", "rrf".
    hybridSearchEnabled Boolean
    maxNumResults Number
    metadata Property Map
    paused Boolean
    publicEndpointParams Property Map
    reranking Boolean
    rerankingModel String
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions Property Map
    rewriteModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewriteQuery Boolean
    scoreThreshold Number
    sourceParams Property Map
    summarization Boolean
    summarizationModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    systemPromptAisearch String
    systemPromptIndexSummarization String
    systemPromptRewriteQuery String
    tokenId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AiSearchInstance resource produces the following output properties:

    CreatedAt string
    CreatedBy string
    Enable bool
    Id string
    The provider-assigned unique ID for this managed resource.
    LastActivity string
    ModifiedAt string
    ModifiedBy string
    PublicEndpointId string
    Status string
    VectorizeName string
    CreatedAt string
    CreatedBy string
    Enable bool
    Id string
    The provider-assigned unique ID for this managed resource.
    LastActivity string
    ModifiedAt string
    ModifiedBy string
    PublicEndpointId string
    Status string
    VectorizeName string
    createdAt String
    createdBy String
    enable Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    lastActivity String
    modifiedAt String
    modifiedBy String
    publicEndpointId String
    status String
    vectorizeName String
    createdAt string
    createdBy string
    enable boolean
    id string
    The provider-assigned unique ID for this managed resource.
    lastActivity string
    modifiedAt string
    modifiedBy string
    publicEndpointId string
    status string
    vectorizeName string
    created_at str
    created_by str
    enable bool
    id str
    The provider-assigned unique ID for this managed resource.
    last_activity str
    modified_at str
    modified_by str
    public_endpoint_id str
    status str
    vectorize_name str
    createdAt String
    createdBy String
    enable Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    lastActivity String
    modifiedAt String
    modifiedBy String
    publicEndpointId String
    status String
    vectorizeName String

    Look up Existing AiSearchInstance Resource

    Get an existing AiSearchInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AiSearchInstanceState, opts?: CustomResourceOptions): AiSearchInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            ai_gateway_id: Optional[str] = None,
            ai_search_instance_id: Optional[str] = None,
            aisearch_model: Optional[str] = None,
            cache: Optional[bool] = None,
            cache_threshold: Optional[str] = None,
            chunk: Optional[bool] = None,
            chunk_overlap: Optional[int] = None,
            chunk_size: Optional[int] = None,
            created_at: Optional[str] = None,
            created_by: Optional[str] = None,
            custom_metadatas: Optional[Sequence[AiSearchInstanceCustomMetadataArgs]] = None,
            embedding_model: Optional[str] = None,
            enable: Optional[bool] = None,
            fusion_method: Optional[str] = None,
            hybrid_search_enabled: Optional[bool] = None,
            last_activity: Optional[str] = None,
            max_num_results: Optional[int] = None,
            metadata: Optional[AiSearchInstanceMetadataArgs] = None,
            modified_at: Optional[str] = None,
            modified_by: Optional[str] = None,
            paused: Optional[bool] = None,
            public_endpoint_id: Optional[str] = None,
            public_endpoint_params: Optional[AiSearchInstancePublicEndpointParamsArgs] = None,
            reranking: Optional[bool] = None,
            reranking_model: Optional[str] = None,
            retrieval_options: Optional[AiSearchInstanceRetrievalOptionsArgs] = None,
            rewrite_model: Optional[str] = None,
            rewrite_query: Optional[bool] = None,
            score_threshold: Optional[float] = None,
            source: Optional[str] = None,
            source_params: Optional[AiSearchInstanceSourceParamsArgs] = None,
            status: Optional[str] = None,
            summarization: Optional[bool] = None,
            summarization_model: Optional[str] = None,
            system_prompt_aisearch: Optional[str] = None,
            system_prompt_index_summarization: Optional[str] = None,
            system_prompt_rewrite_query: Optional[str] = None,
            token_id: Optional[str] = None,
            type: Optional[str] = None,
            vectorize_name: Optional[str] = None) -> AiSearchInstance
    func GetAiSearchInstance(ctx *Context, name string, id IDInput, state *AiSearchInstanceState, opts ...ResourceOption) (*AiSearchInstance, error)
    public static AiSearchInstance Get(string name, Input<string> id, AiSearchInstanceState? state, CustomResourceOptions? opts = null)
    public static AiSearchInstance get(String name, Output<String> id, AiSearchInstanceState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:AiSearchInstance    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    AiGatewayId string
    AiSearchInstanceId string
    Use your AI Search ID.
    AisearchModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    Cache bool
    CacheThreshold string
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    Chunk bool
    ChunkOverlap int
    ChunkSize int
    CreatedAt string
    CreatedBy string
    CustomMetadatas List<AiSearchInstanceCustomMetadata>
    EmbeddingModel string
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    Enable bool
    FusionMethod string
    Available values: "max", "rrf".
    HybridSearchEnabled bool
    LastActivity string
    MaxNumResults int
    Metadata AiSearchInstanceMetadata
    ModifiedAt string
    ModifiedBy string
    Paused bool
    PublicEndpointId string
    PublicEndpointParams AiSearchInstancePublicEndpointParams
    Reranking bool
    RerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    RetrievalOptions AiSearchInstanceRetrievalOptions
    RewriteModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    RewriteQuery bool
    ScoreThreshold double
    Source string
    SourceParams AiSearchInstanceSourceParams
    Status string
    Summarization bool
    SummarizationModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    SystemPromptAisearch string
    SystemPromptIndexSummarization string
    SystemPromptRewriteQuery string
    TokenId string
    Type string
    Available values: "r2", "web-crawler".
    VectorizeName string
    AccountId string
    AiGatewayId string
    AiSearchInstanceId string
    Use your AI Search ID.
    AisearchModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    Cache bool
    CacheThreshold string
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    Chunk bool
    ChunkOverlap int
    ChunkSize int
    CreatedAt string
    CreatedBy string
    CustomMetadatas []AiSearchInstanceCustomMetadataArgs
    EmbeddingModel string
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    Enable bool
    FusionMethod string
    Available values: "max", "rrf".
    HybridSearchEnabled bool
    LastActivity string
    MaxNumResults int
    Metadata AiSearchInstanceMetadataArgs
    ModifiedAt string
    ModifiedBy string
    Paused bool
    PublicEndpointId string
    PublicEndpointParams AiSearchInstancePublicEndpointParamsArgs
    Reranking bool
    RerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    RetrievalOptions AiSearchInstanceRetrievalOptionsArgs
    RewriteModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    RewriteQuery bool
    ScoreThreshold float64
    Source string
    SourceParams AiSearchInstanceSourceParamsArgs
    Status string
    Summarization bool
    SummarizationModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    SystemPromptAisearch string
    SystemPromptIndexSummarization string
    SystemPromptRewriteQuery string
    TokenId string
    Type string
    Available values: "r2", "web-crawler".
    VectorizeName string
    accountId String
    aiGatewayId String
    aiSearchInstanceId String
    Use your AI Search ID.
    aisearchModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache Boolean
    cacheThreshold String
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk Boolean
    chunkOverlap Integer
    chunkSize Integer
    createdAt String
    createdBy String
    customMetadatas List<AiSearchInstanceCustomMetadata>
    embeddingModel String
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    enable Boolean
    fusionMethod String
    Available values: "max", "rrf".
    hybridSearchEnabled Boolean
    lastActivity String
    maxNumResults Integer
    metadata AiSearchInstanceMetadata
    modifiedAt String
    modifiedBy String
    paused Boolean
    publicEndpointId String
    publicEndpointParams AiSearchInstancePublicEndpointParams
    reranking Boolean
    rerankingModel String
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions AiSearchInstanceRetrievalOptions
    rewriteModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewriteQuery Boolean
    scoreThreshold Double
    source String
    sourceParams AiSearchInstanceSourceParams
    status String
    summarization Boolean
    summarizationModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    systemPromptAisearch String
    systemPromptIndexSummarization String
    systemPromptRewriteQuery String
    tokenId String
    type String
    Available values: "r2", "web-crawler".
    vectorizeName String
    accountId string
    aiGatewayId string
    aiSearchInstanceId string
    Use your AI Search ID.
    aisearchModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache boolean
    cacheThreshold string
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk boolean
    chunkOverlap number
    chunkSize number
    createdAt string
    createdBy string
    customMetadatas AiSearchInstanceCustomMetadata[]
    embeddingModel string
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    enable boolean
    fusionMethod string
    Available values: "max", "rrf".
    hybridSearchEnabled boolean
    lastActivity string
    maxNumResults number
    metadata AiSearchInstanceMetadata
    modifiedAt string
    modifiedBy string
    paused boolean
    publicEndpointId string
    publicEndpointParams AiSearchInstancePublicEndpointParams
    reranking boolean
    rerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions AiSearchInstanceRetrievalOptions
    rewriteModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewriteQuery boolean
    scoreThreshold number
    source string
    sourceParams AiSearchInstanceSourceParams
    status string
    summarization boolean
    summarizationModel string
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    systemPromptAisearch string
    systemPromptIndexSummarization string
    systemPromptRewriteQuery string
    tokenId string
    type string
    Available values: "r2", "web-crawler".
    vectorizeName string
    account_id str
    ai_gateway_id str
    ai_search_instance_id str
    Use your AI Search ID.
    aisearch_model str
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache bool
    cache_threshold str
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk bool
    chunk_overlap int
    chunk_size int
    created_at str
    created_by str
    custom_metadatas Sequence[AiSearchInstanceCustomMetadataArgs]
    embedding_model str
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    enable bool
    fusion_method str
    Available values: "max", "rrf".
    hybrid_search_enabled bool
    last_activity str
    max_num_results int
    metadata AiSearchInstanceMetadataArgs
    modified_at str
    modified_by str
    paused bool
    public_endpoint_id str
    public_endpoint_params AiSearchInstancePublicEndpointParamsArgs
    reranking bool
    reranking_model str
    Available values: "@cf/baai/bge-reranker-base", "".
    retrieval_options AiSearchInstanceRetrievalOptionsArgs
    rewrite_model str
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewrite_query bool
    score_threshold float
    source str
    source_params AiSearchInstanceSourceParamsArgs
    status str
    summarization bool
    summarization_model str
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    system_prompt_aisearch str
    system_prompt_index_summarization str
    system_prompt_rewrite_query str
    token_id str
    type str
    Available values: "r2", "web-crawler".
    vectorize_name str
    accountId String
    aiGatewayId String
    aiSearchInstanceId String
    Use your AI Search ID.
    aisearchModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    cache Boolean
    cacheThreshold String
    Available values: "superstrictmatch", "closeenough", "flexiblefriend", "anythingGoes".
    chunk Boolean
    chunkOverlap Number
    chunkSize Number
    createdAt String
    createdBy String
    customMetadatas List<Property Map>
    embeddingModel String
    Available values: "@cf/qwen/qwen3-embedding-0.6b", "@cf/baai/bge-m3", "@cf/baai/bge-large-en-v1.5", "@cf/google/embeddinggemma-300m", "google-ai-studio/gemini-embedding-001", "openai/text-embedding-3-small", "openai/text-embedding-3-large", "".
    enable Boolean
    fusionMethod String
    Available values: "max", "rrf".
    hybridSearchEnabled Boolean
    lastActivity String
    maxNumResults Number
    metadata Property Map
    modifiedAt String
    modifiedBy String
    paused Boolean
    publicEndpointId String
    publicEndpointParams Property Map
    reranking Boolean
    rerankingModel String
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions Property Map
    rewriteModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    rewriteQuery Boolean
    scoreThreshold Number
    source String
    sourceParams Property Map
    status String
    summarization Boolean
    summarizationModel String
    Available values: "@cf/meta/llama-3.3-70b-instruct-fp8-fast", "@cf/zai-org/glm-4.7-flash", "@cf/meta/llama-3.1-8b-instruct-fast", "@cf/meta/llama-3.1-8b-instruct-fp8", "@cf/meta/llama-4-scout-17b-16e-instruct", "@cf/qwen/qwen3-30b-a3b-fp8", "@cf/deepseek-ai/deepseek-r1-distill-qwen-32b", "@cf/moonshotai/kimi-k2-instruct", "@cf/google/gemma-3-12b-it", "anthropic/claude-3-7-sonnet", "anthropic/claude-sonnet-4", "anthropic/claude-opus-4", "anthropic/claude-3-5-haiku", "cerebras/qwen-3-235b-a22b-instruct", "cerebras/qwen-3-235b-a22b-thinking", "cerebras/llama-3.3-70b", "cerebras/llama-4-maverick-17b-128e-instruct", "cerebras/llama-4-scout-17b-16e-instruct", "cerebras/gpt-oss-120b", "google-ai-studio/gemini-2.5-flash", "google-ai-studio/gemini-2.5-pro", "grok/grok-4", "groq/llama-3.3-70b-versatile", "groq/llama-3.1-8b-instant", "openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-5-nano", "".
    systemPromptAisearch String
    systemPromptIndexSummarization String
    systemPromptRewriteQuery String
    tokenId String
    type String
    Available values: "r2", "web-crawler".
    vectorizeName String

    Supporting Types

    AiSearchInstanceCustomMetadata, AiSearchInstanceCustomMetadataArgs

    DataType string
    Available values: "text", "number", "boolean".
    FieldName string
    DataType string
    Available values: "text", "number", "boolean".
    FieldName string
    dataType String
    Available values: "text", "number", "boolean".
    fieldName String
    dataType string
    Available values: "text", "number", "boolean".
    fieldName string
    data_type str
    Available values: "text", "number", "boolean".
    field_name str
    dataType String
    Available values: "text", "number", "boolean".
    fieldName String

    AiSearchInstanceMetadata, AiSearchInstanceMetadataArgs

    AiSearchInstancePublicEndpointParams, AiSearchInstancePublicEndpointParamsArgs

    AiSearchInstancePublicEndpointParamsChatCompletionsEndpoint, AiSearchInstancePublicEndpointParamsChatCompletionsEndpointArgs

    Disabled bool
    Disable chat completions endpoint for this public endpoint
    Disabled bool
    Disable chat completions endpoint for this public endpoint
    disabled Boolean
    Disable chat completions endpoint for this public endpoint
    disabled boolean
    Disable chat completions endpoint for this public endpoint
    disabled bool
    Disable chat completions endpoint for this public endpoint
    disabled Boolean
    Disable chat completions endpoint for this public endpoint

    AiSearchInstancePublicEndpointParamsMcp, AiSearchInstancePublicEndpointParamsMcpArgs

    Description string
    Disabled bool
    Disable MCP endpoint for this public endpoint
    Description string
    Disabled bool
    Disable MCP endpoint for this public endpoint
    description String
    disabled Boolean
    Disable MCP endpoint for this public endpoint
    description string
    disabled boolean
    Disable MCP endpoint for this public endpoint
    description str
    disabled bool
    Disable MCP endpoint for this public endpoint
    description String
    disabled Boolean
    Disable MCP endpoint for this public endpoint

    AiSearchInstancePublicEndpointParamsRateLimit, AiSearchInstancePublicEndpointParamsRateLimitArgs

    PeriodMs int
    Requests int
    Technique string
    Available values: "fixed", "sliding".
    PeriodMs int
    Requests int
    Technique string
    Available values: "fixed", "sliding".
    periodMs Integer
    requests Integer
    technique String
    Available values: "fixed", "sliding".
    periodMs number
    requests number
    technique string
    Available values: "fixed", "sliding".
    period_ms int
    requests int
    technique str
    Available values: "fixed", "sliding".
    periodMs Number
    requests Number
    technique String
    Available values: "fixed", "sliding".

    AiSearchInstancePublicEndpointParamsSearchEndpoint, AiSearchInstancePublicEndpointParamsSearchEndpointArgs

    Disabled bool
    Disable search endpoint for this public endpoint
    Disabled bool
    Disable search endpoint for this public endpoint
    disabled Boolean
    Disable search endpoint for this public endpoint
    disabled boolean
    Disable search endpoint for this public endpoint
    disabled bool
    Disable search endpoint for this public endpoint
    disabled Boolean
    Disable search endpoint for this public endpoint

    AiSearchInstanceRetrievalOptions, AiSearchInstanceRetrievalOptionsArgs

    KeywordMatchMode string
    Controls how keyword search terms are matched. exactmatch requires all terms to appear (AND); fuzzymatch returns results containing any term (OR). Defaults to exactmatch. Available values: "exactmatch", "fuzzyMatch".
    KeywordMatchMode string
    Controls how keyword search terms are matched. exactmatch requires all terms to appear (AND); fuzzymatch returns results containing any term (OR). Defaults to exactmatch. Available values: "exactmatch", "fuzzyMatch".
    keywordMatchMode String
    Controls how keyword search terms are matched. exactmatch requires all terms to appear (AND); fuzzymatch returns results containing any term (OR). Defaults to exactmatch. Available values: "exactmatch", "fuzzyMatch".
    keywordMatchMode string
    Controls how keyword search terms are matched. exactmatch requires all terms to appear (AND); fuzzymatch returns results containing any term (OR). Defaults to exactmatch. Available values: "exactmatch", "fuzzyMatch".
    keyword_match_mode str
    Controls how keyword search terms are matched. exactmatch requires all terms to appear (AND); fuzzymatch returns results containing any term (OR). Defaults to exactmatch. Available values: "exactmatch", "fuzzyMatch".
    keywordMatchMode String
    Controls how keyword search terms are matched. exactmatch requires all terms to appear (AND); fuzzymatch returns results containing any term (OR). Defaults to exactmatch. Available values: "exactmatch", "fuzzyMatch".

    AiSearchInstanceSourceParams, AiSearchInstanceSourceParamsArgs

    ExcludeItems List<string>
    List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced)
    IncludeItems List<string>
    List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post)
    Prefix string
    R2Jurisdiction string
    WebCrawler AiSearchInstanceSourceParamsWebCrawler
    ExcludeItems []string
    List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced)
    IncludeItems []string
    List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post)
    Prefix string
    R2Jurisdiction string
    WebCrawler AiSearchInstanceSourceParamsWebCrawler
    excludeItems List<String>
    List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced)
    includeItems List<String>
    List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post)
    prefix String
    r2Jurisdiction String
    webCrawler AiSearchInstanceSourceParamsWebCrawler
    excludeItems string[]
    List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced)
    includeItems string[]
    List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post)
    prefix string
    r2Jurisdiction string
    webCrawler AiSearchInstanceSourceParamsWebCrawler
    exclude_items Sequence[str]
    List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced)
    include_items Sequence[str]
    List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post)
    prefix str
    r2_jurisdiction str
    web_crawler AiSearchInstanceSourceParamsWebCrawler
    excludeItems List<String>
    List of path patterns to exclude. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /admin/** matches /admin/users and /admin/settings/advanced)
    includeItems List<String>
    List of path patterns to include. Uses micromatch glob syntax: * matches within a path segment, ** matches across path segments (e.g., /blog/** matches /blog/post and /blog/2024/post)
    prefix String
    r2Jurisdiction String
    webCrawler Property Map

    AiSearchInstanceSourceParamsWebCrawler, AiSearchInstanceSourceParamsWebCrawlerArgs

    parseOptions Property Map
    parseType String
    Available values: "sitemap", "feed-rss".
    storeOptions Property Map

    AiSearchInstanceSourceParamsWebCrawlerParseOptions, AiSearchInstanceSourceParamsWebCrawlerParseOptionsArgs

    IncludeHeaders Dictionary<string, string>
    IncludeImages bool
    SpecificSitemaps List<string>
    List of specific sitemap URLs to use for crawling. Only valid when parseType is 'sitemap'.
    UseBrowserRendering bool
    IncludeHeaders map[string]string
    IncludeImages bool
    SpecificSitemaps []string
    List of specific sitemap URLs to use for crawling. Only valid when parseType is 'sitemap'.
    UseBrowserRendering bool
    includeHeaders Map<String,String>
    includeImages Boolean
    specificSitemaps List<String>
    List of specific sitemap URLs to use for crawling. Only valid when parseType is 'sitemap'.
    useBrowserRendering Boolean
    includeHeaders {[key: string]: string}
    includeImages boolean
    specificSitemaps string[]
    List of specific sitemap URLs to use for crawling. Only valid when parseType is 'sitemap'.
    useBrowserRendering boolean
    include_headers Mapping[str, str]
    include_images bool
    specific_sitemaps Sequence[str]
    List of specific sitemap URLs to use for crawling. Only valid when parseType is 'sitemap'.
    use_browser_rendering bool
    includeHeaders Map<String>
    includeImages Boolean
    specificSitemaps List<String>
    List of specific sitemap URLs to use for crawling. Only valid when parseType is 'sitemap'.
    useBrowserRendering Boolean

    AiSearchInstanceSourceParamsWebCrawlerStoreOptions, AiSearchInstanceSourceParamsWebCrawlerStoreOptionsArgs

    StorageId string
    R2Jurisdiction string
    StorageType string
    Available values: "r2".
    StorageId string
    R2Jurisdiction string
    StorageType string
    Available values: "r2".
    storageId String
    r2Jurisdiction String
    storageType String
    Available values: "r2".
    storageId string
    r2Jurisdiction string
    storageType string
    Available values: "r2".
    storage_id str
    r2_jurisdiction str
    storage_type str
    Available values: "r2".
    storageId String
    r2Jurisdiction String
    storageType String
    Available values: "r2".

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.14.0
    published on Thursday, Apr 2, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.