Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi
Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi
Using getAiSearchNamespaces
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 getAiSearchNamespaces(args: GetAiSearchNamespacesArgs, opts?: InvokeOptions): Promise<GetAiSearchNamespacesResult>
function getAiSearchNamespacesOutput(args: GetAiSearchNamespacesOutputArgs, opts?: InvokeOutputOptions): Output<GetAiSearchNamespacesResult>def get_ai_search_namespaces(account_id: Optional[str] = None,
max_items: Optional[int] = None,
search: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAiSearchNamespacesResult
def get_ai_search_namespaces_output(account_id: pulumi.Input[Optional[str]] = None,
max_items: pulumi.Input[Optional[int]] = None,
search: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetAiSearchNamespacesResult]func LookupAiSearchNamespaces(ctx *Context, args *LookupAiSearchNamespacesArgs, opts ...InvokeOption) (*LookupAiSearchNamespacesResult, error)
func LookupAiSearchNamespacesOutput(ctx *Context, args *LookupAiSearchNamespacesOutputArgs, opts ...InvokeOption) LookupAiSearchNamespacesResultOutput> Note: This function is named LookupAiSearchNamespaces in the Go SDK.
public static class GetAiSearchNamespaces
{
public static Task<GetAiSearchNamespacesResult> InvokeAsync(GetAiSearchNamespacesArgs args, InvokeOptions? opts = null)
public static Output<GetAiSearchNamespacesResult> Invoke(GetAiSearchNamespacesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetAiSearchNamespacesResult> Invoke(GetAiSearchNamespacesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetAiSearchNamespacesResult> getAiSearchNamespaces(GetAiSearchNamespacesArgs args, InvokeOptions options)
public static Output<GetAiSearchNamespacesResult> getAiSearchNamespaces(GetAiSearchNamespacesArgs args, InvokeOptions options)
public static Output<GetAiSearchNamespacesResult> getAiSearchNamespaces(GetAiSearchNamespacesArgs args, InvokeOutputOptions options)
fn::invoke:
function: cloudflare:index/getAiSearchNamespaces:getAiSearchNamespaces
arguments:
# arguments dictionarydata "cloudflare_get_ai_search_namespaces" "name" {
# arguments
}The following arguments are supported:
- account_
id string - max_
items number - Max items to fetch, default: 1000
- search string
- Filter namespaces whose name or description contains this string (case-insensitive).
- account_
id str - max_
items int - Max items to fetch, default: 1000
- search str
- Filter namespaces whose name or description contains this string (case-insensitive).
getAiSearchNamespaces Result
The following output properties are available:
- Account
Id string - Results
List<Get
Ai Search Namespaces Result> - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Search string
- Filter namespaces whose name or description contains this string (case-insensitive).
- Account
Id string - Results
[]Get
Ai Search Namespaces Result - The items returned by the data source
- Max
Items int - Max items to fetch, default: 1000
- Search string
- Filter namespaces whose name or description contains this string (case-insensitive).
- account_
id string - results list(object)
- The items returned by the data source
- max_
items number - Max items to fetch, default: 1000
- search string
- Filter namespaces whose name or description contains this string (case-insensitive).
- account
Id String - results
List<Get
Ai Search Namespaces Result> - The items returned by the data source
- max
Items Integer - Max items to fetch, default: 1000
- search String
- Filter namespaces whose name or description contains this string (case-insensitive).
- account
Id string - results
Get
Ai Search Namespaces Result[] - The items returned by the data source
- max
Items number - Max items to fetch, default: 1000
- search string
- Filter namespaces whose name or description contains this string (case-insensitive).
- account_
id str - results
Sequence[Get
Ai Search Namespaces Result] - The items returned by the data source
- max_
items int - Max items to fetch, default: 1000
- search str
- Filter namespaces whose name or description contains this string (case-insensitive).
- account
Id String - results List<Property Map>
- The items returned by the data source
- max
Items Number - Max items to fetch, default: 1000
- search String
- Filter namespaces whose name or description contains this string (case-insensitive).
Supporting Types
GetAiSearchNamespacesResult
- Created
At string - Description string
- Optional description for the namespace. Max 256 characters.
- Name string
- Public
Endpoint stringId - Public
Endpoint GetParams Ai Search Namespaces Result Public Endpoint Params
- Created
At string - Description string
- Optional description for the namespace. Max 256 characters.
- Name string
- Public
Endpoint stringId - Public
Endpoint GetParams Ai Search Namespaces Result Public Endpoint Params
- created_
at string - description string
- Optional description for the namespace. Max 256 characters.
- name string
- public_
endpoint_ stringid - public_
endpoint_ objectparams
- created
At String - description String
- Optional description for the namespace. Max 256 characters.
- name String
- public
Endpoint StringId - public
Endpoint GetParams Ai Search Namespaces Result Public Endpoint Params
- created
At string - description string
- Optional description for the namespace. Max 256 characters.
- name string
- public
Endpoint stringId - public
Endpoint GetParams Ai Search Namespaces Result Public Endpoint Params
- created_
at str - description str
- Optional description for the namespace. Max 256 characters.
- name str
- public_
endpoint_ strid - public_
endpoint_ Getparams Ai Search Namespaces Result Public Endpoint Params
- created
At String - description String
- Optional description for the namespace. Max 256 characters.
- name String
- public
Endpoint StringId - public
Endpoint Property MapParams
GetAiSearchNamespacesResultPublicEndpointParams
- List<string>
- Chat
Completions GetEndpoint Ai Search Namespaces Result Public Endpoint Params Chat Completions Endpoint - Custom
Domains List<string> - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- Default
Domain boolEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- Enabled bool
- Instances
Alloweds List<string> - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- Mcp
Get
Ai Search Namespaces Result Public Endpoint Params Mcp - Rate
Limit GetAi Search Namespaces Result Public Endpoint Params Rate Limit - Search
Endpoint GetAi Search Namespaces Result Public Endpoint Params Search Endpoint
- []string
- Chat
Completions GetEndpoint Ai Search Namespaces Result Public Endpoint Params Chat Completions Endpoint - Custom
Domains []string - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- Default
Domain boolEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- Enabled bool
- Instances
Alloweds []string - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- Mcp
Get
Ai Search Namespaces Result Public Endpoint Params Mcp - Rate
Limit GetAi Search Namespaces Result Public Endpoint Params Rate Limit - Search
Endpoint GetAi Search Namespaces Result Public Endpoint Params Search Endpoint
- list(string)
- chat_
completions_ objectendpoint - custom_
domains list(string) - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default_
domain_ boolenabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled bool
- instances_
alloweds list(string) - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp object
- rate_
limit object - search_
endpoint object
- List<String>
- chat
Completions GetEndpoint Ai Search Namespaces Result Public Endpoint Params Chat Completions Endpoint - custom
Domains List<String> - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default
Domain BooleanEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled Boolean
- instances
Alloweds List<String> - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp
Get
Ai Search Namespaces Result Public Endpoint Params Mcp - rate
Limit GetAi Search Namespaces Result Public Endpoint Params Rate Limit - search
Endpoint GetAi Search Namespaces Result Public Endpoint Params Search Endpoint
- string[]
- chat
Completions GetEndpoint Ai Search Namespaces Result Public Endpoint Params Chat Completions Endpoint - custom
Domains string[] - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default
Domain booleanEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled boolean
- instances
Alloweds string[] - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp
Get
Ai Search Namespaces Result Public Endpoint Params Mcp - rate
Limit GetAi Search Namespaces Result Public Endpoint Params Rate Limit - search
Endpoint GetAi Search Namespaces Result Public Endpoint Params Search Endpoint
- Sequence[str]
- chat_
completions_ Getendpoint Ai Search Namespaces Result Public Endpoint Params Chat Completions Endpoint - custom_
domains Sequence[str] - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default_
domain_ boolenabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled bool
- instances_
alloweds Sequence[str] - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp
Get
Ai Search Namespaces Result Public Endpoint Params Mcp - rate_
limit GetAi Search Namespaces Result Public Endpoint Params Rate Limit - search_
endpoint GetAi Search Namespaces Result Public Endpoint Params Search Endpoint
- List<String>
- chat
Completions Property MapEndpoint - custom
Domains List<String> - Custom domain hostnames that alias this public endpoint. GET and create responses return the current set; on update (PUT) this field is only echoed back when supplied in the request body, otherwise it is null (omit it to leave domains unchanged).
- default
Domain BooleanEnabled - When false, the instance is reachable only via a registered custom domain and the default \n\n.search.ai.cloudflare.com host returns 404. Requires at least one custom domain. Defaults to true. publicendpointparams is replaced wholesale on update, so resend defaultdomainenabled on every update to keep the default host off — omitting it resets to true.
- enabled Boolean
- instances
Alloweds List<String> - Instance IDs exposed through the namespace public endpoint. Empty means nothing is searchable. Every ID must be an existing instance in this namespace, and the list cannot exceed the account's multi-instance search limit.
- mcp Property Map
- rate
Limit Property Map - search
Endpoint Property Map
GetAiSearchNamespacesResultPublicEndpointParamsChatCompletionsEndpoint
- Disabled bool
- Disable chat completions endpoint for this public endpoint
- 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
GetAiSearchNamespacesResultPublicEndpointParamsMcp
- 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 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
GetAiSearchNamespacesResultPublicEndpointParamsRateLimit
GetAiSearchNamespacesResultPublicEndpointParamsSearchEndpoint
- Disabled bool
- Disable search endpoint for this public endpoint
- 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
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.20.0
published on Tuesday, Aug 25, 2026 by Pulumi
published on Tuesday, Aug 25, 2026 by Pulumi