---
title: entities.memo
description: Read memo records with the memo repository, and change them with the memo mutations. Same records as the REST Memos entity.
canonical: https://developers.coevera.com/reference/graphql/memo/
section: graphql
verification: schema
generatedFrom: schema f155746 (2026-10-20)
publisher: Coevera
---

# entities.memo

Read memo records with the memo repository, and change them with the memo mutations. Same records as the REST Memos entity.

REST: [Memos](https://developers.coevera.com/reference/rest/memos.md).

## Queries

- `getById(entityId: ID!): MemoEntity` Returns the record with the given id, or null when there is none. Deleted records are returned as well.
- `getByIds(entityIds: [ID!]!): [MemoEntity!]!` Returns the records with the given ids; ids without a record are left out. Deleted records are returned as well.
- `getAll(limit: Int, offset: Int, filter: MemoFilterInput, orderBy: [MemoOrderByInput!], includeDeleted: Boolean): [MemoEntity!]!` Returns the records that match the filter, paged with limit and offset.
- `getByCriteria(filter: MemoFilterInput, orderBy: [MemoOrderByInput!], includeDeleted: Boolean, before: String, after: String, first: Int, last: Int): MemoEntityConnection` Returns the records that match the filter as a cursor-paginated connection.
- `getChangedFieldsSinceRevision(id: UUID!, revision: Int!): [UUID!]!` Returns the ids of the fields of a record that changed after the given revision. Returns an empty list for entities without change tracking.

## Mutations

- `createMemo(input: CreateMemoInput!, validationLevel: [ValidationLevel!]): CreateMemoPayload` Create one record.
- `updateMemo(input: UpdateMemoInput!, validationLevel: [ValidationLevel!], sessionIdToUpdate: String): UpdateMemoPayload` Update fields.
- `bulkUpdateMemo(input: [CreateOrUpdateMemoInput!]!, deleteInput: [DeleteMemoInput!], validationLevel: [ValidationLevel!], rollbackMethod: RollbackMethod, match: MatchingInput): BulkUpdateMemoPayload` Create or update many; per-item results.
- `deleteMemo(input: DeleteMemoInput!): DeleteMemoPayload` Soft-delete.

## Types

### MemoEntity (object)

Internal message written by a user and linked to records, which other users can comment on.

- `isDeleteProtected: Boolean!` True when the record is protected against deletion because it must always exist in the space. Deleting a record that is not protected can still fail on other checks. Read-only.
- `id: ID!` Unique identifier of entity.
- `isDeleted: Boolean` Specifies if the entity is considered deleted.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `owner: ClientEntity` User who authored the memo.
- `ownerId: ID!` Id of the memo author.
- `subject: String!` Short summary line of the memo.
- `tableName: String!` Discriminator identifying the concrete record type — always "memo" for Memo records. Read-only; useful when consuming polymorphic Message results.
- `revision: Int` Revision when entity was lastly changed.
- `sharingUnits: MessageSharingSalesUnitRelationEntityConnection (8 args)` Sales units that have been granted shared access to this memo.
- `sharingClients: MessageSharingClientRelationEntityConnection (8 args)` Users that have been granted shared access to this memo.
- `accountRelations: MessageRelationEntityConnection (8 args)` Accounts this memo is linked to.
- `contactRelations: MessageRelationEntityConnection (8 args)` Contacts this memo is linked to.
- `projectRelations: MessageRelationEntityConnection (8 args)` Projects this memo is linked to.
- `leadRelations: MessageRelationEntityConnection (8 args)` Leads this memo is linked to.
- `quoteRelations: MessageRelationEntityConnection (8 args)` Quotes this memo is linked to.
- `opportunityRelations: MessageRelationEntityConnection (8 args)` Opportunities this memo is linked to.
- `customEntityRelations: MessageRelationEntityConnection (8 args)` Custom entity records this memo is linked to.
- `documents: CloudObjectRelationEntityConnection (8 args)` Documents linked to this memo.
- `comments: MemoCommentEntityConnection (7 args)` Comments authored on this memo.
- `instancePermissions: [EntityPermsEnum!]! (1 args)` Permissions the current user has on this record, out of the requested ones.

### MemoEntityConnection (object)

Paginated list of Memo records.

- `pageInfo: PageInfo!` Pagination data for this connection.
- `edges: [MemoEntityEdge]!` Contains the nodes in this connection.
- `totalCount: Int` Total number of items in the connection.

### MemoEntityEdge (object)

A Relay edge containing a `MemoEntity` and its cursor.

- `node: MemoEntity` The item at the end of the edge
- `cursor: String!` A cursor for use in pagination

### MemoFilterInput (input)

Filter conditions for Memo records. Conditions on different fields are combined with AND; use OR, AND and NOT for other combinations.

- `OR: [MemoFilterInput!]` Matches records that meet at least one of the listed filters.
- `AND: [MemoFilterInput!]` Matches records that meet all of the listed filters.
- `NOT: MemoFilterInput` Matches records that do not meet this filter.
- `globalSearchQuery: String` Search term matched against the fields that the global search covers for this entity.
- `id: EntityFilterStringField` Unique identifier of entity.
- `isDeleted: Boolean` Specifies if the entity is considered deleted.
- `modified: EntityFilterDateTimeField` Last modification time.
- `created: EntityFilterDateTimeField` Creation time.
- `ownerId: EntityFilterStringField` Id of the memo author.
- `subject: EntityFilterStringField` Short summary line of the memo.
- `tableName: EntityFilterStringField` Discriminator identifying the concrete record type — always "memo" for Memo records. Read-only; useful when consuming polymorphic Message results.
- `revision: EntityFilterNumberField` Revision when entity was lastly changed.
- `owner: ClientFilterInput` User who authored the memo. Matches records where a related record meets these conditions.
- `sharingUnits: MessageSharingSalesUnitRelationFilterInput` Sales units that have been granted shared access to this memo. Matches records where a related record meets these conditions.
- `sharingClients: MessageSharingClientRelationFilterInput` Users that have been granted shared access to this memo. Matches records where a related record meets these conditions.
- `accountRelations: MessageRelationFilterInput` Accounts this memo is linked to. Matches records where a related record meets these conditions.
- `contactRelations: MessageRelationFilterInput` Contacts this memo is linked to. Matches records where a related record meets these conditions.
- `projectRelations: MessageRelationFilterInput` Projects this memo is linked to. Matches records where a related record meets these conditions.
- `leadRelations: MessageRelationFilterInput` Leads this memo is linked to. Matches records where a related record meets these conditions.
- `quoteRelations: MessageRelationFilterInput` Quotes this memo is linked to. Matches records where a related record meets these conditions.
- `opportunityRelations: MessageRelationFilterInput` Opportunities this memo is linked to. Matches records where a related record meets these conditions.
- `customEntityRelations: MessageRelationFilterInput` Custom entity records this memo is linked to. Matches records where a related record meets these conditions.
- `documents: CloudObjectRelationFilterInput` Documents linked to this memo. Matches records where a related record meets these conditions.
- `comments: MemoCommentFilterInput` Comments authored on this memo. Matches records where a related record meets these conditions.

### MemoOrderByInput (input)

Sorting of Memo records. Set exactly one field in each item; list several items to sort by more fields, in order of priority.

- `id: OrderByEnum` Unique identifier of entity.
- `isDeleted: OrderByEnum` Specifies if the entity is considered deleted.
- `modified: OrderByEnum` Last modification time.
- `created: OrderByEnum` Creation time.
- `owner: [ClientOrderByNestedInput!]` User who authored the memo. Sorts by fields of the related record, listed in order of priority.
- `ownerId: OrderByEnum` Id of the memo author.
- `subject: OrderByEnum` Short summary line of the memo.
- `revision: OrderByEnum` Revision when entity was lastly changed.

### CreateMemoCommentNoMemoBackrefInput (input)

Field values of a new MemoComment record, created together with the record it belongs to.

- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `comment: String!` Free-form text body of the comment.
- `ownerId: ID!` Id of the comment author.
- `revision: Int` Revision when entity was lastly changed.

### CreateMemoInput (input)

Field values of a new Memo record.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `ownerId: ID!` Id of the memo author.
- `subject: String!` Short summary line of the memo.
- `revision: Int` Revision when entity was lastly changed.
- `sharingUnits: [CreateMessageSharingSalesUnitRelationNoMessageBackrefInput!]` Sales units that have been granted shared access to this memo.
- `sharingClients: [CreateMessageSharingClientRelationNoMessageBackrefInput!]` Users that have been granted shared access to this memo.
- `accountRelations: [CreateMessageRelationNoMessageBackrefInput!]` Accounts this memo is linked to.
- `contactRelations: [CreateMessageRelationNoMessageBackrefInput!]` Contacts this memo is linked to.
- `projectRelations: [CreateMessageRelationNoMessageBackrefInput!]` Projects this memo is linked to.
- `leadRelations: [CreateMessageRelationNoMessageBackrefInput!]` Leads this memo is linked to.
- `quoteRelations: [CreateMessageRelationNoMessageBackrefInput!]` Quotes this memo is linked to.
- `opportunityRelations: [CreateMessageRelationNoMessageBackrefInput!]` Opportunities this memo is linked to.
- `customEntityRelations: [CreateMessageRelationNoMessageBackrefInput!]` Custom entity records this memo is linked to.
- `documents: [CreateCloudObjectRelationNoBackrefInput!]` Documents linked to this memo.
- `comments: [CreateMemoCommentNoMemoBackrefInput!]` Comments authored on this memo.

### CreateOrUpdateMemoInput (input)

Field values of a Memo record to create, or to update when its id is set.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `id: ID` Unique identifier of entity.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `ownerId: ID` Id of the memo author.
- `subject: String` Short summary line of the memo.
- `revision: Int` Revision when entity was lastly changed.
- `sharingUnits: [CreateMessageSharingSalesUnitRelationNoMessageBackrefInput!]` Sales units that have been granted shared access to this memo.
- `sharingClients: [CreateMessageSharingClientRelationNoMessageBackrefInput!]` Users that have been granted shared access to this memo.
- `accountRelations: [CreateMessageRelationNoMessageBackrefInput!]` Accounts this memo is linked to.
- `contactRelations: [CreateMessageRelationNoMessageBackrefInput!]` Contacts this memo is linked to.
- `projectRelations: [CreateMessageRelationNoMessageBackrefInput!]` Projects this memo is linked to.
- `leadRelations: [CreateMessageRelationNoMessageBackrefInput!]` Leads this memo is linked to.
- `quoteRelations: [CreateMessageRelationNoMessageBackrefInput!]` Quotes this memo is linked to.
- `opportunityRelations: [CreateMessageRelationNoMessageBackrefInput!]` Opportunities this memo is linked to.
- `customEntityRelations: [CreateMessageRelationNoMessageBackrefInput!]` Custom entity records this memo is linked to.
- `documents: [CreateCloudObjectRelationNoBackrefInput!]` Documents linked to this memo.
- `comments: [CreateMemoCommentNoMemoBackrefInput!]` Comments authored on this memo.

### DeleteMemoInput (input)

Id of the Memo record to delete.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `id: ID!` Unique identifier of entity.

### UpdateMemoInput (input)

Id of a Memo record and the field values to change.

- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).
- `id: ID!` Unique identifier of entity.
- `modified: DateTime` Last modification time.
- `created: DateTime` Creation time.
- `ownerId: ID` Id of the memo author.
- `subject: String` Short summary line of the memo.
- `revision: Int` Revision when entity was lastly changed.
- `sharingUnits: [CreateMessageSharingSalesUnitRelationNoMessageBackrefInput!]` Sales units that have been granted shared access to this memo.
- `sharingClients: [CreateMessageSharingClientRelationNoMessageBackrefInput!]` Users that have been granted shared access to this memo.
- `accountRelations: [CreateMessageRelationNoMessageBackrefInput!]` Accounts this memo is linked to.
- `contactRelations: [CreateMessageRelationNoMessageBackrefInput!]` Contacts this memo is linked to.
- `projectRelations: [CreateMessageRelationNoMessageBackrefInput!]` Projects this memo is linked to.
- `leadRelations: [CreateMessageRelationNoMessageBackrefInput!]` Leads this memo is linked to.
- `quoteRelations: [CreateMessageRelationNoMessageBackrefInput!]` Quotes this memo is linked to.
- `opportunityRelations: [CreateMessageRelationNoMessageBackrefInput!]` Opportunities this memo is linked to.
- `customEntityRelations: [CreateMessageRelationNoMessageBackrefInput!]` Custom entity records this memo is linked to.
- `documents: [CreateCloudObjectRelationNoBackrefInput!]` Documents linked to this memo.
- `comments: [CreateMemoCommentNoMemoBackrefInput!]` Comments authored on this memo.

