Knowledge Bases
Add a document
Add content to a knowledge base from a file upload or a URL.
POST
Add Document
Send either a
file or a source_url, not both. The response is 202 - ingestion runs in the
background. Poll Get a knowledge base until the document’s
status reads processed; a failed document carries an error_message.Authorizations
Body
multipart/form-data
Response
Accepted — the document is queued for processing. Poll the knowledge base until its status reads processed.
One piece of content in a knowledge base, as the public API promises it.
status is the ingestion state — adding a document returns 202 and processing happens in the
background, so a client polls the KB until this reads processed.
Add Document