---
title: "Get index stats"
method: POST
path: "/describe_index_stats"
tags: ["Vector Operations"]
---

# Get index stats

`POST /describe_index_stats`

Return statistics about the contents of an index, including the vector count per namespace, the number of dimensions, and the index fullness.

Serverless indexes scale automatically as needed, so index fullness is relevant only for pod-based indexes.

## Headers

- `X-Pinecone-Api-Version` string, required

## Request body

- DbDataDescribeIndexStatsRequest — The request for the `describe_index_stats` operation.
  - `filter` object — If this parameter is present, the operation only returns statistics for vectors that satisfy the filter. See [Understanding metadata](https://docs.pinecone.io/guides/index-data/indexing-overview#metadata). Serverless indexes do not support filtering `describe_index_stats` by metadata.

## Response `200`

A successful response.

- DbDataIndexDescription — The response for the `describe_index_stats` operation.
  - `namespaces` object — A mapping for each namespace in the index from the namespace name to a summary of its contents. If a metadata filter expression is present, the summary will reflect only vectors matching that expression.
  - `dimension` integer — The dimension of the indexed vectors. Not specified if `sparse` index.
  - `indexFullness` number, float — The fullness of the index, regardless of whether a metadata filter expression was passed. The granularity of this metric is 10%. Serverless indexes scale automatically as needed, so index fullness is relevant only for pod-based indexes. The index fullness result may be inaccurate during pod resizing; to get the status of a pod resizing process, use [`describe_index`](https://docs.pinecone.io/reference/api/2024-10/control-plane/describe_index).
  - `totalVectorCount` integer — The total number of vectors in the index, regardless of whether a metadata filter expression was passed
  - `metric` string — The metric used to measure similarity.
  - `vectorType` string — The type of vectors stored in the index.
  - `memory_fullness` number, float — The amount of memory used by a dedicated index
  - `storage_fullness` number, float — The amount of storage used by a dedicated index

## Other responses

- `400` — Bad request. The request body included invalid request parameters.
- `4XX` — An unexpected error response.
- `5XX` — An unexpected error response.

---

[API](https://skmtc.net/pinecone/apis/pinecone-api.md) · [All operations](https://skmtc.net/pinecone/apis/pinecone-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pinecone/pinecone-api/revisions/35876583485d/schema)
