Create Knowledge Base
Creates a new non-deterministic knowledge base. Rate limit: 10 requests per hour per workspace. File size limit: 2 MB per file, 5 MB total. Maximum 10 files and 20 URLs per request.
Documentation Index
Fetch the complete documentation index at: https://docs.ringg.ai/llms.txt
Use this file to discover all available pages before exploring further.
Create Knowledge Base
Create a new non-deterministic knowledge base that can be used to provide context and information to your AI agents. Knowledge bases support multiple content types including files, URLs, and FAQs.Content Types
Files
Upload documents (PDF, TXT, DOCX, etc.) to provide structured information to your knowledge base.- Max 10 files per request
- 2 MB per file limit
- 5 MB total size limit
URLs
Index web pages to automatically extract and store their content.- Max 20 URLs per request
- URLs are crawled and indexed automatically
- Content is refreshed periodically
FAQs
Provide question-answer pairs for deterministic responses to common queries.Processing Status
Knowledge base creation is asynchronous. The response includes:kb_id: Unique identifier for the knowledge baseprocessing_status: Current status (pending,processing,completed)files_queued: Number of files being processed
Important Notes
- Asynchronous Processing: Files and URLs are processed in the background
- Content Updates: Use the Edit Knowledge Base endpoint to update content
- Agent Integration: Link knowledge bases to agents via the assistant configuration
Headers
(Required) Your Ringg AI API key.
"7251cb4b-3373-43a4-844c-b27a1d45e0c9"
Body
(Required) Name of the knowledge base
"Product Documentation"
(Optional) Array of files to upload (max 10 files, 2 MB each, 5 MB total)
(Optional) JSON string array of URLs to index (max 20 URLs)
"[\"https://example.com/docs\", \"https://example.com/faq\"]"
(Optional) JSON string array of FAQ objects
"[{\"question\": \"What is your return policy?\", \"answer\": \"30-day money back guarantee\"}]"
