POST /create-knowledge-base
Changed onCreate a new knowledge base
Request
- Base URLhttps://api.retellai.com
- AuthHTTP bearer
Request body multipart/form-data
Example request
{
"knowledge_base_name": "Sample KB",
"knowledge_base_urls": [
"https://www.example.com",
"https://www.retellai.com"
],
"enable_auto_refresh": true,
"max_chunk_size": 2000,
"min_chunk_size": 400
}Response
Successfully created a new knowledge base.
Example response
{
"knowledge_base_id": "knowledge_base_a456426614174000",
"knowledge_base_name": "Sample KB",
"status": "in_progress",
"max_chunk_size": 2000,
"min_chunk_size": 400,
"enable_auto_refresh": true,
"last_refreshed_timestamp": 1703413636133
}Changes
- info
added the required property
//////to the response with the status
- info
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info