Data Operations
Upload Vectors
Upload precomputed vectors to a vector namespace. Returns an async job id.
POST
Overview
Upload one or more vectors to a vector namespace. Each vector length must match the namespacevector_dimension set at creation.
The upload runs asynchronously. Poll Upload job status with the returned job_id.
Any extra fields on each vector object (for example
source, category) are stored as metadata and can be used in search filters.Path parameters
Target vector namespace.
Headers
Must be
application/jsonBody
Non-empty array of vector objects.
Item id, unique within this namespace.
Array of finite numbers. Length must equal the namespace
vector_dimension.Optional additional keys on each vector are saved as metadata (for example
"source": "demo").The
vector array length must match vector_dimension for my-embeddings (for example 768 or 5 depending on how the namespace was created).Response fields
Request outcome.
"success" when the upload job was started; "failure" on error.Human-readable result or error description.
Id of the async upload job. Poll Upload job status with this value. Present when the upload job was started.
Namespace the vectors are being uploaded to. Present when the upload job was started.
Number of vectors accepted into the upload job. Present when the upload job was started.
Current total item count on the instance. Present on 409 item limit errors.
Global item cap for this instance. Present on 409 item limit errors.
Number of new item ids in the request that would exceed the cap. Present on 409 item limit errors.