List Knowledge Bases

List knowledge bases owned by the caller. Cursor-paginated: omit cursor to fetch the first page. The default page size is 50 and the max is 200; values outside that range are clamped. Walk pages while has_more is true.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Query parameters

cursorstringOptional
Opaque pagination cursor from a previous response.
limitintegerOptional

Max knowledge bases per page (default 50, max 200).

Response

The knowledge bases for the caller.
next_cursorstring or null

Opaque keyset cursor for the next page. Pass back as the cursor request parameter. null when the caller has reached the end of the list (has_more is also false in that case).

has_moreboolean
True when more rows exist beyond this page.
knowledge_baseslist of objects

Errors

401
Unauthorized Error