cURL
curl --request POST \ --url https://api.voice.ai/agent/v1/knowledge-base/ \ --header 'Content-Type: application/json' \ --data ' { "documents": [ {} ], "name": "<string>", "description": "<string>" } '
{ "kb_id": 123, "user_id": "<string>", "document_count": 123, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "name": "<string>", "description": "<string>", "message": "<string>" }
Create a knowledge base that your agent can use for retrieval augmented generation (RAG).
Successful Response