Get All Knowledge Bases
curl --request GET \
--url https://prod-api.ringg.ai/ca/api/v0/external/kb/all \
--header 'X-API-KEY: <api-key>'import requests
url = "https://prod-api.ringg.ai/ca/api/v0/external/kb/all"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://prod-api.ringg.ai/ca/api/v0/external/kb/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"kb_id": "550e8400-e29b-41d4-a716-446655440000",
"kb_name": "Product Documentation",
"type": "non_deterministic",
"created_at": "2024-12-16T13:03:29.947147+00:00"
}
]{
"message": "Invalid credentials"
}Get All Knowledge Bases
List every knowledge base in your workspace with its kb_id, name, type and creation date, for example to fill a picker when attaching one to an agent.
GET
/
external
/
kb
/
all
Get All Knowledge Bases
curl --request GET \
--url https://prod-api.ringg.ai/ca/api/v0/external/kb/all \
--header 'X-API-KEY: <api-key>'import requests
url = "https://prod-api.ringg.ai/ca/api/v0/external/kb/all"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://prod-api.ringg.ai/ca/api/v0/external/kb/all', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"kb_id": "550e8400-e29b-41d4-a716-446655440000",
"kb_name": "Product Documentation",
"type": "non_deterministic",
"created_at": "2024-12-16T13:03:29.947147+00:00"
}
]{
"message": "Invalid credentials"
}The endpoint does not page; it returns every knowledge base in one response. Cache the list if you show it often.
For files, URLs, FAQs and processing status, call Get knowledge base.
Was this page helpful?