Files connector
Reset file to original (re-parse)
POST /knowledgeSource/filesConnector/{id}/resetToOriginal
POST /knowledgeSource/filesConnector/{id}/resetToOriginal
Re-downloads the original binary from storage, re-converts it to Markdown, and updates the knowledge_sources row. Destructive — discards any manual Markdown edits and clears hasManualMarkdownEdits. If the embedding hash is unchanged, skips firing the knowledgeSourceChanged event (saves a needless Weaviate upsert) but still bumps modifiedAt. Use refreshIndex to re-embed the current text non-destructively.
Path parameters
idintegerpathrequiredKnowledge source ID
Responses
200 — File re-indexed successfully
Response Example
{
"success": true
}404 — File not found
500 — Could not download original file