Sync a workspace to a SharePoint site so any document added there is automatically ingested and indexed in LightOn. Files stay in sync — additions, updates, and deletions in SharePoint flow through to the workspace on the next import. Synced workspaces are read-only: you cannot manually upload to or delete from them.Documentation Index
Fetch the complete documentation index at: https://developers.lighton.ai/llms.txt
Use this file to discover all available pages before exploring further.
From the console
The fastest path is the console UI:- Create a new workspace from Workspaces → New.
- Open the workspace, then choose Sync from SharePoint in its settings.
- Paste your Azure app credentials, pick the site and folder, and trigger the first import.
From the API
Convert any manual workspace into a SharePoint-synced workspace by issuing aPATCH /api/v3/company/workspaces/{id} with a datasource object. Conversion is one-way — you cannot revert a synced workspace back to manual.
client_id,client_secret,tenant_id— from your Azure app registration. The app needsSites.Read.All(or scopedSites.Selected) Microsoft Graph permissions.site_idorsite_name(optional) — pick the SharePoint site. If both are omitted, the root site is used.
folder_path(required) — path to the SharePoint folder to sync from, relative to the siterecursive(optional) — include subfolders
sync field returned by GET /api/v3/company/workspaces/{id}.
For the full request shape, see PATCH /api/v3/company/workspaces/{id} in the API reference.