POST
/
v1
/
table
/
{name}
/
index
/
{index_name}
/
stats
curl --request POST \
  --url https://{db}.{region}.api.lancedb.com/v1/table/{name}/index/{index_name}/stats/ \
  --header 'x-api-key: <api-key>'
{
  "num_indexed_rows": 100000,
  "num_unindexed_rows": 123,
  "index_type": "IVF_PQ",
  "distance_type": "L2"
}

Authorizations

x-api-key
string
header
required

Path Parameters

name
string
required

name of the table

index_name
string
required

name of the index

Response

200
application/json
Index details of an index.
num_indexed_rows
integer
Example:

100000

num_unindexed_rows
integer
index_type
enum<string>

type of index to create

Available options:
IVF_PQ,
IVF_HNSW_SQ,
BTREE,
BITMAP,
LABEL_LIST,
FTS
distance_type
enum<string>

distance metric to use for search

Available options:
L2,
Cosine,
Dot