Search
Get Search Stats
Get search statistics for all the search indices associated with the authenticated user
GET/v2/search/stats
cURL
curl --request GET \
--url https://api.upstash.com/v2/search/stats \
--header 'Authorization: Bearer <token>'200Response
{
"record_count": 10,
"request": 10,
"bandwidth": 750,
"storage": 950,
"billing": 0.001,
"rerank_count": 0
}Authorization
Authorizationheaderstringrequired
Bearer authentication header of the form Bearer <token>.
Response
200 — Statistics for the search indices retrieved successfully
record_countinteger
Total number of indexed records across all indexes
requestinteger
Total API requests count across all indexes
bandwidthinteger
Total bandwidth usage in bytes across all indexes
storageinteger
Total storage usage in bytes across all indexes
billingnumber
Current billing amount across all indexes
rerank_countinteger
Total reranking operations count across all indexes