Vector

Get Vector Stats

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

GET/v2/vector/index/stats
cURL
curl --request GET \
  --url https://api.upstash.com/v2/vector/index/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 vector 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

Loading search…