Get a knowledge base source
Get a single file or website source, including its processing status.
Poll this endpoint after adding, updating or syncing a source to track
its status. failedDocuments lists each document that failed and the
reason, and the latest sync run’s errorCode explains why a crawl
failed. Crawled pages that failed before processing began are counted
in documentCounts.failed but not listed in failedDocuments.
status is only returned by this endpoint, not by the list endpoint.
Response
Successful response
A knowledge base source, with a single status derived from the processing state of its documents.
pending: no documents yet and no sync has started. in_progress: a sync is running or documents are still being processed. completed: all documents are searchable. completed_with_errors: some documents are searchable, but others failed or the website's latest crawl failed. failed: all documents failed, or the sync failed and nothing is searchable.
pending, in_progress, completed, completed_with_errors, failed 
