Endpoints
Fetch Vectors
This endpoint returns the data related to the vectors with the provided IDs.
GET
/
fetch
Request
You can either upsert a single vector, or multiple vectors in a array.
ids
string[]
requiredThe ID of the vector
includeMetadata
boolean
Whether to include the metadata of the vectors in the response. Setting this
true
would be the best practice, since it will make it easier to identify
the vectors.
includeVectors
boolean
Whether to include the vector data of the resulting vectors.
Response
FetchVectors
Array
It returns the data related to provided vectors ids in sorted manner. Object
is null
if the vector related to that ID couldn’t be found.
id
string
requiredThe ID of the resulting vector.
vector
number[]
The resulting vector.
metadata
Object
The metadata of the vector. This is used to make it easier to identify the vector on queries.
Was this page helpful?