Skip to main content

Overview

The Knowledge API lets you manage knowledge bases of documents that are automatically digitized and rewritten using LLM-powered processing. Upload files or URLs, organize them into knowledge bases and folders, and retrieve processed content.

Typical Flow

  1. Create a knowledge base for your partner account
  2. Upload documents (files or URLs) into the knowledge base
  3. Documents are automatically digitized (OCR/parsing)
  4. Optionally rewrite documents using LLM processing
  5. Retrieve processed content or download rewritten bundles
  6. Trigger embedding when the knowledge base is ready for search

Features

  • File and URL upload: Upload documents directly or provide URLs for automatic fetching
  • Batch URL import: Submit up to 1,000 URLs in a single request
  • Automatic digitization: Content is extracted from PDFs, Word documents, audio, video, and more
  • LLM rewriting: Documents are rewritten using configurable content-type templates (article, youtube, book)
  • Folder organization: Organize documents into folders within knowledge bases
  • Embedding: Generate vector embeddings for search and retrieval
  • Bulk operations: Rewrite all documents in a folder or knowledge base at once
Important Considerations
  • Supported file types: PDF, Word, PowerPoint, Excel, Markdown, HTML, EPUB, MP4, MOV, MP3, WAV, images, and more
  • File size limit: 100MB per upload
  • Async processing: Digitization and rewriting run in the background — poll document status
  • Rate limits: Requests are rate-limited per API key