> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WorkspaceFile



**Kind**: `object`

## Fields

**`id`**: `ID!`

---

**`fileName`**: `String!`

---

**`fileSize`**: `FileSize!`

The size of the file expressed in bytes, kilobytes, and megabytes.

---

**`fileExtension`**: `String`

The file extension detected from the uploaded content (e.g. 'png', 'pdf'). Null until the file has been uploaded and its type determined.

---

**`fileMimeType`**: `String!`

The MIME type detected from the uploaded content (e.g. 'image/png'). Set to 'application/octet-stream' until the file has been uploaded.

---

**`visibility`**: `WorkspaceFileVisibility!`

Whether the file is stored in a publicly accessible bucket (PUBLIC) or a private bucket requiring a signed URL (PRIVATE).

---

**`downloadUrl`**: `WorkspaceFileDownloadUrl`

This URL will only be available after the file has been uploaded.

---

**`createdAt`**: `DateTime!`

---

**`createdBy`**: `InternalActor!`

---

**`updatedAt`**: `DateTime!`

---

**`updatedBy`**: `InternalActor!`



This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.