Skip to main content
POST
Add knowledge by uploading content directly, bypassing URL crawling. Useful for internal documentation, transcripts, or content not available on the web.

Request Body

string
required
Title for the knowledge source
string
Text content to add (minimum 50 characters). Required if not uploading a file.
file
File to upload (PDF, TXT, or MD). Maximum 500KB. Required if not providing content.

Response

string
Unique knowledge source identifier
string
The provided title
string
Status: completed on success
integer
Number of text chunks created
string
Source type: manual, pdf, or text

Notes

  • Manual sources don’t auto-sync (no sync_period)
  • PDF text extraction works best with text-based PDFs (not scanned images)
  • Supported file types: .pdf, .txt, .md
  • Maximum file size: 500KB