---
title: Manage AI Search sync jobs with Wrangler CLI
description: Use new Wrangler commands to trigger and monitor sync jobs for AI Search instances connected to a data source.
image: https://edgetunnel-b2h.pages.dev/changelog-preview.png
---

> Documentation Index  
> Fetch the complete documentation index at: https://edgetunnel-b2h.pages.dev/changelog/llms.txt  
> Use this file to discover all available pages before exploring further. 

[Skip to content](#%5Ftop) 

# Changelog

New updates and improvements at Cloudflare.

[ Subscribe to RSS ](https://edgetunnel-b2h.pages.dev/changelog/rss/index.xml) [ View RSS feeds ](https://edgetunnel-b2h.pages.dev/fundamentals/new-features/available-rss-feeds/) 

![hero image](https://edgetunnel-b2h.pages.dev/_astro/hero.CVYJHPAd_26AMqX.svg) 

[ ← Back to all posts ](https://edgetunnel-b2h.pages.dev/changelog/) 

## Manage AI Search sync jobs with Wrangler CLI

Jul 02, 2026 

[ AI Search ](https://edgetunnel-b2h.pages.dev/ai-search/) 

When you connect a [data source](https://edgetunnel-b2h.pages.dev/ai-search/configuration/data-source/) to your [AI Search](https://edgetunnel-b2h.pages.dev/ai-search/) instance, AI Search runs sync jobs to keep your index up to date with your content. You can now manage those jobs directly from [Wrangler](https://edgetunnel-b2h.pages.dev/ai-search/wrangler-commands/).

For example, you can trigger a sync job from your CI/CD or automated pipelines with the `jobs create` command so your index refreshes when you push a change:

```sh
wrangler ai-search jobs create my-instance
```

This creates an asynchronous sync job that checks for changes in your data source, and sends new, modified, or deleted files to be indexed. The following commands are available:

| Command                        | Description                    |
| ------------------------------ | ------------------------------ |
| wrangler ai-search jobs create | Trigger a new sync job         |
| wrangler ai-search jobs list   | List sync jobs for an instance |
| wrangler ai-search jobs get    | Get details for a job          |
| wrangler ai-search jobs cancel | Cancel a running job           |
| wrangler ai-search jobs logs   | View log entries for a job     |

All commands accept `--namespace`/`-n` (defaults to `default`) and `--json` for structured output that automation and AI agents can parse directly. The `list` and `logs` commands also support `--page` and `--per-page` for pagination, and `cancel` prompts for confirmation unless you pass `-y`/`--force`.

For full usage details, refer to the [AI Search Wrangler commands documentation](https://edgetunnel-b2h.pages.dev/ai-search/wrangler-commands/).

```json
{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://edgetunnel-b2h.pages.dev/changelog/post/2026-07-02-manage-sync-jobs/#page","headline":"Manage AI Search sync jobs with Wrangler CLI · Changelog","description":"Use new Wrangler commands to trigger and monitor sync jobs for AI Search instances connected to a data source.","url":"https://edgetunnel-b2h.pages.dev/changelog/post/2026-07-02-manage-sync-jobs/","inLanguage":"en","image":"https://edgetunnel-b2h.pages.dev/changelog-preview.png","dateModified":"2026-07-02","datePublished":"2026-07-02","publisher":{"@type":"Organization","name":"Cloudflare","url":"https://www.cloudflare.com/"},"isPartOf":{"@type":"WebSite","@id":"https://edgetunnel-b2h.pages.dev/#website","name":"Cloudflare Docs","url":"https://edgetunnel-b2h.pages.dev/"}}
```
