Enneo

Files connector

Refresh the index for a file

POST /knowledgeSource/filesConnector/{id}/refreshIndex

POST /knowledgeSource/filesConnector/{id}/refreshIndex

Forces Cortex to re-embed the file's current text without re-parsing the original binary. Preserves manual Markdown edits. Bumps modifiedAt unconditionally and fires knowledgeSourceChanged action=update. Use this when the AI search seems stale or after an embedding-model change; use reindex to discard manual edits and re-parse the original.

Path parameters

idintegerpathrequired

Knowledge source ID

Responses

200 — Index refresh queued successfully

Response Example

{
  "success": true,
  "id": 1,
  "modifiedAt": "2026-01-01T12:00:00Z"
}

404 — File not found