Skip to main content
POST

Path Parameters

string
required
Knowledge base ID (UUID).

List Sources

Add a URL Source

string
required
Must be url.
string
required
URL to crawl and ingest.
boolean
If the URL already exists, re-ingest the existing source instead of returning a duplicate error.

Add a File Source

File ingestion uses a two-step upload, then an enqueue call:
  1. Create a file source to get presignedUrl, sourceId, and jobId.
  2. Upload the file bytes to presignedUrl with PUT.
  3. Call Enqueue File Source.
string
required
Must be file.
string
required
Original file name.
string
required
MIME type. Supported: application/pdf, DOCX, TXT, HTML, CSV, and Markdown MIME types.
number
required
File size in bytes. Maximum 50 MB.
string
Optional client-computed hash used for duplicate detection.
boolean
Skip duplicate blocking for the submitted file hash.