Get all knowledge bases for a location by location Id (paginated)
GET/knowledge-bases/
Lists knowledge bases for a sub-account (location), with optional name search and cursor pagination. WHEN TO USE: use this when you need to see which knowledge bases exist; use getKnowledgeBaseById for one; use createKnowledgeBase to add one. RETURNS: a page of knowledge bases, activeCount, hasMore, and lastKnowledgeBaseId for the next page.
Request
Version stringrequired
API Version
Available options
2021-04-15locationId stringrequired
The location ID to retrieve knowledge bases for
query string
search query for knowledge base name
limit number
Maximum number of knowledge bases to return
Default value:
20lastKnowledgeBaseId string
ID of the last knowledge base from the previous page (for pagination)
Paginated knowledge bases retrieved successfully
- application/json
- Schema
- Example (auto)
Schema
successbooleanrequired
Success status of the operation
dataobjectrequired
Paginated knowledge bases data
{
"success": true,
"data": {}
}