Skip to main content
POST
Create vector store (CLI/SDK)

Body

application/json
name
string
required

Vector store name

description
string

Description

embeddingConfigId
string

Embedding configuration ID (optional if llmProviderConfigId + llmModelConfigId provided)

llmProviderConfigId
string

LLM Provider Config ID (for tenant-credential embeddings)

llmModelConfigId
string

LLM Model Config ID (for tenant-credential embeddings)

type
enum<string>
default:KNOWLEDGE

Vector store type

Available options:
KNOWLEDGE,
STRUCTURED
metadata
object

Custom metadata

structuredType
enum<string>

Structured document type (only for STRUCTURED stores)

Available options:
FAQ,
SURVEY,
GLOSSARY,
CATALOG,
QA,
DEFINITION
chunkSize
number
default:1000

Chunk size in tokens (default: 1000)

Required range: 100 <= x <= 8000
chunkOverlap
number
default:200

Chunk overlap in tokens (default: 200)

Required range: 0 <= x <= 1000
chunkStrategy
enum<string>
default:recursive

Chunking strategy (default: recursive)

Available options:
fixed,
recursive,
semantic

Response

201

Vector store created successfully.