Document Sets API
Document Sets enable organizing multiple related documents into logical groups for collaborative work and batch processing.Get Document Set
Retrieve a document set including all associated documents and users.Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
document_set_id | string | Yes | UUID of document set |
Request Example
Response
Status Codes
- 200 OK: Document set retrieved successfully
- 400 Bad Request: Authentication failed or document set not found
- 403 Forbidden: Not authorized to access this document set
Create Document Set
Create a new document set for organizing documents.Request Body
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
document_set_name | string | Yes | Name for the new document set |
Request Example
Python Example
Response (201 Created)
Response Fields
| Field | Type | Description |
|---|---|---|
document_set_id | string | Auto-generated UUID |
document_set_name | string | Set name |
organization_id | string | Organization UUID |
details | string | Optional details/description |
documents | array | Array of document IDs |
version | integer | Set version (initialized to 1) |
Status Codes
- 201 Created: Document set created successfully
- 400 Bad Request: Authentication failed or missing token
- 500 Internal Server Error: Database error
Features
- Creator Automatically Added: The user creating the set is automatically added to the users array
- Organization-Scoped: Set is automatically associated with authenticated user’s organization
- Version Tracking: Initial version is 1