Get Index Stats
GET
/api/v1/indexes/stats
Get statistics for all vector indexes.
Args: service: Index management service (injected)
Returns: Aggregated statistics including total vectors, size, and per-model breakdown
Raises: HTTPException: 500 for server errors
Responses
Section titled “ Responses ”Successful Response
IndexStatsResponseModel
API response model for index statistics.
object
total_indexes
required
Total Indexes
integer
total_vectors
required
Total Vectors
integer
total_size_bytes
required
Total Size Bytes
integer
total_size_pretty
required
Total Size Pretty
string
indexes
required
Indexes
Array<object>
IndexInfoModelAPI model for vector index information.
object
index_name
required
Index Name
string
model_name
required
Model Name
string
index_type
required
Index Type
string
row_count
required
Row Count
integer
size_bytes
required
Size Bytes
integer
size_pretty
required
Size Pretty
string
parameters
required
Parameters
object
key
additional properties
integer
scan_count
Scan Count
integer
models_without_index
required
Models Without Index
Array<string>