Skip to main content
GET
List knowledge bases

Authorizations

X-API-KEY
string
header
required

Query Parameters

limit
integer
default:50

Max rows to return. Defaults to 50 and is capped at 100.

Required range: 0 <= x <= 100
offset
integer
default:0

Number of rows to skip. Defaults to 0.

Required range: x >= 0
include_counts
boolean
default:false

When truthy (1, true, or yes), each item's document_count is filled from the vector store (one round trip per KB); otherwise document_count is null. Off by default because the count is expensive.

Response

Page of knowledge base collections. total is the full count for the workspace; document_count is null unless include_counts was truthy.