Loading...
Loading...
Loading...
You can use the File Connector APIs to sync .txt, .md, .doc, .docx, .csv, .xls, .xlsx, .html, and .pdf files when using knowledge for Genesys AI-powered experiences.
The File Connector APIs support the following features:
These features simplify integration scenarios and improve synchronization efficiency for customers managing large content repositories.
A full synchronization process includes the following four phases:
Create a source once, then reuse its sourceId for all future synchronizations.
POST /api/v2/knowledge/sources
Initial setup (or when provisioning a new source).
Returns the created source details, including the sourceId.
Before uploading any files for a sync round, you must create a new synchronization.
POST /api/v2/knowledge/sources/{sourceId}/synchronizations
sourceId — ID returned from the “Create a knowledge source” step.
At the start of every sync round.
Returns synchronization details, including the synchronizationId.
For every file you intend to upload as part of the synchronization, request an upload URL from the uploads endpoint.
POST /api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}/uploads
sourceId — knowledge source IDsynchronizationId — ID returned from the “Start a sync round” stepOnce per file you plan to upload.
The API returns a URL to upload the file content (typically a pre-signed URL or similar mechanism, depending on implementation).
After all files have been uploaded successfully, mark the synchronization status as completed.
PATCH /api/v2/knowledge/sources/{sourceId}/synchronizations/{synchronizationId}
sourceId — knowledge source IDsynchronizationId — synchronization IDOnly after you have finished uploading all files for this synchronization round.
Sets the synchronization status to completed (and signals the system that uploads are done).
Get user feedback about articles.