Document Ingestion
Create Vector Index
POST
/
v2
/
create_vector_index
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
table_name
enum<string> | null
default: CHUNKSThe name of the vector table to create.
Available options:
CHUNKS
, entity_embedding
, community_report
index_method
enum<string>
The type of vector index to create.
Available options:
auto
, ivfflat
, hnsw
measure
enum<string>
The measure for the index.
Available options:
cosine_distance
, l2_distance
, max_inner_product
index_arguments
object | null
The arguments for the index method.
replace
boolean
default: trueWhether to replace an existing index.
concurrently
boolean
default: trueWhether to create the index concurrently.
Response
200 - application/json
results
object
requiredWas this page helpful?