Uploads a file to be vectorized and indexed
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 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*File(s) to upload
name*stringJob name
user*stringUser ID
Success
curl -X POST 'http://localhost:7091/api/upload' \ -H 'Content-Type: application/json' \ -d '{ "file": {}, "name": "string", "user": "string"}'Trigger an immediate sync for a source POST
Trigger an immediate sync for a source. [Personal access token](/API/personal-access-tokens) scope: `sources:write`.
Uploads remote source for vectorization POST
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](/API/personal-access-tokens) scope: `sources:write`.