POST
/
knowledge-base
curl --request POST \
  --url https://api.vectorshift.ai/v1/knowledge-base \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "file_processing_implementation": "Default",
  "chunk_size": 123,
  "chunk_overlap": 123,
  "analyze_documents": true,
  "apify_key": "<string>"
}'
{
  "status": "success",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication using API key

Body

name
string
required

Name of the knowledge base

description
string
file_processing_implementation
enum<string>
Available options:
Default,
Textract,
Unstructured,
LlamaParse,
Other
chunk_size
integer
chunk_overlap
integer
analyze_documents
boolean
apify_key
string

Response

200
application/json
Knowledge base created successfully
status
enum<string>
Available options:
success,
failed
id
string

ID of the created knowledge base