### BulkUpdateMemoPayload (object)

Result of the bulkUpdateMemo mutation.

- `result: BulkUpdateResults!` Ids of the created, updated and deleted records, and the items that failed.

### CreateMemoPayload (object)

Result of the createMemo mutation.

- `memo: MemoEntity` The created record.
- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).

### DeleteMemoPayload (object)

Result of the deleteMemo mutation.

- `memo: MemoEntity` The deleted record.
- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).

### UpdateMemoPayload (object)

Result of the updateMemo mutation.

- `memo: MemoEntity` The updated record.
- `clientMutationId: String` Optional client-supplied identifier passed on a mutation input and echoed back unchanged on its payload, so a client can correlate the response with its request (Relay convention).

Types several repositories share, such as `PageInfo` and the filter fields, are in the [types index](https://developers.coevera.com/reference/graphql/types.md). The [SDL](https://developers.coevera.com/graphql/schema.graphql) has the whole schema in one file.

## Example

```graphql
query FirstMemos {
  entities {
    memo {
      getByCriteria(first: 3, orderBy: [{ modified: Desc }]) {
        totalCount
        edges { node { id subject modified } }
      }
    }
  }
}
```

```bash
curl 'https://{region}.api.coevera.com/api/v100/app/space/{space_id}/graphql/public' \
  --user "$COEVERA_API_KEY:$COEVERA_API_SECRET" \
  --header 'Content-Type: application/json' \
  --data '{"query":"query FirstMemos { entities { memo { getByCriteria(first: 3, orderBy: [{ modified: Desc }]) { totalCount edges { node { id subject modified } } } } } }"}'
```
