Skip to main content
GET
Get All Knowledge Bases

Get All Knowledge Bases

Retrieve a list of all knowledge bases in your workspace with basic information about each one.
Rate Limit: Maximum 60 requests per hour per workspace

Response Format

Returns an array of knowledge base objects, each containing:
  • kb_id: Unique identifier
  • kb_name: Name of the knowledge base
  • type: Knowledge base type (e.g., “non_deterministic”)
  • created_at: Creation timestamp

Use Cases

Dashboard View

Display all knowledge bases in your application or dashboard:
Populate a dropdown for users to select a knowledge base when configuring agents.

Audit and Management

  • Review all knowledge bases in your workspace
  • Identify unused or outdated knowledge bases
  • Track knowledge base creation dates

Getting Detailed Information

This endpoint returns only basic information. For detailed content including files, URLs, and FAQs, use Get Knowledge Base by ID with a specific kb_id.
Pagination: Currently, this endpoint returns all knowledge bases. For workspaces with many knowledge bases, consider caching this data to reduce API calls.

Example Response

Headers

X-API-KEY
string
required

(Required) Your Revenueable AI API key.

Example:

"7251cb4b-3373-43a4-844c-b27a1d45e0c9"

Response

List of all knowledge bases retrieved successfully.

kb_id
string
Example:

"550e8400-e29b-41d4-a716-446655440000"

kb_name
string
Example:

"Product Documentation"

type
string
Example:

"non_deterministic"

created_at
string<date-time>
Example:

"2024-12-16T13:03:29.947147+00:00"