> ## Documentation Index
> Fetch the complete documentation index at: https://upstash-vector.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Index Stats

Used to retrieve the stats of an index.

## Arguments

<ResponseField name="IDs" type="string[] | number[]" required>
  Returns some statistics and numbers related to your index.
</ResponseField>

## Response

<ResponseField name="vectorCount" type="number" required>
  The number of vectors in the index, that are ready to use.
</ResponseField>

<ResponseField name="pendingVectorCount" type="number" required>
  The number of vectors in the index, that is still processing and not ready to
  use.
</ResponseField>

<ResponseField name="indexSize" type="number" required>
  The size of the index, in `kb`.
</ResponseField>

<RequestExample>
  ```typescript Basic
  const responseDelete = await index.stats();
  /*
  { 
  	vectorCount: 17,
   	pendingVectorCount: 0,
  	indexSize: 551158 
  }*/
  ```
</RequestExample>
