Bulk Move Documents
POST /api/writing/documents/bulk-move
POST
/api/writing/documents/bulk-move
π¦ Bulk move documents.
Moves multiple documents to a folder.
Args: document_ids: List of document IDs to move service: Injected DocumentCategoriesService instance folder_id: Target folder ID (None for root)
Returns: WritingBulkMoveResponse: Bulk move result with count
Raises: HTTPException 400: If target folder not found HTTPException 500: If bulk move fails
Parameters
Section titled β Parameters βQuery Parameters
Section titled βQuery Parameters βRequest Body required
Section titled βRequest Body required β Document Ids
Array<string>
Responses
Section titled β Responses βSuccessful Response
WritingBulkMoveResponse
Response model for bulk document move operations in Writing Studio.
Confirms successful bulk move with count of documents moved. Used for multi-document folder organization operations.
Fields:
success: Whether the bulk move operation succeededmoved_count: Number of documents successfully movedfolder_id: Target folder ID (null for root)timestamp: ISO 8601 timestamp of the operation
Usage: POST /api/creative/categories/documents/bulk-move returns this model.
JSON Example:
{
"success": true,
"movedCount": 5,
"folderId": "folder_xyz",
"timestamp": "2025-12-04T10:30:00Z"
}Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context