---
url: https://api-doc.aive.com/api/types/objects/folder.md
---

A folder used to organize files, such as containers, within a workspace.

```graphql
type Folder implements File {
  id: ID!
  name: String!
  createdAt: Date!
  updatedAt: Date!
  folder: Folder
  workspace: Workspace!
  files(
    input: FolderFilesPaginationInput! = [object Object]
  ): FilesPagination!
}
```

### Fields

#### [Folder.id](#id) ● [ID!](/api/types/scalars/id) non-null scalar {#id}

The unique identifier of the folder.

#### [Folder.name](#name) ● [String!](/api/types/scalars/string) non-null scalar {#name}

The display name of the folder.

#### [Folder.createdAt](#created-at) ● [Date!](/api/types/scalars/date) non-null scalar {#created-at}

The date and time at which the folder was created.

#### [Folder.updatedAt](#updated-at) ● [Date!](/api/types/scalars/date) non-null scalar {#updated-at}

The date and time at which the folder was last updated.

#### [Folder.folder](#folder) ● [Folder](/api/types/objects/folder) object {#folder}

The parent folder, or null if this folder is at the root of the workspace.

#### [Folder.workspace](#workspace) ● [Workspace!](/api/types/objects/workspace) non-null object {#workspace}

The workspace the folder belongs to.

#### [Folder.files](#files) ● [FilesPagination!](/api/types/objects/files-pagination) non-null object {#files}

##### [Folder.files.input](#folder-files-input) ● [FolderFilesPaginationInput!](/api/types/inputs/folder-files-pagination-input) non-null input {#folder-files-input}

### Interfaces

#### [File](/api/types/interfaces/file) interface

File is a common interface implemented by every resource that lives in a
workspace's folder hierarchy, such as a Folder or a Container.

### Returned By

[`folder`](/api/operations/queries/folder)  query

### Member Of

[`Container`](/api/types/objects/container)  object ● [`File`](/api/types/interfaces/file)  interface ● [`Folder`](/api/types/objects/folder)  object ● [`FontFamily`](/api/types/objects/font-family)  object ● [`Image`](/api/types/objects/image)  object ● [`Montage`](/api/types/objects/montage)  object
