GET
/
fetch

Request

You can either upsert a single vector, or multiple vectors in a array.

ids
string[]
required

The 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
required

The 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.