/api/document-service/internal/v1/documentsGet a list of documents with file information and userId. At least one of userId or documentIds must be provided. Optionally filter by status. When documentIds is provided, returns only documents with those IDs. When both userId and documentIds are provided, returns documents that match both criteria. This endpoint bypasses user ownership restrictions and is available only to internal services.
userIdstringstatusstringawaitingUpload uploaded documentIdsarray[string]<uuid>documents array[object] required documentId string required documentType string required documentTypeLabel string required subType string status string required awaitingUpload uploadedmetadata dictionary<string, any> files array[object] required userId string required createdAt string <date-time>required updatedAt string <date-time>required code string required message string required details dictionary<string, any> code string required message string required details dictionary<string, any> code string required message string required details dictionary<string, any>