POST /api/website/refresh
Re-fetch one page of a Website source now; if it can't be fetched, its content is kept. A page found by a site's crawl that now leads outside the site's scope or to a skipped address is removed, as the next sync would drop it (the task's failed event carries reason out_of_scope). A 500 with code queue_failed when the task couldn't be queued.
Personal access token scope: sources:write.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
file_path*stringTree path of the page
source_id*stringSource ID
url?stringThe page's address, as its tree leaf shows it; when given, the page is found by it wherever a sync moved it
Success
curl -X POST 'http://localhost:7091/api/website/refresh' \ -H 'Content-Type: application/json' \ -d '{ "file_path": "string", "source_id": "string"}'Manage sync frequency for sources POST
Manage sync frequency for sources. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
POST /api/sources/reingest POST
Re-run ingestion for a source β e.g. to recover a stalled embed flagged by the reconciler, or to apply a chunking change. A source with no stored files (Website, crawler, connector) is synced from its stored config instead; either way the answer is `{success, task_id}` and the task's source.ingest events carry that task_id. A connector source can be refused with a 409: code connection_missing when its connection was removed, reconnect_needed when the owner must sign it in again. Honours an Idempotency-Key header: a repeat with the same key runs nothing new, and a rebuild's repeat answers with the first request's task_id. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.