Skip to main content
Create Vector Index
curl --request POST \
  --url https://{api_endpoint}/api/v1/vector-indices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "tags": [
    "<string>"
  ],
  "name": "<string>",
  "embeddings_model_name": "<string>",
  "chunk_size": 123,
  "chunk_overlap": 123,
  "top_k": 10,
  "extraction_strategy": "standard"
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
embeddings_model_name
string
required
title
string | null
description
string | null
tags
string[] | null
chunk_size
integer | null
default:400
chunk_overlap
integer | null
default:20
top_k
integer
default:10
extraction_strategy
enum<string>
Available options:
express,
standard,
high_quality

Response

Successful Response

The response is of type any.