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

# Info

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 `b`.
</ResponseField>

<ResponseField name="dimension" type="number" required>
  Dimension of the vectors.
</ResponseField>

<ResponseField name="similarityFunction" type="string" required>
  Name of the similarity function used in indexing and queries.
</ResponseField>

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