1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getAiSearchInstance
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

    Using getAiSearchInstance

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAiSearchInstance(args: GetAiSearchInstanceArgs, opts?: InvokeOptions): Promise<GetAiSearchInstanceResult>
    function getAiSearchInstanceOutput(args: GetAiSearchInstanceOutputArgs, opts?: InvokeOptions): Output<GetAiSearchInstanceResult>
    def get_ai_search_instance(account_id: Optional[str] = None,
                               filter: Optional[GetAiSearchInstanceFilter] = None,
                               id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAiSearchInstanceResult
    def get_ai_search_instance_output(account_id: Optional[pulumi.Input[str]] = None,
                               filter: Optional[pulumi.Input[GetAiSearchInstanceFilterArgs]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAiSearchInstanceResult]
    func LookupAiSearchInstance(ctx *Context, args *LookupAiSearchInstanceArgs, opts ...InvokeOption) (*LookupAiSearchInstanceResult, error)
    func LookupAiSearchInstanceOutput(ctx *Context, args *LookupAiSearchInstanceOutputArgs, opts ...InvokeOption) LookupAiSearchInstanceResultOutput

    > Note: This function is named LookupAiSearchInstance in the Go SDK.

    public static class GetAiSearchInstance 
    {
        public static Task<GetAiSearchInstanceResult> InvokeAsync(GetAiSearchInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetAiSearchInstanceResult> Invoke(GetAiSearchInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAiSearchInstanceResult> getAiSearchInstance(GetAiSearchInstanceArgs args, InvokeOptions options)
    public static Output<GetAiSearchInstanceResult> getAiSearchInstance(GetAiSearchInstanceArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getAiSearchInstance:getAiSearchInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountId string
    Filter GetAiSearchInstanceFilter
    Id string
    Use your AI Search ID.
    AccountId string
    Filter GetAiSearchInstanceFilter
    Id string
    Use your AI Search ID.
    accountId String
    filter GetAiSearchInstanceFilter
    id String
    Use your AI Search ID.
    accountId string
    filter GetAiSearchInstanceFilter
    id string
    Use your AI Search ID.
    account_id str
    filter GetAiSearchInstanceFilter
    id str
    Use your AI Search ID.
    accountId String
    filter Property Map
    id String
    Use your AI Search ID.

    getAiSearchInstance Result

    The following output properties are available:

    AccountId string
    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".
    ChunkOverlap int
    ChunkSize int
    CreatedAt string
    CreatedBy string
    CustomMetadatas List<GetAiSearchInstanceCustomMetadata>
    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
    Id string
    Use your AI Search ID.
    LastActivity string
    MaxNumResults int
    Metadata GetAiSearchInstanceMetadata
    ModifiedAt string
    ModifiedBy string
    Paused bool
    PublicEndpointId string
    PublicEndpointParams GetAiSearchInstancePublicEndpointParams
    Reranking bool
    RerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    RetrievalOptions GetAiSearchInstanceRetrievalOptions
    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 GetAiSearchInstanceSourceParams
    Status string
    TokenId string
    Type string
    Available values: "r2", "web-crawler".
    VectorizeName string
    Filter GetAiSearchInstanceFilter
    AccountId string
    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".
    ChunkOverlap int
    ChunkSize int
    CreatedAt string
    CreatedBy string
    CustomMetadatas []GetAiSearchInstanceCustomMetadata
    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
    Id string
    Use your AI Search ID.
    LastActivity string
    MaxNumResults int
    Metadata GetAiSearchInstanceMetadata
    ModifiedAt string
    ModifiedBy string
    Paused bool
    PublicEndpointId string
    PublicEndpointParams GetAiSearchInstancePublicEndpointParams
    Reranking bool
    RerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    RetrievalOptions GetAiSearchInstanceRetrievalOptions
    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 GetAiSearchInstanceSourceParams
    Status string
    TokenId string
    Type string
    Available values: "r2", "web-crawler".
    VectorizeName string
    Filter GetAiSearchInstanceFilter
    accountId String
    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".
    chunkOverlap Integer
    chunkSize Integer
    createdAt String
    createdBy String
    customMetadatas List<GetAiSearchInstanceCustomMetadata>
    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
    id String
    Use your AI Search ID.
    lastActivity String
    maxNumResults Integer
    metadata GetAiSearchInstanceMetadata
    modifiedAt String
    modifiedBy String
    paused Boolean
    publicEndpointId String
    publicEndpointParams GetAiSearchInstancePublicEndpointParams
    reranking Boolean
    rerankingModel String
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions GetAiSearchInstanceRetrievalOptions
    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 GetAiSearchInstanceSourceParams
    status String
    tokenId String
    type String
    Available values: "r2", "web-crawler".
    vectorizeName String
    filter GetAiSearchInstanceFilter
    accountId string
    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".
    chunkOverlap number
    chunkSize number
    createdAt string
    createdBy string
    customMetadatas GetAiSearchInstanceCustomMetadata[]
    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
    id string
    Use your AI Search ID.
    lastActivity string
    maxNumResults number
    metadata GetAiSearchInstanceMetadata
    modifiedAt string
    modifiedBy string
    paused boolean
    publicEndpointId string
    publicEndpointParams GetAiSearchInstancePublicEndpointParams
    reranking boolean
    rerankingModel string
    Available values: "@cf/baai/bge-reranker-base", "".
    retrievalOptions GetAiSearchInstanceRetrievalOptions
    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 GetAiSearchInstanceSourceParams
    status string
    tokenId string
    type string
    Available values: "r2", "web-crawler".
    vectorizeName string
    filter GetAiSearchInstanceFilter
    account_id str
    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_overlap int
    chunk_size int
    created_at str
    created_by str
    custom_metadatas Sequence[GetAiSearchInstanceCustomMetadata]
    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
    id str
    Use your AI Search ID.
    last_activity str
    max_num_results int
    metadata GetAiSearchInstanceMetadata
    modified_at str
    modified_by str
    paused bool
    public_endpoint_id str
    public_endpoint_params GetAiSearchInstancePublicEndpointParams
    reranking bool
    reranking_model str
    Available values: "@cf/baai/bge-reranker-base", "".
    retrieval_options GetAiSearchInstanceRetrievalOptions
    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 GetAiSearchInstanceSourceParams
    status str
    token_id str
    type str
    Available values: "r2", "web-crawler".
    vectorize_name str
    filter GetAiSearchInstanceFilter
    accountId String
    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".
    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
    id String
    Use your AI Search ID.
    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
    tokenId String
    type String
    Available values: "r2", "web-crawler".
    vectorizeName String
    filter Property Map

    Supporting Types

    GetAiSearchInstanceCustomMetadata

    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

    GetAiSearchInstanceFilter

    Search string
    Search by id
    Search string
    Search by id
    search String
    Search by id
    search string
    Search by id
    search str
    Search by id
    search String
    Search by id

    GetAiSearchInstanceMetadata

    GetAiSearchInstancePublicEndpointParams

    GetAiSearchInstancePublicEndpointParamsChatCompletionsEndpoint

    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

    GetAiSearchInstancePublicEndpointParamsMcp

    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

    GetAiSearchInstancePublicEndpointParamsRateLimit

    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".

    GetAiSearchInstancePublicEndpointParamsSearchEndpoint

    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

    GetAiSearchInstanceRetrievalOptions

    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".

    GetAiSearchInstanceSourceParams

    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 GetAiSearchInstanceSourceParamsWebCrawler
    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 GetAiSearchInstanceSourceParamsWebCrawler
    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 GetAiSearchInstanceSourceParamsWebCrawler
    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 GetAiSearchInstanceSourceParamsWebCrawler
    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 GetAiSearchInstanceSourceParamsWebCrawler
    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

    GetAiSearchInstanceSourceParamsWebCrawler

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

    GetAiSearchInstanceSourceParamsWebCrawlerParseOptions

    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

    GetAiSearchInstanceSourceParamsWebCrawlerStoreOptions

    R2Jurisdiction string
    StorageId string
    StorageType string
    Available values: "r2".
    R2Jurisdiction string
    StorageId string
    StorageType string
    Available values: "r2".
    r2Jurisdiction String
    storageId String
    storageType String
    Available values: "r2".
    r2Jurisdiction string
    storageId string
    storageType string
    Available values: "r2".
    r2_jurisdiction str
    storage_id str
    storage_type str
    Available values: "r2".
    r2Jurisdiction String
    storageId 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.