cURL
curl --request POST \ --url https://api.example.com/api/knowledge_bases \ --header 'Content-Type: application/json' \ --data ' { "knowledge_base_name": "<string>", "agent_id": 123, "context": "<string>", "context_url": "<string>", "vector_db_name_space": "<string>", "embedding_model": "<string>", "embedding_dimension": 1536, "description": "<string>" } '
{ "id": 123, "knowledge_base_name": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "agent_id": 123, "context": "<string>", "context_url": "<string>", "vector_db_name_space": "<string>", "embedding_model": "<string>", "embedding_dimension": 123, "description": "<string>" }
Successful Response