---
url: https://api-doc.aive.com/api/types/interfaces/entity.md
---

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.

```graphql
interface Entity {
  id: ID!
  name: String!
  hasAvatar: Boolean!
}
```

### Fields

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

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

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

### Member Of

[`Montage`](/api/types/objects/montage)  object ● [`Rendition`](/api/types/objects/rendition)  object

### Implemented By

[`User`](/api/types/objects/user)  object ● [`Workspace`](/api/types/objects/workspace)  object
