List Knowledge Bases
GET
https://api.konpro.ai/v1/streaming/knowledge_base/listRetrieve a complete list of knowledge bases associated with the authenticated user account. These knowledge bases can be used to provide contextual information for AI avatar interactions.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
cURL Request
shell
curl --request GET \
--url https://api.konpro.ai/v1/streaming/knowledge_base/list \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'Response
Response Structure
This operation returns an array of knowledge bases associated with your account. Each knowledge base entry includes details and identifiers for use in AI avatar interactions.
| Field | Type | Description |
|---|---|---|
| knowledge_bases | array | List of knowledge base objects with details and identifiers |
Sample Successful Response
json
{
"knowledge_bases": [
{
"id": "kb_001",
"name": "Customer Support Knowledge Base",
"description": "Contains FAQ and troubleshooting information",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-20T14:45:00Z",
"document_count": 150
}
]
}Notes
- Requires API authentication.
- Only knowledge bases associated with your account will be returned.
- Knowledge bases can be used to provide contextual information for AI avatar interactions.
- Refer to Error Responses for error information.
Example Usage
Shell
curl --request GET \
--url https://api.konpro.ai/v1/streaming/knowledge_base/list \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
400 - Bad Request