AI Search - Manage namespaces with Wrangler CLI
AI Search now supports namespace-level Wrangler CLI commands for creating, listing, updating, and deleting namespaces directly from the terminal. Instance-level commands also support a new --namespace flag for managing instances within specific namespaces.
AI Search now supports namespace-level Wrangler commands, making it easier to manage namespaces from your terminal, scripts, and agent workflows.
The following commands are available:
| Command | Description |
|---|---|
wrangler ai-search namespace list | List AI Search namespaces |
wrangler ai-search namespace create | Create a new AI Search namespace |
wrangler ai-search namespace get | Get details for a namespace |
wrangler ai-search namespace update | Update a namespace description |
wrangler ai-search namespace delete | Delete an AI Search namespace |
Create a namespace for a new application or tenant directly from the CLI:
wrangler ai-search namespace create docs-production --description "Production documentation search"
List namespaces with pagination or filter by name or description:
wrangler ai-search namespace list --search docs --page 1 --per-page 10
Use --json with list, create, get, and update to return structured output that automation and AI agents can parse directly.
Instance-level commands also now support a --namespace flag, so you can interact with instances inside a specific namespace from the CLI:
wrangler ai-search list --namespace docs-production
For full usage details, refer to the AI Search Wrangler commands documentation.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for Windows hotfix - trusted certificate chains
A new GA release for Windows Cloudflare One Client is available, addressing an issue with building trusted certificate chains.
Cloudflare One Client for macOS - Trusted Certificate Chain Fix
A new GA release of the macOS Cloudflare One Client is available. This hotfix addresses an issue with building trusted certificate chains.
Cloudflare One Client for Linux
A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.