Knowledge Bases
Knowledge Base Sources
List sources or add URL/file sources to a knowledge base
POST
Path Parameters
Knowledge base ID (UUID).
List Sources
Add a URL Source
Must be
url.URL to crawl and ingest.
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:- Create a file source to get
presignedUrl,sourceId, andjobId. - Upload the file bytes to
presignedUrlwithPUT. - Call Enqueue File Source.
Must be
file.Original file name.
MIME type. Supported:
application/pdf, DOCX, TXT, HTML, CSV, and Markdown MIME types.File size in bytes. Maximum 50 MB.
Optional client-computed hash used for duplicate detection.
Skip duplicate blocking for the submitted file hash.
