workspace
Copy Workspace Data
Copy documents from source workspace to target workspace.
Requires:
- User must have access to source workspace (RLS enforced)
- Target workspace must exist and user must have access
- Workspace-Key header with source workspace key (optional for public workspaces, required for private)
- Target-Workspace-Key header with target workspace key (required)
Copies:
- Document metadata (title, doc_date, shared status, etc.)
- MinIO encrypted files (downloaded to server memory, re-encrypted, uploaded)
- Qdrant vectors (with updated doc_ext_id and chunk_ext_id references)
post/api/workspace/{workspace_ext_id}/copy
Path parameters
workspace_ext_idstring required
Headers
workspace-keystring
target-workspace-keystring
Request body
Response
Successful Response