v7

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0112015.7 KB
Tables

Create vector index on a Table

Create vector index on a Table

post/v1/table/{name}/create_index/

Path parameters

namestring required

name of the table

Request body

columnstring
metric_typestring

The metric type to use for the index. l2, Cosine, Dot are supported.

index_typestring
custom_stop_wordsstring[] nullable

The custom stop-word list for an FTS index. A non-null array replaces the language's built-in stop-word list and is only applied when remove_stop_words is enabled. Null uses the built-in language list, while an empty array explicitly replaces it with no stop words.

Response

Index successfully created