# UploadDocumentsDTO

Type: object

Schema: [UploadDocumentsDTO](https://sourcey-gauzy.pages.dev/api-reference/models/uploaddocumentsdto/index.md)

- `tenant` (optional)
  Type: object

- `tenantId` (optional)
  Type: string

- `organization` (required)
  Type: object

- `organizationId` (required)
  Type: string

- `sentTo` (optional)
  Type: string

- `parentId` (optional)
  Type: string

- `visibility` (optional)
  Type: string
  
  enum: ["ORGANIZATION","PRIVATE"]

- `categoryIds` (optional)
  Type: array
  
  Items:
    Type: string

- `tagIds` (optional)
  Type: array
  
  Items:
    Type: string

- `importToKnowledge` (optional)
  Type: boolean

- `classifyWithAi` (optional)
  Type: boolean

- `source` (optional)
  Type: string
  
  enum: ["UPLOAD","EDITOR","CHAT","EMAIL","INTEGRATION","SYSTEM","IMPORT"]