Content management operations. Handle file uploads, processing, metadata extraction, and content retrieval with advanced filtering capabilities.
Sync Workspace API (1.0.0)
Workspace-specific services for content management, project organization, and file processing.
The Workspace APIs allow access to the resources contained within Workspaces and Dataspaces. Although Workspaces and Dataspaces are distinct, Dataspaces have no compute of their own, so operations on Dataspace resources must always be performed through a chosen workspace. Workspaces are bundled, fully-managed computational services used to: - Upload, process, and manage content files - Search and retrieve content with advanced filtering - Query content using AI with library citations and web search integration - Run AI workflows on the content - Organize content into projects according to business workflows - Generate file derivatives (images, thumbnails) and extract metadata - Handle content indexing with automated categorization
When files are uploaded, they undergo asynchronous processing which may include: - Virus scanning and security validation - File format conversion and derivative generation (TIFF, JPEG thumbnails) - Automated metadata extraction using AI - Content categorization and indexing according to dataspace ontology Processing status can be tracked using the Workflow Execution API.
- Content: Individual files with metadata, organized by categories defined in the dataspace ontology - Projects: Business workflow containers that group disparate content items according to business rules (e.g., application packets, case files)
- Mock serverhttps://docs.syncdocs.ai/_mock/api/workspace-openapi/query-logs/{queryLogId}
- Production - Workspace Serviceshttps://your-workspace.syncdocs.ai/api/query-logs/{queryLogId}
- Development serverhttps://docs.syncdocs.ai/api/query-logs/{queryLogId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.syncdocs.ai/_mock/api/workspace-openapi/query-logs/01234567-89ab-cdef-0123-456789abcdef \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Query log retrieved successfully
Unique query log ID
Type of operation performed
Scope of the operation - content or dataspace level
Email of the user who performed the query
ID of the content operated on, null for LIST operations
Short dataspace ID with sds- prefix
Whether the operation was explicit or implicit
JSONB format information to reconstruct the API call
ID of the parent query log, used for LIST/Inferred logging type
{ "id": "01234567-89ab-cdef-0123-456789abcdef", "operationType": "CREATE", "userId": "scd-dev00001", "contentId": "98765432-1abc-def0-1234-56789abcdef0", "dataspaceId": "sds-dev00001", "operationSource": "explicit", "query": { "method": "POST", "path": "/api/content/sds-dev00001", "params": { … }, "query": {}, "body": { … }, "headers": { … }, "timestamp": "2025-06-10T20:28:42.113Z" }, "parentId": null, "queriedAt": "2025-06-10T20:28:42.113Z" }
Request
Retrieves a paginated list of query log records with optional filtering. Key Features: - Cursor-based pagination with pageSize and cursor - Multiple filter options to narrow down results - Operation tracking - see all API operations performed on content - Audit trail - complete history of who did what and when Common Use Cases: - Track content operations by a specific user - Monitor operations on a particular dataspace - Audit trail for compliance and debugging - Performance analysis of API usage Filter Examples: - Get all CREATE operations: ?operationType=CREATE - Get operations by user: ?userId=scd-dev00001 - Get operations in date range: ?dateFrom=2025-06-10T00:00:00Z&dateTo=2025-06-10T23:59:59Z - Get operations on specific content: ?contentId=98765432-1abc-def0-1234-56789abcdef0
- Mock serverhttps://docs.syncdocs.ai/_mock/api/workspace-openapi/query-logs
- Production - Workspace Serviceshttps://your-workspace.syncdocs.ai/api/query-logs
- Development serverhttps://docs.syncdocs.ai/api/query-logs
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.syncdocs.ai/_mock/api/workspace-openapi/query-logs?pageSize=25&cursor=03456789-abcd-ef01-2345-6789abcdef12&operationType=CREATE&userId=scd-dev00001&contentId=98765432-1abc-def0-1234-56789abcdef0&dataspaceId=sds-dev00001&operationSource=explicit&parentId=02345678-9abc-def0-1234-56789abcdef1&dateFrom=2025-06-10T00%3A00%3A00Z&dateTo=2025-06-10T23%3A59%3A59Z' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Query logs retrieved successfully
List of query log records
Unique query log ID
Type of operation performed
Scope of the operation - content or dataspace level
ID of the user who performed the query
Email of the user who performed the query
Name of the content that was operated on
ID of the content operated on, null for LIST operations
Short dataspace ID with sds- prefix
Whether the operation was explicit or implicit
JSONB format information to reconstruct the API call
ID of the parent query log, used for LIST/Inferred logging type
{ "queryLogs": [ { … }, { … } ], "nextCursor": "03456789-abcd-ef01-2345-6789abcdef12", "totalCount": 54 }