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

A workspace groups files and members, and is used to configure API access such
as OAuth2 clients, webhooks, and scoring templates.

```graphql
type Workspace implements Entity {
  id: ID!
  name: String!
  hasAvatar: Boolean!
  suggestionTemplates: [SuggestionTemplate!]!
  files(
    input: WorkspaceFilesPaginationInput!
  ): FilesPagination!
}
```

### Fields

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

The unique identifier of the workspace.

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

The display name of the workspace.

#### [Workspace.hasAvatar](#has-avatar) ● [Boolean!](/api/types/scalars/boolean) non-null scalar {#has-avatar}

Whether the workspace has a custom avatar.

#### [Workspace.suggestionTemplates](#suggestion-templates) ● [\[SuggestionTemplate!\]!](/api/types/objects/suggestion-template) non-null object {#suggestion-templates}

The scoring templates available in this workspace, used to score analyzed containers.

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

##### [Workspace.files.input](#workspace-files-input) ● [WorkspaceFilesPaginationInput!](/api/types/inputs/workspace-files-pagination-input) non-null input {#workspace-files-input}

### Interfaces

#### [Entity](/api/types/interfaces/entity) interface

Entity represents an entity that may not be available to the current
caller. Multiple reasons may restrict this access, such as if the user has left
a company, or if the user used his GDPR right to delete his account.

Entity should be returned by the schema when accessing such a user cannot
be predicted by the caller. Any attempt to access a user should return a User
or throw an exception.

### Returned By

[`workspace`](/api/operations/queries/workspace)  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
