cloudflare_ai_search_instance

Nivis 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_id
  • id
Optional arguments
  • ai_gateway_id (defaults to null)
  • aisearch_model (defaults to null)
  • cache (defaults to null)
  • cache_threshold (defaults to null)
  • cache_ttl (defaults to null)
  • chunk (defaults to null)
  • chunk_overlap (defaults to null)
  • chunk_size (defaults to null)
  • custom_metadata (defaults to null)
  • embedding_model (defaults to null)
  • fusion_method (defaults to null)
  • hybrid_search_enabled (defaults to null)
  • index_method (defaults to null)
  • indexing_options (defaults to null)
  • max_num_results (defaults to null)
  • metadata (defaults to null)
  • namespace (defaults to null)
  • paused (defaults to null)
  • public_endpoint_params (defaults to null)
  • reranking (defaults to null)
  • reranking_model (defaults to null)
  • retrieval_options (defaults to null)
  • rewrite_model (defaults to null)
  • rewrite_query (defaults to null)
  • score_threshold (defaults to null)
  • source (defaults to null)
  • source_params (defaults to null)
  • summarization (defaults to null)
  • summarization_model (defaults to null)
  • sync_interval (defaults to null)
  • system_prompt_aisearch (defaults to null)
  • system_prompt_index_summarization (defaults to null)
  • system_prompt_rewrite_query (defaults to null)
  • token_id (defaults to null)
  • type (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • created_at
  • created_by
  • enable
  • engine_version
  • last_activity
  • modified_at
  • modified_by
  • public_endpoint_id
  • status
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.