Uploads remote source for vectorization
Uploads remote source for vectorization. Honors an optional Idempotency-Key header: a repeat request with the same key within 24h returns the original cached response without re-enqueuing.
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
data*stringJSON loader config. For source=website: {entries: [{url, mode: page|site, max_pages, path_prefix, include_subdomains, discovery: auto|sitemap|links, sitemap_url}], skip: [url or https://host/path/*], keep_links}
name*stringJob name
repo_url?stringGitHub repository URL
source*stringSource of the data
sync_frequency?stringHow often to re-fetch: never (default), daily, weekly or monthly
user*stringUser ID
Success
curl -X POST 'http://localhost:7091/api/remote' \ -H 'Content-Type: application/json' \ -d '{ "data": "string", "name": "string", "source": "string", "user": "string"}'Uploads a file to be vectorized and indexed POST
Uploads a file to be vectorized and indexed. Honors an optional `Idempotency-Key` header: a repeat request with the same key within 24h returns the original cached response without re-enqueuing. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
Save a Website source's entries, skips, link setting and sync schedule POST
Save a Website source's entries, skips, link setting and sync schedule. Applies at the next sync. An address the save adds is checked as in /api/website/pages: one that isn't a web address (user:password@ credentials, a malformed host, a control character) is a 400 with code invalid_address, as is a new skip rule with a control character; a new path with one is a 400 with code invalid_config. What the source already stores is saved as it is. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.