---
title: "Get Search Stats"
method: GET
path: "/search/stats"
tags: ["search"]
---

# Get Search Stats

`GET /search/stats`

## Request

- Base URL: `https://api.upstash.com/v2`
- URL: `https://api.upstash.com/v2/search/stats`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/upstash/apis/developer-api-upstash/docs/search/stats/get.ts> (a function with typed inputs; its response is checked against the schema)

Get search statistics for all the search indices associated with the authenticated user

## Response `200`

Statistics for the search indices retrieved successfully

- GlobalStats
  - `record_count` integer: Total number of indexed records across all indexes
  - `request` integer: Total API requests count across all indexes
  - `bandwidth` integer: Total bandwidth usage in bytes across all indexes
  - `storage` integer: Total storage usage in bytes across all indexes
  - `billing` number, float: Current billing amount across all indexes
  - `rerank_count` integer: Total reranking operations count across all indexes

---

[API](https://skmtc.dev/upstash/apis/developer-api-upstash.md) - [All operations](https://skmtc.dev/upstash/apis/developer-api-upstash/llms.txt) - [OpenAPI document](https://skmtc.dev/upstash/apis/developer-api-upstash/revisions/bddbdcab9052?raw)
