Used to retrieve the stats of an index.

Response

vectorCount
number
required

The total number of vectors in the index, that are ready to use.

pendingVectorCount
number
required

The number of vectors in the index, that is still processing and not ready to use.

indexSize
number
required

The size of the index, in b.

dimension
number
required

Dimension of the vectors.

similarityFunction
string
required

Name of the similarity function used in indexing and queries.

namespaces
Record<string, Object>
required

A map of namespaces to their information in the following format

vectorCount
number
required

The total number of vectors in the index, that are ready to use.

pendingVectorCount
number
required

The number of vectors in the index, that is still processing and not ready to use.