megachangelog
Feature

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:

CommandDescription
wrangler ai-search namespace listList AI Search namespaces
wrangler ai-search namespace createCreate a new AI Search namespace
wrangler ai-search namespace getGet details for a namespace
wrangler ai-search namespace updateUpdate a namespace description
wrangler ai-search namespace deleteDelete 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.

ai-searchwranglercliautomation

Source: original entry ↗