Workspaces
Run Data Sync
Share the caller's own existing data with this workspace.
Any member may do this FOR THEMSELVES — that is the whole point, and it is why there is no admin role check: an admin pressing this on someone else's behalf is exactly what the opt-in exists to prevent. require_workspace_membership without a role therefore reads as intended, not as a missing gate.
Data created from here on is stamped at creation, so this is a one-time catch-up for what already existed. Idempotent — running it again moves nothing.
post/api/workspaces/{slug}/data-sync
Request
- Base URL: https://api.kolens.ai (the document declares no server; this is the origin it was published from)
- URL: https://api.kolens.ai/api/workspaces/{slug}/data-sync
- Auth: HTTP bearer
Path parameters
slugstring required
Query parameters
confirmboolean
Must be true — this publishes data
Headers
x-kolens-user-idstring nullable
Response
Successful Response
object required
Changes
No recorded changes to this operation across all 1 revision of this API.