Manage sync frequency for sources
Manage sync frequency for sources.
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
source_id*stringSource ID
sync_frequency*stringSync frequency (never, daily, weekly, monthly)
Success
curl -X POST 'http://localhost:7091/api/manage_sync' \ -H 'Content-Type: application/json' \ -d '{ "source_id": "string", "sync_frequency": "string"}'POST /api/manage_source_files POST
Add files, remove files, remove directories, or replace the whole file set (sync) of an existing source. The source is then re-ingested: only added, removed and edited files are re-embedded. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
POST /api/website/refresh POST
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](/API/personal-access-tokens) scope: `sources:write`.