cloudflare_ai_search_instanceNivis Nix constructor for the cloudflare_ai_search_instance resource (provider cloudflare). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
account_id,
id,
ai_gateway_id ? null,
aisearch_model ? null,
cache ? null,
cache_threshold ? null,
cache_ttl ? null,
chunk ? null,
chunk_overlap ? null,
chunk_size ? null,
custom_metadata ? null,
embedding_model ? null,
fusion_method ? null,
hybrid_search_enabled ? null,
index_method ? null,
indexing_options ? null,
max_num_results ? null,
metadata ? null,
namespace ? null,
paused ? null,
public_endpoint_params ? null,
reranking ? null,
reranking_model ? null,
retrieval_options ? null,
rewrite_model ? null,
rewrite_query ? null,
score_threshold ? null,
source ? null,
source_params ? null,
summarization ? null,
summarization_model ? null,
sync_interval ? null,
system_prompt_aisearch ? null,
system_prompt_index_summarization ? null,
system_prompt_rewrite_query ? null,
token_id ? null,
type ? null,
overrides ? {}
}Required arguments
account_idid
Optional arguments
ai_gateway_id(defaults tonull)aisearch_model(defaults tonull)cache(defaults tonull)cache_threshold(defaults tonull)cache_ttl(defaults tonull)chunk(defaults tonull)chunk_overlap(defaults tonull)chunk_size(defaults tonull)custom_metadata(defaults tonull)embedding_model(defaults tonull)fusion_method(defaults tonull)hybrid_search_enabled(defaults tonull)index_method(defaults tonull)indexing_options(defaults tonull)max_num_results(defaults tonull)metadata(defaults tonull)namespace(defaults tonull)paused(defaults tonull)public_endpoint_params(defaults tonull)reranking(defaults tonull)reranking_model(defaults tonull)retrieval_options(defaults tonull)rewrite_model(defaults tonull)rewrite_query(defaults tonull)score_threshold(defaults tonull)source(defaults tonull)source_params(defaults tonull)summarization(defaults tonull)summarization_model(defaults tonull)sync_interval(defaults tonull)system_prompt_aisearch(defaults tonull)system_prompt_index_summarization(defaults tonull)system_prompt_rewrite_query(defaults tonull)token_id(defaults tonull)type(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
created_atcreated_byenableengine_versionlast_activitymodified_atmodified_bypublic_endpoint_idstatus
Example
cloudflare_ai_search_instance {
name = "ai_search_instance";
account_id = …; # required
id = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.