Skip to main content
GET
Returns all knowledge bases in your organization with pagination support. Use this endpoint to browse your available knowledge bases and their current status.

Headers

string
required
Your API key for authentication.

Query Parameters

number
default:"1"
Page number for pagination.
number
default:"20"
Number of items per page (maximum 100).

Response

object
Paginated list of knowledge bases.
array
Array of knowledge base objects.
string
Unique identifier for the knowledge base.
string
Name of the knowledge base.
string
Description of the knowledge base (if provided).
string
Current status: "PROCESSING", "COMPLETED", "FAILED", or "DELETED".
string
Type of knowledge base: "FILE", "WEB_SCRAPE", or "TEXT".
string
Source URLs for web scrape type (comma-separated).
string
Base URL for web scrape type.
string
ISO timestamp of creation.
string
ISO timestamp of last update.
string
Error message if status is "FAILED".
object
File information for file-type knowledge bases.
string
Original filename.
number
File size in bytes.
string
MIME type of the file.
number
Total number of knowledge bases in the organization.
null
Will be null on successful request.

Docs for agents: llms.txt