List Folders
List folders inside a knowledge base. Root-level folders have
parent_folder_id: null. Cursor-paginated: omit cursor to
fetch the first page. Default page size is 50 and max is 200.
The console builds the folder tree from parent_folder_id, so
consumers should walk every page until has_more is false
before rendering the tree.
Authentication
AuthorizationBearer
Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.
Path parameters
id
Query parameters
cursor
Opaque pagination cursor from a previous response.
limit
Max folders per page (default 50, max 200).
Response
Folders in the knowledge base.
next_cursor
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_more
True when more rows exist beyond this page.
folders
Errors
401
Unauthorized Error
404
Not Found Error