Reindex Website Source and Wait
ethora-sources-site-reindex-v2-waitRe-crawl and re-embed a previously crawled URL, then wait for the job to finish. Returns status, job ID, and result once completed or failed.
Instructions
Re-crawl and re-embed a previously crawled URL and wait for it to finish: enqueues the job, then polls it until it reports completed or failed. Returns { done, status, jobId, polls, durationMs, result }; done: false with a note means the budget ran out while the job was still running.
Requires: an indexed site URL from ethora-sources-site-list-v2 (crawled with ethora-sources-site-crawl-v2).
Auth: app-token mode OR B2B mode with an explicit appId. Errors: 401/403 wrong auth; 404 unknown appId or urlId; 504/timeout if it takes longer than timeoutMs (the job may still complete server-side). Related: get urlId from ethora-sources-site-list-v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | No | 24-char hex appId the URL belongs to. Required in B2B mode unless already set via `ethora-app-select`; ignored in app-token mode. | |
| urlId | Yes | Id of a previously crawled URL record. Get it from `ethora-sources-site-list-v2`. | |
| timeoutMs | No | How long to poll for the reindex to finish, in milliseconds. Default 45000, chosen to stay under the ~60s request timeout most MCP clients enforce. Caps at 600000 (10 min) for clients that allow longer calls. |