Get Index Stats
Retrieves statistics and metrics for a specific search index
curl --request GET \
--url https://api.upstash.com/v2/search/{id}/stats \
--header 'Authorization: Bearer <token>'{
"pending_index_count": 1,
"current_vector_count": 1000,
"daily_query_count": 100,
"daily_update_count": 10,
"monthly_query_count": 1000,
"monthly_update_count": 1000,
"monthly_bandwidth_usage": 7000,
"storage_usage": 7000,
"monthly_cost": 0.5,
"daily_update_requests": [
{
"x": "2025-10-19 18:33:05.244068975 +0000 UTC",
"y": 1
}
],
"daily_query_requests": [
{
"x": "2025-10-19 18:33:05.244068975 +0000 UTC",
"y": 7
}
],
"daily_bandwidths": [
{
"x": "2025-10-19 18:33:05.244068975 +0000 UTC",
"y": 7
}
],
"days": [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday"
],
"query_throughput": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 7
}
],
"update_throughput": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 7
}
],
"query_latency_mean": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
],
"query_latency_99": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
],
"update_latency_mean": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
],
"update_latency_99": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
],
"embeds_latency_mean": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
],
"embeds_latency_99": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
],
"vector_count": [
{
"x": "2025-10-23 17:35:00.000 +0000 UTC",
"y": 2
}
],
"data_size": [
{
"x": "2025-10-23 17:35:00.000 +0000 UTC",
"y": 76
}
],
"daily_rerank_count": 0,
"monthly_rerank_count": 10,
"daily_rerank_requests": [
{
"x": "2025-10-19 18:33:05.244068975 +0000 UTC",
"y": 1
}
],
"rerank_latency_mean": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
],
"rerank_latency_99": [
{
"x": "2025-10-23 17:34:00.000 +0000 UTC",
"y": 0
}
]
}Authorization
Bearer authentication header of the form Bearer <token>.
Path parameters
The ID of the search index
Query parameters
Time period for statistics aggregation. Each period returns 60 datapoints with intervals adjusted to the period length.
Exceptionally for 30 days, it returns 240 datapoints with 3-hour intervals for increased granularity.
Response
200 — Statistics for the specified search index retrieved successfully
Number of pending index operations
Current number of vectors in the index
Total number of query operations executed today
Total number of update operations executed today
Total query operations in current month
Total update operations in current month
Total bandwidth used in current month (bytes)
Current storage used (bytes)
Total cost in current month
Daily update requests over time
Daily query requests over time
Daily bandwidth usage over time
Days of the week for measurement
Query throughput over time
Update throughput over time
Average query latency over time
99th percentile query latency over time
Average update latency over time
99th percentile update latency over time
Average embedding latency over time
99th percentile embedding latency over time
Vector count over time
Data size over time
Total number of rerank operations executed today
Total rerank operations in current month
Daily rerank requests over time
Average rerank latency over time
99th percentile rerank latency over time