Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash-vector.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Used to retrieve the stats of an index.

Arguments

IDs
string[] | number[]
required
Returns some statistics and numbers related to your index.

Response

vectorCount
number
required
The 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 kb.
const responseDelete = await index.stats();
/*
{ 
	vectorCount: 17,
 	pendingVectorCount: 0,
	indexSize: 551158 
}*/