Skip to main content
GET
/
search
/
{id}
/
stats
Get Index Stats
curl --request GET \
  --url https://api.upstash.com/v2/search/{id}/stats \
  --header 'Authorization: Basic <encoded-value>'
{
  "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
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Query Parameters

period
enum<string>
default:1h
Available options:
1h,
3h,
12h,
1d,
3d,
7d,
30d

Response

200 - application/json
pending_index_count
integer
Example:
current_vector_count
integer
Example:
daily_query_count
integer
Example:
daily_update_count
integer
Example:
monthly_query_count
integer
Example:
monthly_update_count
integer
Example:
monthly_bandwidth_usage
integer
Example:
storage_usage
integer
Example:
monthly_cost
number
Example:
daily_update_requests
object[]
Example:
daily_query_requests
object[]
Example:
daily_bandwidths
object[]
Example:
days
string[]
Example:
query_throughput
object[]
Example:
update_throughput
object[]
Example:
query_latency_mean
object[]
Example:
query_latency_99
object[]
Example:
update_latency_mean
object[]
Example:
update_latency_99
object[]
Example:
embeds_latency_mean
object[]
Example:
embeds_latency_99
object[]
Example:
vector_count
object[]
Example:
data_size
object[]
Example:
daily_rerank_count
integer
Example:
monthly_rerank_count
integer
Example:
daily_rerank_requests
object[]
Example:
rerank_latency_mean
object[]
Example:
rerank_latency_99
object[]
Example: