Skip to main content
Version: 2023-02-21

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 options2023-02-21
locationId 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:20
lastKnowledgeBaseId string

ID of the last knowledge base from the previous page (for pagination)

application/json

Paginated knowledge bases retrieved successfully

Schema
    successbooleanrequired

    Success status of the operation

    dataobjectrequired

    Paginated knowledge bases data