Sign inConnect your agent
infochanged

AI Search - Manage AI Search sync jobs with Wrangler CLI

Announced
Tags
AI-Search
Severity
info, set by reef/rss-rule-v1
Source
https://developers.cloudflare.com/changelog/post/2026-07-02-manage-sync-jobs/

<p>When you connect a <a href="https://developers.cloudflare.com/ai-search/configuration/data-source/">data source</a> to your <a href="https://developers.cloudflare.com/ai-search/">AI Search</a> instance, AI Search runs sync jobs to keep your index up to date with your content. You can now manage those jobs directly from <a href="https://developers.cloudflare.com/ai-search/wrangler-commands/">Wrangler</a>.</p> <p>For example, you can trigger a sync job from your CI/CD or automated pipelines with the <code>jobs create</code> command so your index refreshes when you push a change:</p> <figure class="nb-code-figure" data-nb-lang="sh"><pre class="astro-code astro-code-themes github-light github-dark nb-shiki-c6xiwz" tabindex="0" data-language="sh" data-nb-lang="sh"><code><span class="line"><span class="nb-shiki-1t8gfj">wrangler</span><span class="nb-shiki-mdbnqw"> ai-search</span><span class="nb-shiki-mdbnqw"> jobs</span><span class="nb-shiki-mdbnqw"> create</span><span class="nb-shiki-mdbnqw"> my-instance</span></span></code></pre></figure> <p>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:</p> <div class="table-scroll" tabindex="0" role="region" aria-label="Table"><table> <thead> <tr> <th>Command</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><code>wrangler ai-search jobs create</code></td> <td>Trigger a new sync job</td> </tr> <tr> <td><code>wrangler ai-search jobs list</code></td> <td>List sync jobs for an instance</td> </tr> <tr> <td><code>wrangler ai-search jobs get</code></td> <td>Get details for a job</td> </tr> <tr> <td><code>wrangler ai-search jobs cancel</code></td> <td>Cancel a running job</td> </tr> <tr> <td><code>wrangler ai-search jobs logs</code></td> <td>View log entries for a job</td> </tr> </tbody> </table></div> <p>All commands accept <code>--namespace</code>/<code>-n</code> (defaults to <code>default</code>) and <code>--json</code> for structured output that automation and AI agents can parse directly. The <code>list</code> and <code>logs</code> commands also support <code>--page</code> and <code>--per-page</code> for pagination, and <code>cancel</code> prompts for confirmation unless you pass <code>-y</code>/<code>--force</code>.</p> <p>For full usage details, refer to the <a href="https://developers.cloudflare.com/ai-search/wrangler-commands/">AI Search Wrangler commands documentation</a>.</p>

The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.