Backend API
Create a new AI knowledge base
cURL
curl --request POST \ --url https://api.wacht.dev/ai-knowledge-bases \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "description": "<string>", "type": "vector", "embedding_model": "<string>" }'
{ "id": "<string>", "name": "Product Documentation", "description": "<string>", "type": "vector", "embedding_model": "text-embedding-ada-002", "document_count": 150, "total_tokens": 450000, "is_active": true, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" }
vector
graph
hybrid